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

Chaos Plugin - Only look in X to X tabs

krone6

Member
Joined
Jun 11, 2012
Messages
441
Reaction score
0
I've tried searching for this plugin's thread and couldn't find anything along with looking inside the plugin. I have way more than 4 tabs on the account and it takes forever to look through ever single one every single time. How'd I limit it to only look through the first 4 tabs?
 
This is not currently supported in that plugin. ChaosChanceRecipe uses the bot's WithdrawItemsCoroutine which is designed to go though your entire stash, calling the user functions on each and only stopping after you withdraw an item and no longer need to.

The only change I can make to WithdrawItemsCoroutine right now, to not break any existing code built around the current setup, is to call the user's shouldContinue function after the current tab has been processed, so if you want to limit the total number of stash tabs iterated, you can. Thinking about this, that change makes more sense, to let the user control when to stop withdrawing, and would not cause any code changes to be necessary everywhere else.

In the next Beta version, you'll be able to modify the plugin's code to change a constant, MaxTabs, to a lower number. There's no GUI or settings for that plugin, so you have to modify the code each update, since the files are overwritten by the updater. This is just the way things are for now, until I can find a batter way for simple settings that doesn't have the extra work required for adding gui and settings files.
 
This is not currently supported in that plugin. ChaosChanceRecipe uses the bot's WithdrawItemsCoroutine which is designed to go though your entire stash, calling the user functions on each and only stopping after you withdraw an item and no longer need to.

The only change I can make to WithdrawItemsCoroutine right now, to not break any existing code built around the current setup, is to call the user's shouldContinue function after the current tab has been processed, so if you want to limit the total number of stash tabs iterated, you can. Thinking about this, that change makes more sense, to let the user control when to stop withdrawing, and would not cause any code changes to be necessary everywhere else.

In the next Beta version, you'll be able to modify the plugin's code to change a constant, MaxTabs, to a lower number. There's no GUI or settings for that plugin, so you have to modify the code each update, since the files are overwritten by the updater. This is just the way things are for now, until I can find a batter way for simple settings that doesn't have the extra work required for adding gui and settings files.

Thanks for the fast reply. That change sounds like it'd work fine since I'd never need the bot to go past the first 4 or so tabs. No point checking what I would never use for the chaos recipe if I don't have to.
 
Back
Top