Quote:
Originally Posted by G-runo
Probably not, as conquer uses dinamic memory allocation, and it would be hard (for me)to do so, because im a newbie regarding to programming. :D
But maybe in the future, if I manage to understand and beat DMA.
|
Okay, so if you really are THAT new, then you might not know what a pointer is.
A pointer is basically a static address that points to a dynamic one (E.G. health)
To find a pointer, all you have to do is open cheat engine, and find the address for your player's health, then right click > "Find what writes to this address"
Then use the pointer in basic code like this:
Int Health2Int = HealthPointer
Function HealthCheck(){
If Health2Int <= 200
{
Use potion (whatever code you use to press the potion hotkey goes here)
}
}
If you know what you're doing, you could write another function to get the user's max health, and then do If Health2Int <= (Int MaxHealth)*.15) to use potion when the user falls below 15% health
Anyways, I don't know what you program in, so it might be a little different, but I'm sure you get the gist of what I'm saying. It's nothing too difficult, and I'm sure people in the programming section would be glad to help.
Good luck on your bot!