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 


Dynamic Memory Addresses? Something else?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Jinron
Expert Cheater
Reputation: 0

Joined: 31 Jul 2007
Posts: 121

PostPosted: Mon Nov 24, 2008 9:46 am    Post subject: Dynamic Memory Addresses? Something else? Reply with quote

Does DMA affect function entry point addresses as well? I've been having a problem with the addresses changing when I reboot my computer for the windows vista minesweeper game.

StartAboutDialog was at 0x00CAFED4, after rebooting it became 0x00C8FED4. Any ideas?

I was pretty certain that DMA changed addresses every time game was restarted, but this one only changes addresses when I reboot my computer. It's also different for different computers. The address is always something like 00C*FED4 though. only the * changes.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Mon Nov 24, 2008 10:27 am    Post subject: Reply with quote

in vista the entry point can differ yes.
Thats why you have to use modulename+offset

And the reason why it differs only on boot is because windows likes to keep copies of modules at addresses after they have been loaded so they can be shared with other processes to increase speed. (so no need to go through the relocation table on opening) So only when it really HAS to it goes through the relocation

_________________
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
Jinron
Expert Cheater
Reputation: 0

Joined: 31 Jul 2007
Posts: 121

PostPosted: Mon Nov 24, 2008 12:57 pm    Post subject: Reply with quote

Dark Byte wrote:
in vista the entry point can differ yes.
Thats why you have to use modulename+offset

And the reason why it differs only on boot is because windows likes to keep copies of modules at addresses after they have been loaded so they can be shared with other processes to increase speed. (so no need to go through the relocation table on opening) So only when it really HAS to it goes through the relocation


EDIT: Ignore the below questions. I figured it out on my own.

Does this apply even if the function is part of a EXE and not a DLL? I'm trying to hook the StartAboutBoxDialog function (triggered when you do help -> about in minesweeper).

If so, if it's an EXE, how would I determine the base address to add the offset to?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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