Due to issues I ran into during the last update (714), I have decided to work on a redesign of the bot code so that I can address various issues within the code that will make updating easier for me in the future. I will be working on this as a side work so that it does not interfere with work on improvements to Hellfire or Thera Launcher.
The first issue is streamlining the code to speed up/smooth out the bot running. To do this, I will be removing several test code sections but leaving their functionality, mainly in the targetting system. I will be removing the visible counters and the code to show them updating, but leave the counters intact.
The second issue, which has been on my to-do list since the start of the overlay feature of the bot, involves the mouse clicking thru the menus and making your char run around. It's been annoying me as I play.
The third issue involves the running to the NPCs. Currently, I am testing using A-Star pathfinding to get the char to run from his current position, to the NPC (to sell/buy/store stuff) and running back to where you started. It works, but with glitches I haven't solved yet.
The fourth issue involves the auto-stacking of certain items. I first got the idea to search the bag and have the bot auto-restack pots and other stackable items if it could. This idea was intended on keeping the bag neat and full pot stacks close to the top of the bag (freeing up slots as much as possible). Then I ran into Mushrooms. They can be stacked, but they don't, so the bag fills up quickly. The closer I get to being able to work with opening menus, the more I see a need to be able to stack the mushrooms (and other items).
The first issue is streamlining the code to speed up/smooth out the bot running. To do this, I will be removing several test code sections but leaving their functionality, mainly in the targetting system. I will be removing the visible counters and the code to show them updating, but leave the counters intact.
The second issue, which has been on my to-do list since the start of the overlay feature of the bot, involves the mouse clicking thru the menus and making your char run around. It's been annoying me as I play.
The third issue involves the running to the NPCs. Currently, I am testing using A-Star pathfinding to get the char to run from his current position, to the NPC (to sell/buy/store stuff) and running back to where you started. It works, but with glitches I haven't solved yet.
The fourth issue involves the auto-stacking of certain items. I first got the idea to search the bag and have the bot auto-restack pots and other stackable items if it could. This idea was intended on keeping the bag neat and full pot stacks close to the top of the bag (freeing up slots as much as possible). Then I ran into Mushrooms. They can be stacked, but they don't, so the bag fills up quickly. The closer I get to being able to work with opening menus, the more I see a need to be able to stack the mushrooms (and other items).