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 


Confusing Pointers

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

Joined: 12 Jul 2011
Posts: 3

PostPosted: Thu Jun 06, 2013 8:30 pm    Post subject: Confusing Pointers Reply with quote

I'm working on finding the health values in a game, and I can find them easily enough. However, I am having difficulty with the pointers.

I do the standard "What Writes to This" scan and then search for the "best guess." It consistently gives me a single 'green' result, always with the same address.

If I then add that address manually, it works as long as the "Find What Writes" dialog box is still open for the initial address. If I close that dialog, the manually added address becomes "??"

If I add some random other address to my list and do a "What Writes" scan, the pointer I added will start pointing at that address instead.

I'm sure it's something I am doing wrong, but I have no idea what.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Fri Jun 07, 2013 3:39 am    Post subject: Reply with quote

The best guess is wrong when the instruction is a read operation and one of the used registers is the destination
E.g mov eax,[eax+408] will show a wrong eax. Anyhow, since you know that eax+408 points to your health, you know eax was the address of your health-408. So use that calculation result as 4 byte hex to scan for

Also, it could be the green address you found is the address that contains the currently debugged address. Try picking a black address instead

_________________
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
Yraen
How do I cheat?
Reputation: 0

Joined: 12 Jul 2011
Posts: 3

PostPosted: Fri Jun 07, 2013 10:54 am    Post subject: Reply with quote

I think that makes sense. I think I'm just confused on where to go after the initial "What Writes" run.

The best guess is the same address as what I ran the debugger on, which is probably what's throwing me off.

The debugger returns lines 0008D23F and 008D242 as the opcodes used.



ce_grimrock.png
 Description:
 Filesize:  31.91 KB
 Viewed:  2971 Time(s)

ce_grimrock.png


Back to top
View user's profile Send private message
docblue
How do I cheat?
Reputation: 0

Joined: 13 Feb 2013
Posts: 6
Location: United States

PostPosted: Tue Jun 11, 2013 8:14 pm    Post subject: Reply with quote

I tried to find HP in this game also (grimrock) with no luck. I was like 10 offsets deep and felt like it was going nowhere with the multilevel pointers. Pointer scanning failed me also. I've not had issues like this before. I'd really like to know if someone can figure this out and how they did it.
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