Posted: Thu Mar 31, 2016 5:11 am Post subject: Log what the game code is doing?
Hi,
I am trying to find the right values for some game internals for the game Company of Heroes 2.
If you start the game in -dev mode, it is possible to use the console to get some values.
Example:
The function Game_GetLocalPlayer() returns the player ID number of the local player.
Is it possible to follow or log the code within cheat engine to see where the function gets its result from?
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Thu Mar 31, 2016 8:12 pm Post subject:
Find where the typed command is stored in memory.
From there use the 'Find What Accesses this Address' feature of Cheat Engine to find what uses the input command you give it. Enter the command you mentioned above and hit enter. Look through the results of what was returned to trace back to where the game is handling the command at.
You should be able to find some method of the game determining the command you entered and how it is handled. In a lot of games, console commands are handled via a list of strings holding the command and a pointer to a function that handles that command. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum