Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: [iBot 1.0.6] openitem isn't working

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

    [iBot 1.0.6] openitem isn't working

    I put the following in an action inside CaveBot->Waypoints:
    Code:
    openitem('green backpack', 'back')
    And it doesn't do anything when I enable CaveBot, although I have a closed green bp in my bp slot.

    Can't run any bot because of that.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I recomend you to start using the Setup section in the Actions menu. It will simplify you a lot of headache, and once you learn how to do it, its great way to organize your future scripts too.

    Code:
    mainBP = "pirate backpack"
    lootBP = "brown backpack"
    goldBP = "brocade backpack"
    and then to open the bps for example could be like this:

    Code:
    closewindows()
    wait(500,1000)
    openitem(mainBP, "back")
    wait(500,1000)
    resizewindows()
    wait(500,1000)
    openitem(lootBP, mainBP, true)
    wait(500,1000)
    resizewindows()
    wait(500,1000)
    openitem(goldBP, mainBP, true)
    wait(500,1000)
    resizewindows()
    That will open you main back pack, resize it, open the next bp listed as the lootbp keeping the main bp opened, resize, and so on

  3. #3
    Normal User
    Join Date
    Jul 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Even a single call to openitem is not working, like I explained. How settings can solve that problem?
    Edit > I noticed that openitem('green backpack', 'back') just right clicks wherever my mouse is in the Tibia client. Not only it doesn't right click the green bp, it also doesn't click open or anything after the menu is shown. Is that a bug?
    Last edited by zippoxer; 07-18-2012 at 07:02 AM.

  4. #4

    Join Date
    Apr 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    for you case,

    openitem("Green Backpack", "depot chest") wait(1500)

    for you have other backpack please, Change name on Green color.
    Te ajudei? Não custa me dar um REP+

  5. #5
    Normal User
    Join Date
    Jul 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    The green bp is not in the depot.

    I seriously need help from people who understand how iBot works, not only how to make it work. If I say openitem('green backpack', 'back') is not working when I have a green bp in bp slot, then how any of your suggestions guys are even close to solve my problem?
    Last edited by zippoxer; 07-18-2012 at 07:55 AM.

  6. #6

    Join Date
    Apr 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    and where she is? tell exactly where it is
    Te ajudei? Não custa me dar um REP+

  7. #7

    Join Date
    Apr 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    you need one action for open backpack on cavebot is?
    Te ajudei? Não custa me dar um REP+

  8. #8
    Normal User
    Join Date
    Jul 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Yes. That's what I did, and still: "openitem('green backpack', 'back') is not working when I have a green bp in bp slot."

  9. #9

    Join Date
    Apr 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Code:
    local MainBp = "Green Backpack"
    
    
    while windowcount() < 1 do
    
    setlooting("no")
    wait(300,400)
    settargeting("no")
    wait(300,400)
    setcavebot("no")
    wait(300,400)
    pausewalking(7000) 
    
    wait(400, 700)
    closewindows()
    wait(400, 700)
    openitem(MainBp, 'back')
    wait(400, 700)
    resizewindows() 
    wait(400, 700)
    resizewindows() 
    wait(400, 700)
    
    setlooting("yes")
    wait(300,400)
    settargeting("yes")
    wait(300,400)
    setcavebot("yes")
    end
    Te ajudei? Não custa me dar um REP+

  10. #10
    Normal User
    Join Date
    Jul 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    This does exactly the same as openitem('green backpack', 'back') does: right clicks on the green bp and doesn't click open in the menu, so the green bp is never opened.

Posting Permissions

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