PDA

View Full Version : Open backpacks if they close?



Vulcanus
03-17-2016, 01:28 AM
Is there any way to open a backpack if they close?
I am noticing that sometimes my Tibia just closes backpacks.
And the scripts I'm using don't auto reopen them if that happens.
Any way to solve this?

rodrigopt
03-30-2016, 01:13 PM
As soon as you wanted? just change the names of backpacks. :)


local MainBPname = "Blue backpack"
local GoldBP = "Golden Backpack"

function openBP()
local backpack1 = Container.GetByName(MainBPname)
if (backpack1:isOpen() == false) then
delayWalker(1000)
setWalkerEnabled(false)
setTargetingEnabled(false)
wait(500)
Self.OpenMainBackpack(true):OpenChildren({GoldBP, true})
setTargetingEnabled(true)
setWalkerEnabled(true)
wait(2000)
end
end

while(true) do
openBP()
wait(500,1000)
end

jogosmerc
12-07-2016, 11:01 PM
thks a lot