BldMx
06-11-2010, 20:31
Hello,
I was reading a post which posts some suggestions about how to make a new safe cavebot and I decided to post some of my thoughts.
In my methods I assume that reading Tibia information is completely safe, such as reading the ground info or the characters in your window.
The safe cavebotting solution that I cam up was to first get the players coordinate (say 0,0,0 as an example). Then the cavebot would load the next position desired from the cavebot script (say 5,5,0). Then the program would calculate the set of movements needed to reach this place using the common A* algorithm. Finally the bot would emulate keyboard moves in the order that is needed to reach the desired destination. This algorithm is the one many games use to move characters, for example when you click somewhere in the map and your tibian character moves there.
For the looting the bot could remember the last known position of the monster from reading the data and that should tell you where the monster died. Then it could emulate a mouse button to open the corpse. Then it could go through the loot and if it matches what the user wants then it can just add it to the backpack emulating a mouse drag. Best of all it doesn't have to worry about stacking since the new tibia will do that for us.
I am not a C or C++ developer, but I do know java, cocoa, and many web browser languages. I am willing to help if you want Daniel (no charge xD), I jsust have to learn more c++ since I already know the basics.
This are some rushed thoughts that I had and I thought it would be nice to discuss them with some other experienced programmers or just people.*
Please post your comments and ideas so we can come up with a nice safe method. If I assumed something was safe and it is not please point it out immideately so I can think of some alternative methods.
Cheers,
BldMx*
I was reading a post which posts some suggestions about how to make a new safe cavebot and I decided to post some of my thoughts.
In my methods I assume that reading Tibia information is completely safe, such as reading the ground info or the characters in your window.
The safe cavebotting solution that I cam up was to first get the players coordinate (say 0,0,0 as an example). Then the cavebot would load the next position desired from the cavebot script (say 5,5,0). Then the program would calculate the set of movements needed to reach this place using the common A* algorithm. Finally the bot would emulate keyboard moves in the order that is needed to reach the desired destination. This algorithm is the one many games use to move characters, for example when you click somewhere in the map and your tibian character moves there.
For the looting the bot could remember the last known position of the monster from reading the data and that should tell you where the monster died. Then it could emulate a mouse button to open the corpse. Then it could go through the loot and if it matches what the user wants then it can just add it to the backpack emulating a mouse drag. Best of all it doesn't have to worry about stacking since the new tibia will do that for us.
I am not a C or C++ developer, but I do know java, cocoa, and many web browser languages. I am willing to help if you want Daniel (no charge xD), I jsust have to learn more c++ since I already know the basics.
This are some rushed thoughts that I had and I thought it would be nice to discuss them with some other experienced programmers or just people.*
Please post your comments and ideas so we can come up with a nice safe method. If I assumed something was safe and it is not please point it out immideately so I can think of some alternative methods.
Cheers,
BldMx*