Log in

View Full Version : Knight Problem with reset backpacks



bagni
04-10-2014, 03:36 AM
hello

i used this :

elseif (labelName == "ResetBP") then
Walker.Stop()
print([[Resetting BP..]])
wait(1000,2000)
Self.CloseContainers()
wait(2000,3000)
Self.OpenMainBackpack(true):OpenChildren({Item.Get ID(LootBP), true},{Item.GetID(StackBP), true}, {Item.GetID(GoldBP), true})
wait(2000,3000)
Walker.Start()

but not always resets all backpacks or sometimes they do not minimize.

need something like if (not minimized go to the label "ResetBP"
and something like if (not open backpack go to label "ResetBP"

so that every time they were open all backpacks and all were minimized

HELP!

only4tibia
04-10-2014, 07:15 PM
For your loot backpack, there is a space between Get and ID. This may be a problem. Why use Item.GetId anyhow?

Self.OpenMainBackpack(true):OpenChildren({LootBP, true}, {StackBP, true}, {GoldBP, true})

Should work just fine.

Regards,
O4T