
Originally Posted by
Bollo
Same here on a lot of scripts, since the neo-bot.comwhatever loot generator separated the lines, so its easier to dismiss the items that shouldent be there (like mana pots that u use etc).
As said, can be done on all just a matter of time ,but I dont see why the code wouldent work? It used to work just fine.
You have it backwards.
The code shouldn't have worked very well at all on multiple lines, you're depositing into backpacks that have already been dug down into. That should be a clear sign that something is wrong.
When the deposit function was first released everyone (mostly) used it properly. For some reason, now, it's being called multiple times in everyone's script. Anyways, Nick will fix the issue by adding a delay and closing the depot and depot backpacks.
I do recommend you fix your scripts though. You can span the table across multiple lines and tab properly if you wish to distinguish the items, it's cleaner than multiple functions.
lua code:Self.DepositItems(
-- First Depot Backpack
{7427, 0},
{21175, 0},
{3318, 0},
{21174, 0},
{3381, 0},
-- Second Depot Backpack
{21200, 1},
{7443, 1},
{5911, 1},
{21201, 1},
{5912, 1}
)