Alternative Auto-Pot method

10/29/2009 02:18 Iktov#1
Hello,

There are many methods of automated functions I have heard of for MMO's to automate actions such as Auto-Healers. The only real effective method I have seen is using packets. However I would like to know if it is possible/logical to try and make a fully memory based Auto-Pot.

The Reading HP/MP is obvious and very easy to setup, but the actually function to use the potions is a bit more tricky.

I was hoping that it could be done something like this:

Find the function in memory with a debugger that gets called when you use a potion.

Hook that function with detours.

Re-Create the function within a simple C++ .dll and call that function when healing is needed.

Am I retarded or could this be possible to create. The only problem that I have with attempting to do this myself is I don't really know where to start on the reversing side of things, trying to locate the function that tells the game to use potions.
10/29/2009 12:31 Adroxxx#2
Packet based Autopotter is imo to slow. Memory based is much better.
The easierst way would be to put the pot into the bar on a hotkey. Like '1' or something. And if you low hp, you press the 1 key. But it's slow too.

The best way, would be like you already said, to call the function.

We have a few tutorials about calling functions:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

It's not so easy to find the functions. You need a point where you can start with it. For example you search for the value of pots you have and try to find the function that uses them.
10/29/2009 17:29 MoepMeep#3
Quote:
Originally Posted by Adroxxx View Post
Packet based Autopotter is imo to slow. Memory based is much better.
Not really.
10/29/2009 18:09 Iktov#4
Well the only part I am really stuck on in this process is: Locating the func that is called in memory when you use a pot. I have a basic idea on how to go about finding, but I am really not confident that I can.

I have no idea how to set a packet bot or else I would go that route. However since I don't know how to do the whole packet thing and I like the idea of a fully memory based system, I would really like a bit of guidance on locating the func in the clients memory.