I have been trying some memory management and I have stumbled upon a problem. I believe the offset for health is wrong. I am trying to read health. I dont really know how to find the base address and offset for health. I have tried to find the static address for health using cheat engine but i am not able to find it.
Thanks in advance!
Here is the code:
ReadProcessMemory(hProc, (LPCVOID)(0x00A30504), &pointed, 4, NULL);
ReadProcessMemory(hProc, (LPCVOID)(pointed + 0x000000FC), ¤tHealth, 4, NULL);
Aucun commentaire:
Enregistrer un commentaire