PDA

View Full Version : Xenobot Depositing



evultoad
09-18-2015, 01:37 PM
I don't know how such a fundamental feature has not been implemented!

Why can I only deposit from 1 backpack into a depot, 2 at best with a backpack resetter. I've been asking in the help section for over a week, and nobody has bothered to even reply.
It's like the "top" scripters are keeping all the knowledge to themself's, which in turn I believe is holding all the amateurs such as myself back.

I'm giving it another week for a solution to this "menial" task otherwise I'm done with xenobot.

Ben
09-18-2015, 06:40 PM
I dunno what to tell you because as far as I can tell Self.DepositItems should deposit loot from all open backpacks, including cascaded backpacks in the last slot of an open backpack. Post your depositing label code and your bp set-up so we can make sure you aren't doing anything unusual.

edit: looking at the Self.DepositItems() code more closely, your problem might be caused by having multiple Self.DepositItems() calls in your label code. After your first Self.DepositItems() call your cascaded bps might not be in the last slot anymore so the subsequent Self.DepositItems() calls won't properly open the cascaded backpacks. The solution would be to use only one Self.DepositItems() call in your label code.

evultoad
09-18-2015, 08:49 PM
Ben
wait, so how does it work? you use the built in function and it "de-cascades your backpacks"?
as its totally not working for me. also the Self.Deposit() function doesn't work how I want it to either.

The way its working for me is like this:
I go to Depot.
i have 5 open backpacks. one of them is my loot bp. in my case its "container(4)". Im on my lvl 300 EK, therefore I've been hunting for some time. For arguements sake lets say I only have 5 backpacks of loot, all nested within each other "ABCDE".
BP-A is the base bp and is inside my mainbp. when I hit the depot, I have open BP-E.
I deposit loot, now BP-E is empty. now i reset bps. BP-A is once again open, I deposit.
Now, my depositer is finished, however BP-B/C/D all still have loot inside them. walker continues to purchase supplies and continue hunt.

So, please tell me what I'm doing wrong

Stusse
09-18-2015, 08:52 PM
evultoad

Either use the lua function, or there's nowadays even a panel for it in the Looter. Simply add the item to the loot list, and from there you can choose deposit destination for that item!

If you have too much loot for 1 backpack, simply put another one in before starting to fill up the backpack (so that your next bp will be on the last slot when bp is filled. Then XenoBot will open and deposit items from that backpack as well, along with going "up" to your original backpack so you basically wont need any backpack-resetter unless you are looting gold (since you wont deposit gold XenoBot depositer won't "go up" to your original backpack for gold.

Deposit function in lua works the same way with above ^ only that you have to write line with what items to be deposited in where. I recommend trying to use the first method (open Looter and for each item there define what deposit slot).

Good luck! :)

/Stusse

evultoad
09-18-2015, 08:56 PM
i genuinely have no idea what I've been doing then, need to test this, will come back to you after, thanks Stusse I'm not a complete noob, but this has been frustrating me for some time trying to figure out ill try just using the built in, as I'm already using it

Stusse
09-18-2015, 09:00 PM
i genuinely have no idea what I've been doing then, need to test this, will come back to you after, thanks Stusse I'm not a complete noob, but this has been frustrating me for some time trying to figure out ill try just using the built in, as I'm already using it
No worries :)

Just open the Looter panel and click on one item and you will see how it works. It's very simple and very effective. Don't forget to add the waypoint "Deposit Items" for depositing (not a label name, actual waypoint-type if you look while adding waypoint in the Walker)!

evultoad
09-18-2015, 09:07 PM
No worries :)

Just open the Looter panel and click on one item and you will see how it works. It's very simple and very effective. Don't forget to add the waypoint "Deposit Items" for depositing (not a label name, actual waypoint-type if you look while adding waypoint in the Walker)!

Yeah I've been using that method for my scripts for weeks. I must just be going crazy! get a couple of beers in me and start kicking off on forums. Ill wind my neck in until I've actually got evidence It's not working :)

evultoad
09-18-2015, 09:27 PM
Stusse can confirm, does NOT backward cascade on deposit

Ben
09-18-2015, 09:32 PM
Yeah I've been using that method for my scripts for weeks. I must just be going crazy! get a couple of beers in me and start kicking off on forums. Ill wind my neck in until I've actually got evidence It's not working :)

I'm not sure how the built in depositer Stusse mentioned works. You could try it.

I can at least explain why only your last backpack is deposited on the first deposit attempt. The way the lua depositer works is it starts from open backpacks, and deposits everything in them plus what is in their cascaded backpacks. But it will not deposit loot in the parent backpacks (unless they are already opened). Since A-D are all parent backpacks of E, only E is deposited. Thus before depositing you need to reset your backpacks so that A is open, not E. Then A and its children B-E should all be deposited. Which is why I am puzzled because you say after resetting your backpacks only A is deposited. So there must be a further problem, but I couldn't say what. It'd help if you posted your label code.

Also the lua depositer decascades your bps after depositing, not before, and only if you opened cascaded backpacks, so that your backpack set-up is the same as it was before you started depositing.

evultoad
09-18-2015, 09:35 PM
I'm not sure how the built in depositer Stusse mentioned works. You could try it.

I can at least explain why only your last backpack is deposited on the first deposit attempt. The way the lua depositer works is it starts from open backpacks, and deposits everything in them plus what is in their cascaded backpacks. But it will not deposit loot in the parent backpacks (unless they are already opened). Since A-D are all parent backpacks of E, only E is deposited. Thus before depositing you need to reset your backpacks so that A is open, not E. Then A and its children B-E should all be deposited. Which is why I am puzzled because you say after resetting your backpacks only A is deposited. So there must be a further problem, but I couldn't say what. It'd help if you posted your label code.

Also the lua depositer decascades your bps after depositing, not before, and only if you opened cascaded backpacks, so that your backpack set-up is the same as it was before you started depositing.
the lua depositer and the build in are the same command aren't they?
So what your saying it, reset backpacks, then reach depot, deposit items? EDIT: just tested this method and it works, you honestly don't know how many hours I've spent trying to get this to work so thanks you!

evultoad
09-18-2015, 09:44 PM
Ben Stusse Thanks for your help! Seems I've been overthinking things this whole time. And sorry for thinking xeno wasn't up for the task, another reminder why i pay for this instead of others. However this feature isnt very well documented! maybe the wiki could get updated to include this info to help others?

DarkstaR
09-30-2015, 01:19 PM
I'm not sure how the built in depositer Stusse mentioned works. You could try it.

I can at least explain why only your last backpack is deposited on the first deposit attempt. The way the lua depositer works is it starts from open backpacks, and deposits everything in them plus what is in their cascaded backpacks. But it will not deposit loot in the parent backpacks (unless they are already opened). Since A-D are all parent backpacks of E, only E is deposited. Thus before depositing you need to reset your backpacks so that A is open, not E. Then A and its children B-E should all be deposited. Which is why I am puzzled because you say after resetting your backpacks only A is deposited. So there must be a further problem, but I couldn't say what. It'd help if you posted your label code.

Also the lua depositer decascades your bps after depositing, not before, and only if you opened cascaded backpacks, so that your backpack set-up is the same as it was before you started depositing.

The built in depositor directly calls the Lua function, but it first generates a lootlist based on the config in the looter. It best to use it for casual scripters.