theBGuy / Kolbot-SoloPlay

<The one bot to rule them all> This repo is depreciated. New development is at https://github.com/blizzhackers/kolbot-SoloPlay
https://github.com/blizzhackers/kolbot-SoloPlay
GNU General Public License v3.0
23 stars 8 forks source link

Stash is almost full causing Auto equip to take a long time #22

Closed ly19811105 closed 2 years ago

ly19811105 commented 3 years ago

First, thanks for your shared this great script. Now I found a small problem, this problem only occurs when the Stash is almost full. (by the way, I used plugY's big stash 10×10 and I want know how to keep more Charms in bag .thanks. )

Stash almost full logs [10/09/21 06:29:27] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Exiting Town.shopItems. Time elapsed: 00:00:01 [10/09/21 06:29:27] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Entering auto equip [10/09/21 06:29:54] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Exiting auto equip. Time elapsed: 00:00:27 [10/09/21 06:29:54] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Entering secondary auto equip [10/09/21 06:30:21] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Exiting secondary auto equip. Time elapsed: 00:00:27 [10/09/21 06:30:21] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Entering charm auto equip [10/09/21 06:30:21] D2BS 11452: ÿc8Kolbot-SoloPlayÿc0: Total Charms Kept: 4

After manual clear stash logs. [10/09/21 09:43:00] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Evaluating 33 items. [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Exiting Town.shopItems. Time elapsed: 00:00:00 [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Entering auto equip [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Exiting auto equip. Time elapsed: 00:00:00 [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Entering secondary auto equip [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Exiting secondary auto equip. Time elapsed: 00:00:00 [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Entering charm auto equip [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Total Charms Kept: 4 [10/09/21 09:43:01] D2BS 16264: ÿc8Kolbot-SoloPlayÿc0: Exiting charm auto equip. Time elapsed: 00:00:00

theBGuy commented 3 years ago

How much have you edited in order to get plugy working? I've never used it myself so I am unsure of the changes that can cause issues. The auto-equip seems to be having issues getting all the items then sorting them based on tier values that's where its getting hung up. As for increasing the amount of charms there would be two places needed to edit, as it is right now all the finalbuilds cap inventory charms at 8 of them plus 2 skillers and unique charms. In order to increase the amount kept by the leveling builds you will need to change the invoquantity amount inside the base config files. If you wish to increase it to more than 8 there you will also need to increase the amount in the finalbuild file

theBGuy commented 2 years ago

Just added an update to solve this. The issue was with more items in the stash/inventory the process of getting rawStrength and rawDexterity for each item was taking to long during the sort process. I updated to set the value of two new prototypes and use them rather than calling the getter each time.