fenix01 / cheatengine-library

Cheat Engine Library is based on CheatEngine a debugger and coding environment particularly aimed at games, but can also be used for other purposes like debugging applications and used in schools for teaching how computers work
259 stars 79 forks source link

How to tell if address is static or dynamic? #22

Open paddy41601 opened 4 years ago

paddy41601 commented 4 years ago

Thank you for making such good stuff. Everything work great,but I didn't find the proper way ti tell if address is static or dynamic. Can you help me? Thanks

fenix01 commented 4 years ago

Hi, I didn't play with cheat engine for a while but you can try to do the following. When you have discovered an address (for instance a variable related to life in a game), try to restart the program and check if the life has the same address. If not, you should try to find a pointer address (base address + offset). One way is to use the pointer scanner in cheat engine.