What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

possible to disable moving currency around in inventory prior to stashing?

imdivesmaintank

New Member
Joined
Oct 30, 2013
Messages
342
Reaction score
0
I'm assuming this is a bug b/c there doesn't seem to be any point to moving all my currency to the upper left of the inventory and then immediately stashing it. I thought I had seen a configuration option to disable it in a previous version, but can't find it now.
 
I'm assuming this is a bug b/c there doesn't seem to be any point to moving all my currency to the upper left of the inventory and then immediately stashing it. I thought I had seen a configuration option to disable it in a previous version, but can't find it now.
I dont mnd it, if town runs take some time instead of always taking 30 seconds, I rather it take a while longer so I don't look like i'm always doing so many actions per minute. Real players don always go to town for only 30 seconds after every portal.
 
I don't know how you play, but the bot does town runs slower than I do them in general. The only part it's faster at is checking affixes of rares. The moving of items is so much slower than I do it. But I don't chat much really, so that might be why.
 
The logic is setup exactly as it was before in the previous Beta.

The reason it takes longer than before, is because the API has to perform all actions using input actions rather than calling client functions. When an item is on the cursor, there's no way to just "place it into a (col, row) position".

In game, if you pickup an item to the cursor, you'll notice how the image icon is centered on the image itself. As you move the mouse around your inventory to place it, you'll notice the mechanics for where the item gets placed is dependent on the mouse position and the image size. As a result, the logic has to move the item around the inventory to find the correct location based on the highlighting the client does.

As for the side effect of sorting items and then stashing them, that's a specific case of the default stash logic simply stashing everything but inventory shards. Each task is independent of each other, so there's no way for the SortInventoryTask to know what will or won't be stashed, unless you rewrote all town logic to work one specific way.

I think I can move SortInventoryTask to execute after HandleInventoryItemsTask, so it should only sort items left in the inventory once you're ready to leave town. That shouldn't cause any side effects, but everything as it is working right now is as intended. It's just that it's slower so it's more noticeable than before.

If you look at the EnableStashingOnFreeSpacePercent setting (paired with FreeSpaceToTriggerStashingPercent), you'll see that stashing doesn't have to happen each town run. Because of this, you do need items sorted so you avoid cases where quest items or items not stashed don't take up your whole inventory and trigger more frequent town runs.
 
The logic is setup exactly as it was before in the previous Beta.
I think I can move SortInventoryTask to execute after HandleInventoryItemsTask, so it should only sort items left in the inventory once you're ready to leave town. That shouldn't cause any side effects, but everything as it is working right now is as intended. It's just that it's slower so it's more noticeable than before.

I was thinking the same as OP, it seem kinda strange to arrange inventory before stashing, it would make a ton of more sense to arrange after stashing. Because if you have items leftover in inventory that you wish to keep they are also arranged. So inventory sorting would come after stashing it would make the bot look more real....

When I play by hand I have never sorted prior to stashing :)
 
I think I can move SortInventoryTask to execute after HandleInventoryItemsTask, so it should only sort items left in the inventory once you're ready to leave town. That shouldn't cause any side effects, but everything as it is working right now is as intended. It's just that it's slower so it's more noticeable than before.
yes please do that. it makes much more sense that way.
 
It was changed in #914, are you still having problems with it?
 
Back
Top