PDA

View Full Version : Minimize backpacks



Alixiour
12-18-2015, 10:35 AM
I'm trying to have my backpacks opened then minimized from the LUA code even after chopping it down and simplifying it and even after checking the wiki documentation, I haven't managed to get the minimising working, either I repeatedly do something wrong or it just simply no longer works.

Could you help me?




local LootBP = "Backpack"
local GoldBP = "Orange Backpack"

elseif (labelName == "Start") then
-- Reset Backpacks
Walker.Stop()
Self.CloseContainers()
Self.OpenMainBackpack(true):OpenChildren({LootBP, true}, {GoldBP, true})
Container.GetFirst():Minimize()
Walker.Start()

FYI this is only part of my LUA code.

Shadow Wolf
12-25-2015, 04:59 AM
Give this a crack.
Make sure your main Backpack is a different color from your Loot and Gold backpacks.


local LootBP = "Backpack"
local GoldBP = "Orange Backpack"

elseif (labelName == "Start") then
-- Reset Backpacks
Walker.Stop()
Self.CloseContainers()
Self.OpenMainBackpack(true):OpenChildren({LootBP, true}, {GoldBP, true})
wait(Self.Ping() + 300)
Walker.Start()


~ Shadow Wolf

shadowart
12-25-2015, 05:30 AM
Your code is fine, but trial members cant use the bot to minimize backpacks. That's one of the limitations of the trial.