How do game trainers change an address in memory that's 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:31 UTC
Read the original article Hit count: 153

Filed under:
|
|
|

Lets assume I am a game and I have a global int* that contains my health. A game trainer's 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