mov dword ptr[ecx+18],(float)999
This code appears to change my HP to 999, but it also turns the enemy's HP to 999.
fld dword ptr[ecx+18+4]
fstp dword ptr[ecx+18]
This code is amazing. Every time damage is taken the health keeps ticking back up. However, it appears also to heal the enemy as well. The good news is I have been able to locate what I believe is the function that handles health.
Now I need to figure out which one only affects my character and inject the code there. Challenge accepted.
If you only see one and its your health, then attack an enemy and it should also show up his health address.
Then you need to use the structure dissect tool.
Paste both base addresses (health address - offset) and look for differences between player structure and enemy structure. The more enemy structures you have to compare against the player, the more reliable your filter will be.
Once you found a difference you need to add a compare to your script. Lets say its a boolean and the boolean is located at offset 300. Then you write before the code where you set your health
cmp byte ptr[ecx+300],1
If its a pointer you use dword instead of byte as pointers takes 4 bytes in 32bit games. But first see if you can find a difference.
* Updated game trainers and cheats daily
* Get notified when new cheats are added
* Request which games get new trainers
* Priority support with any problem