Results 1 to 4 of 4

Thread: Check Bp Onpend

  1. #1
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3

    Check Bp Onpend

    I need one action who check periodicaly if my backpack's (suplly, main, gold, loot) is opened.
    I tried so many actions but no one is good.

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Add it as a action, set it to disable when going to refill and enabling after it.

    Lua Code:
     
    --Main Backpack Name:
    local mainBackpackName = ("Backpack Of Holding")
     
    --Loot Backpack Name:
    local lootBackpackName = ("Blue Backpack")
     
    --Supplies Backpack Name:
    local supBackpackName = ("Green Backpack")
     
    --Gold Backpack Name:
    local goldBackpackName = ("Golden Backpack")
     
     
    --Reopen Backpacks Engine:
    if (windowcount() < 4)
    then
        pausewalking(20000)
        wait(100, 200)
        closewindows()
        wait(1000, 1500)
        if (windowcount(mainBackpackName) == 0)
        then
            openitem(mainBackpackName, "back")
            wait(1000)
            resizewindows()
        end
        wait(1000, 1500)
        if ((windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
        then
            openitem(supBackpackName, mainBackpackName, true)
            wait(1000)
            resizewindows()
        end
        wait(1000, 1500)
        if ((windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
        then
            openitem(lootBackpackName, mainBackpackName, true)
            wait(1000)
            resizewindows()
        end
        wait(1000, 1500)
        if ((windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
        then
            openitem(goldBackpackName, mainBackpackName, true)
            wait(1000)
            resizewindows()
        end
        wait(1000, 1500)
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    Which way i can put to disable and enable when i go to refil and back to hunt?
    (i think it's an label action at cavebot, right? but what is the code?)

  4. #4
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    I solved the problem.

    Hunt label code:
    setsettings("Settings\\Actions\\List\\BpOpen\\Enab led", "yes")
    Leave Hunt label code:
    setsettings("Settings\\Actions\\List\\BpOpen\\Enab led", "no")

Posting Permissions

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