Results 1 to 7 of 7

Thread: Whats wrong with this action??

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Whats wrong with this action??

    if windowcount() < 4 then
    pausewalking(20000)
    wait(500)
    openitem(MainBP, "back")
    wait(1000)
    openitem('camouflage backpack', 'brown backpack', true)
    wait(1000)
    openitem('golden backpack', 'brown backpack', true)
    wait(1000)
    openitem('yellow backpack', 'brown backpack', true)
    wait(1000)
    resizewindows()
    wait(500)
    pausewalking(0)
    end


    my bot keeps opening the brown backpack, then waits some time and close the backpack again and this all the time. it doesnt open the other 3 bps? whats wrong? ;o

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    'backpack'

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by BUgWT View Post
    'backpack'
    what ya mean? should it be openitem(camouflage backpack, brown backpack, true) or how?

  4. #4
    Normal User
    Join Date
    Jul 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I think a brown backpack is just called a backpack.

  5. #5
    Normal User Lastu's Avatar
    Join Date
    May 2012
    Posts
    159
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    U think good. There is no brown backpack in tibia.

  6. #6
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by basti1337 View Post
    if windowcount() < 4 then
    pausewalking(20000)
    wait(500)
    openitem(MainBP, "back")
    wait(1000)
    openitem('camouflage backpack', 'brown backpack', true)
    wait(1000)
    openitem('golden backpack', 'brown backpack', true)
    wait(1000)
    openitem('yellow backpack', 'brown backpack', true)
    wait(1000)
    resizewindows()
    wait(500)
    pausewalking(0)
    end


    my bot keeps opening the brown backpack, then waits some time and close the backpack again and this all the time. it doesnt open the other 3 bps? whats wrong? ;o
    PHP Code:

    if windowcount() < 4 then
    pausewalking
    (20000)
    while 
    windowcount() > do closewindows() end
    wait
    (500)
    openitem(MainBP"back")
    wait(1000)
    openitem('camouflage backpack''brown backpack'true)
    wait(1000)
    openitem('golden backpack''brown backpack'true)
    wait(1000)
    openitem('yellow backpack''brown backpack'true)
    wait(1000)
    resizewindows()
    wait(500)
    pausewalking(0)
    end 
    It will try to open the bag regardless of whether it is open already. You need to close the backpacks you have open before trying to open them all again.

  7. #7
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    PHP Code:
    if windowcount() < 4 then
    pausewalking
    (20000)
    while 
    windowcount() > do closewindows() end
    wait
    (500)
    openitem(MainBP"back")
    wait(1000)
    openitem('camouflage backpack'MainBPtrue)
    wait(1000)
    openitem('golden backpack'MainBPtrue)
    wait(1000)
    openitem('yellow backpack'MainBPtrue)
    wait(1000)
    resizewindows()
    wait(500)
    pausewalking(0)
    end 
    In the setup:

    MainBP = 'NAME OF BP"
    Last edited by Eli; 07-04-2012 at 12:06 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •