Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Dec 2015
    Posts
    48
    Reputation
    10
    Rep Power
    0

    Post [Human] Backpacks Always Open

    Backpacks Always Open
    Description

    Always Open backpacks while hunting without close even when deposit, Be More Human.

    Configuration

    1- Add below lua script with name AlwaysOpenBp to [ Scripter / Persistent ] also follow instructions on it :
    a. choose true / false for which bp u want use.
    b. Change backpacks to destination name from looting section.

    -- Set ture / fasle for which backpack you want
    local OpenMainbp = true
    local OpenLootbp = true
    local OpenGoldbp = true
    local OpenSupbp = false
    local OpenExtbp = false
    --------------------------------
    local mainbp = getlootingdestination('main') -- Change main to destination name from looting section
    local lootbp = getlootingdestination('rare') -- Change rare to destination name from looting section
    local goldbp = getlootingdestination('gold') -- Change gold to destination name from looting section
    local supbp = getlootingdestination('supply') -- Change supply to destination name from looting section
    local extrabp = getlootingdestination('extra') -- Change extra to destination name from looting section

    -- dont edit anything below
    auto(100)
    if $connected then
    if windowcount(mainbp) < 1 and OpenMainbp == true then
    setcavebot('off')
    setlooting('off')
    openitem(mainbp, "back", true)
    wait(500,900)
    resizewindows(100,mainbp,true)
    setcavebot('on')
    setlooting('on')
    end
    if windowcount(lootbp) < 1 and OpenLootbp == true then
    setcavebot('off')
    setlooting('off')
    openitem(lootbp, main, true)
    wait(500,900)
    resizewindows()
    setcavebot('on')
    setlooting('on')
    end
    if windowcount(goldbp) < 1 and OpenGoldbp == true then
    setcavebot('off')
    setlooting('off')
    openitem(goldbp, main, true)
    wait(500,900)
    resizewindows()
    setcavebot('on')
    setlooting('on')
    end
    if windowcount(supbp) < 1 and OpenSupbp == true then
    setcavebot('off')
    setlooting('off')
    openitem(supbp, main, true)
    wait(500,900)
    resizewindows()
    setcavebot('on')
    setlooting('on')
    end
    if windowcount(extrabp) < 1 and OpenExtbp == true then
    setcavebot('off')
    setlooting('off')
    openitem(extrabp, main, true)
    wait(500,900)
    resizewindows()
    setcavebot('on')
    setlooting('on')
    end
    end


    2- Add below action before deposit whatever which first ( depot or bank ) :
    a. you must add this action before deposit to avoid restart backpack.
    setsetting('Persistent/Scripts/AlwaysOpenBp/Enabled', 'no')


    3- Add below action after finish all kind of deposit :
    setsetting('Persistent/Scripts/AlwaysOpenBp/Enabled', 'yes')


    maybe one of who have insane experience here can edit it will better than this.

    @
    andado
    Last edited by ahmedwaked; 12-30-2016 at 08:12 PM.

  2. #2
    Free User
    Join Date
    Dec 2016
    Posts
    15
    Reputation
    10
    Rep Power
    0
    Any1 tested this? looks like a pretty smart idea if you ask me, my only issue would be with any1 that takes gold, how would it know to reset gold bp? like if you looted 8k gold and are into gold bp 5 of 7, how will it know to go back to gold bp1? @ahmedwaked
    Maybe i will try on a noob ek see how it works, i really like the idea!

  3. #3
    Free User
    Join Date
    Dec 2015
    Posts
    48
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by tibiaguy View Post
    Any1 tested this? looks like a pretty smart idea if you ask me, my only issue would be with any1 that takes gold, how would it know to reset gold bp? like if you looted 8k gold and are into gold bp 5 of 7, how will it know to go back to gold bp1? @ahmedwaked
    Maybe i will try on a noob ek see how it works, i really like the idea!
    You can use this command before enable persistent, but be sure that the name of loot destination is the same name you will put in this action.
    restartbackpack('gold')

 

 

Posting Permissions

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