View previous topic :: View next topic |
Author |
Message |
Recursive How do I cheat?
Reputation: 0
Joined: 11 Oct 2010 Posts: 2
|
Posted: Mon Oct 11, 2010 2:00 pm Post subject: How are modules handled in pointer addresses? |
|
|
By that i mean
X Axis = game.exe+55983 offset 32
How is the game.exe part handled for the calculations? Because I am trying to write a C++ application todo some editing but can't figure out how to handle that. [/u]
My guess is something akin to EnumProcessModules and then GetModuleInformation and/or GetModuleFileNameEx |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25712 Location: The netherlands
|
Posted: Mon Oct 11, 2010 2:33 pm Post subject: |
|
|
if game.exe is loaded at 00400000 game.exe represents 00400000
if game.exe is loaded at 00800000 game.exe represents 00800000
the 55983 means the offset from the start so 00455983 in the case of 00400000 and 00855983 in the case of 00800000
And yes, use EnumProcessModules or Toolhelp32Snapshot module32first/next to find the base address of the module _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Recursive How do I cheat?
Reputation: 0
Joined: 11 Oct 2010 Posts: 2
|
Posted: Mon Oct 11, 2010 3:14 pm Post subject: |
|
|
Lol nevermind, got it done.. xD
Read your other pointer thread thing in tutorials place, figured it out then. |
|
Back to top |
|
 |
|