Hey, the backpackreopener doesnt function anymore when Xeno uses it.
Greetings
Depens ofcourse on which backpackresetter function your using.
I suggest you use this:
[code="lua"]
--Main bp = backpack nr 1--
BP2 = Item.GetID("Red Backpack") --<<--Your bp nr 2
BP3 = Item.GetID("Blue Backpack")--<<--Your bp nr 3
BP4 = Item.GetID("Golden Backpack")--<<--Your bp nr 4
setBotEnabled(false)
wait(800,1200)
Self.CloseContainers()
wait(1500,2000)
repeat
wait(1200)
until (Self.UseItemFromEquipment("backpack") > 0)
wait(1500)
Container.GetFirst():OpenChildren(BP2, BP3, BP4)
wait(800,1200)
setBotEnabled(true)
[/code]
You don't need to use Item.GetID anymore, it will do that for you.
[code="lua"]
Backpacks = {"Red Backpack", "Blue Backpack", "Golden Backpack"}
setBotEnabled(false)
Self.CloseContainers()
repeat wait(1200) until (Self.UseItemFromEquipment("backpack") > 0)
wait(1500)
Container.GetFirst():OpenChildren(unpack(Backpacks ))
setBotEnabled(true)
[/code]
Looks like a positive step here for XB, too bad it's so late into the development, now scripters must put extra time into repairing old scripts instead of making new... I guess it's the price you pay for joining a revolution though...
Well done, and keep it up.
You cannot fail, so I'm lowering the standard.
I use forgee.lua bpopener, but when Xeno wants to open the bp's it stucks at a bp, before update I hadnt this problem :///
Greetings