Im interested in how trainers for games are made.
Say your in this situation, you have a game and you want to make a trainer that gives you X amount of ammo in your gun. The game probably has a varible like int ammo = 25 or somthing similar, my first question is how would you find the varible name, would you need another prog to find out all the varibles used by the game, then find the one with a value of 25, hence finding the name of the varible?.
Then once you have the name, how would you code your program to find this varible in the ram and set it with a new value. Becasue every time the game launces i assume the ammo varible will go to a different location in the ram. So would you have to code your program to find the location of the varible then set up a pointer to it or somthing and set its value?
If anyone has any code for finding and setting the value of a varible in another program then i would it
Thanks for any help,