Results 1 to 5 of 5

Thread: help with opening backpacks

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

    help with opening backpacks

    when im depositing or just reconnected and my character is trying to open backpacks, sometimes it will open them correctly, but then close them , and he will stand doing this for hours opening and closing backpacks , sometimes he will do it for like 2 minutes then finally open them all right and go on with the script. sometimes it works better in some scripts than in other scripts. im using this action to open backpacks



    local minBpWindows = 4

    if (windowcount() < (minBpWindows))
    then
    pausewalking(8000)
    setlooting("no")
    wait(300,400)
    settargeting("no")
    wait(300,400)
    setcavebot("no")
    wait(300,400)
    closewindows()
    openitem(mainBp, "back")
    wait(1000, 1500)
    resizewindows()
    openitem(lootBp, mainBp, true)
    wait(1000, 1500)
    resizewindows()
    openitem(supBp, mainBp, true)
    wait(1000, 1500)
    resizewindows()
    openitem(goldBp, mainBp, true)
    wait(1000, 1500)
    resizewindows()
    wait(1000)
    setlooting("yes")
    wait(300,400)
    settargeting("yes")
    wait(300,400)
    setcavebot("yes")
    wait(300,400)



    end


    like i said, sometimes they all open fine, most of the time not though

    please help

  2. #2
    iBot User
    Join Date
    May 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    you can just make a action after and make it say if windowcount < 4 then gotolabel backpacks else gotolabel keep going
    something along those lines and its should fix your problem

  3. #3
    Normal User
    Join Date
    Apr 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    will this open my backpacks after i relog from a disconnect? i disconnect ALOT so its necessary, and im new to the bot so i really dont know what to do without in depth details

  4. #4
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    local minBpWindows = 3

    if (windowcount() < (minBpWindows))
    then
    closewindows()
    openitem(mainBp, "back")
    wait(1500, 2000)
    resizewindows()
    openitem(lootBp, mainBp, true)
    wait(1500, 2000)
    resizewindows()
    openitem(goldBp, mainBp, true)
    wait(1500, 2000)
    resizewindows()
    wait(2000,3000)
    resizewindows()
    wait(1000)

    end
    has to match what you have in your setup as well as be carefull with reconnect

    setsettings("Settings\\Actions\\List\\OpenBps\\Enabled", 'no')
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", 'no')
    setsettings("Settings\\CaveBot\\Settings\\EatFood", 'no')
    something like this i use before depositing so that it opens the backpack correctly with going to the end
    closewindows()
    wait(500,2000)
    openitem(mainBp, "back")
    resizewindows()
    wait(700, 1500)
    openitem(lootBp, mainBp, true)
    wait(500, 1000)
    resizewindows()
    if windowcount() < 2 then
    wait(2000,3000)
    gotolabel("dpbps")
    end
    that well open main and loot which youll have multiple of

    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(1000,2000)
    openitem(3502, "locker")
    wait(1000,2000)
    openitem(mainDpBp, "depot chest")wait(500,2000)
    depotdeposit(stackDpBp, "spider silk", "wyvern talisman", "frosty heart", "black pearl", "time ring", "small sapphire", "sniper arrow", "shard", "knight legs", "knight armor", "glacier mask", "sapphire hammer", "platinum amulet", "mammoth tusk", "thick fur", "furry club", "tusk shield", "small diamond", "strong health potion", "wand of inferno", "wyvern fang", "emrald bangle", "power bolt", "northern pike", "ice cube", "7441", "7444", "7445", "ice rapier")
    wait(200,300)
    openitem(LootBp, LootBp)
    wait(700,900)
    depotdeposit(stackDpBp, "spider silk", "wyvern talisman", "frosty heart", "black pearl", "time ring", "small sapphire", "sniper arrow", "shard", "knight legs", "knight armor", "glacier mask", "sapphire hammer", "platinum amulet", "mammoth tusk", "thick fur", "furry club", "tusk shield", "small diamond", "strong health potion", "wand of inferno", "wyvern fang", "emrald bangle", "power bolt", "northern pike", "ice cube", "7441", "7444", "7445", "ice rapier")
    wait(200,300)
    openitem(LootBp, LootBp)
    wait(700,900)
    depotdeposit(stackDpBp, "spider silk", "wyvern talisman", "frosty heart", "black pearl", "time ring", "small sapphire", "sniper arrow", "shard", "knight legs", "knight armor", "glacier mask", "sapphire hammer", "platinum amulet", "mammoth tusk", "thick fur", "furry club", "tusk shield", "small diamond", "strong health potion", "wand of inferno", "wyvern fang", "emrald bangle", "power bolt", "northern pike", "ice cube", "7441", "7444", "7445", "ice rapier")
    wait(200,300)
    this well do for multiple bps deposit
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

  5. #5
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    if windowcount() < 3 then
    pausewalking(20000)



    if windowcount(MainBP) < 1 and maround(2) == 0 and not lootbodies
    then
    wait(500)
    openitem(MainBP, "back")
    wait(1000)
    resizewindows()
    wait(1000)
    end

    if windowcount(LootBP) < 1 and maround(2) == 0 and not lootbodies
    then
    wait(500)
    openitem(LootBP, MainBP, true)
    wait(1000)
    resizewindows()
    end

    if windowcount(GoldBP) < 1 and maround(2) == 0 and not lootbodies
    then
    wait(500)
    openitem(GoldBP, MainBP, true)
    wait(1000)
    resizewindows()
    end

    wait(500)
    pausewalking(0)
    end
    this is the old way
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

Posting Permissions

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