How do game trainers change a address in memory thats dynamic?

Posted by GameTrainersWTF on Stack Overflow See other posts from Stack Overflow or by GameTrainersWTF
Published on 2010-05-28T05:06:33Z Indexed on 2010/05/28 5:11 UTC
Read the original article Hit count: 180

Filed under:
|
|
|

Lets assume i am a game and i have a global int* that contains my health. A game trainers job is to modify this value to whatever in order to achieve god mode. I've looked up tutorials on game trainers to understand how they work, and the general idea is to use a memory scanner to try and find the address of a certain value. Then modify this address by injecting a dll or whatever.

But i made a simple program with a global int* and its address changes every time i run the app, so i don't get how game trainers can hard code these addresses? Or is my example wrong?

What am i missing?

© Stack Overflow or respective owner

Related posts about game

Related posts about pointer