Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How are modules handled in pointer addresses?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Recursive
How do I cheat?
Reputation: 0

Joined: 11 Oct 2010
Posts: 2

PostPosted: Mon Oct 11, 2010 2:00 pm    Post subject: How are modules handled in pointer addresses? Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25295
Location: The netherlands

PostPosted: Mon Oct 11, 2010 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Recursive
How do I cheat?
Reputation: 0

Joined: 11 Oct 2010
Posts: 2

PostPosted: Mon Oct 11, 2010 3:14 pm    Post subject: Reply with quote

Lol nevermind, got it done.. xD


Read your other pointer thread thing in tutorials place, figured it out then.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites