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 


Help finding what accesses an address that is only accessed

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Fri Jan 06, 2012 10:34 pm    Post subject: Help finding what accesses an address that is only accessed Reply with quote

It's only accessed once.

Basically the game is loading a file and I know exactly which file it is. However it only loads it once and stores it in memory. Now I assume after this is done, it reads certain values from it and stores it somewhere else in memory. When the characters are changed, the file is flushed from memory.

My problem is I can't seem to find exactly when it is loaded into memory so I always miss the oppurtunity to see what is accessing the value I'm trying to monitor.

I know it loads the file after selecting the character because the array is not present in memory until doing so. I've tried setting breakpoints on kernel32.Readfile but I never seem to come across the file.

Any ideas? Thanks.
Back to top
View user's profile Send private message
rooski
Master Cheater
Reputation: 0

Joined: 31 Oct 2007
Posts: 340
Location: Siberia

PostPosted: Fri Jan 06, 2012 10:40 pm    Post subject: Reply with quote

Find the call that is opening the file and follow from there in olly. It doesnt necessarily have to use ReadFile.
_________________
clawtheclouds.com
Back to top
View user's profile Send private message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Fri Jan 06, 2012 11:05 pm    Post subject: Reply with quote

rooski wrote:
Find the call that is opening the file and follow from there in olly. It doesnt necessarily have to use ReadFile.


Any tips for locating the call? I've tried searching for the string of the filename and no dice. Thanks for the reply!
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Jan 07, 2012 8:53 am    Post subject: Reply with quote

Try setting a breakpoint on CreateFileA / CreateFileW to see if those API are being used to read the file. If so you can follow the callstack back to where the file is being opened / read.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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