I want to know how to accomplish this task with python pydbg. How does pydbg trace an instruction? For instance: should I set a breakpoint at the instruction address? Then what should I do?
The Instruction:
Address Opcode
game.exe+31C2CB eax,[ecx+00000FB0]
So, using pydbg. I want to find out what addresses does this instruction access.
More Info:
- Platform: Windows 7 x64
- Python 2.7
- Game: World of warcraft x32
What I am actually doing is a Bot that will read the player's health from the process memory and depending on the percentage it will heal him.
The problem is that the address for the player's health is dynamic. I've followed a lot of guides on how to find pointers for dynamic addresses / how to defeat DMA, but with no success.
So, I am trying to find another way of finding the player's health address which is by tracing the instruction that accesses it.
I can do this by using cheat engine but I want to implement this feature into my bot so it can automatically find the player's health address.