I think it's supposed to close the depot backpack (once it's done depositing to that backpack) but it closes BrowseField with Locker instead (or maybe it fails to detect that its already open and calls OpenLocker funcion for no reason) - unless it's intended but seems pointless to close BrowseField and then reopen it and leave backpack that won't be needed anymore still open ;d
its easier to make the depot function based on one index per item set , like DepositItems({index=0, items = {3154, 3455, 6555}}, {index =2, items = {4456, 6777, 1123}})
atleast that's how i did in the deposit function i made
Okay thanks, most likely the BrowseField change in the recent update then. I assumed it opened the Locker in the same window as BrowseField, which was incorrect.
Nick will be home soon to test and patch the issue.
That looks worse tbh.
You're putting the focus on the slots, and not the items.
yeah it does looks ugly lol, but it goes smoother
Probably, the current depositor is very old, one of the first things I made, and even though I was pr0 back thenit's pretty dated.
After I get done moving into my new place, I'll give you guys some new depositor/withdrawing functions.
I have a few improvements I need to make to them, and make them backwards compatible with the current input.
yeah, those two functions in the xenolualib could be cleaner imo, but the only thing i would add to self.deposit (i also added to mine) is keep opening equiped bps that are full, so it doesn't miss loot (probably shoud ignore this if Container(i):ID() == Self.Backpack().id).
this is why i separate by index in mine :
lua code:
Self.OpenDepot()
local dp = Container('Depot Chest')
for i = 0, #arg do
dp:UseItem(arg[i].Index, true) -- opening in new window
-- loop trough bps and move found items
for j = dp:Index()+1, #Container.GetAll() do -- closing what was opened
Container(j):Close()
end
end
i know yu pro but i tought my function was clever![]()
Last edited by ppgab; 07-09-2014 at 02:24 AM.
Successful Transactions:
Bought a Lifetime XenoBot Subscription from @isse
Bought a level 54 no vocation from @Yhoo
Bought a level 107 knight from @dragdenied
Bought a level 64, & 55 knight from @Wobbz
Bought a level 135, & 138 knight from @soul4soul
Bought a level 285 druid, & several rares from @Angel101
Bought a Rookgaard set from @quaqua