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 


Pointers pointing to incorrect place ?

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

Joined: 22 Jul 2015
Posts: 3

PostPosted: Wed Jul 22, 2015 10:49 am    Post subject: Pointers pointing to incorrect place ? Reply with quote

The last day or so, I've been attempting to figure out why this pointer is not doing what the pointer scan says it is doing.

**
No links allowed: See attachment 2
**

As seen here, the pointer I am using from the scan is the first one. The address for this is 0x01052DE8. However, when I throw the pointer address into the Structure Dissect module, the offset returns a completely different value than what was expected. The expected value is 55, as shown in the pointer scan and on the very right in the addresslist.

Further testing by using it inside my own application showed that the address+offset resulted in the same number (46) being returned.
**
No links allowed: See attachment 1
**

Any help in figuring this out would be appreciated. Thank you!


**Note: This is infact a singleplayer game, and the value can be changed from the addresslist.

**note: If this is not the correct forum, please inform me and I will transfer it to the correct place.



wGfNbky.png
 Description:
Screenshot 2
 Filesize:  1.67 KB
 Viewed:  3185 Time(s)

wGfNbky.png



SwaYMHz.png
 Description:
Screenshot 1
 Filesize:  79.89 KB
 Viewed:  3185 Time(s)

SwaYMHz.png


Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Wed Jul 22, 2015 2:41 pm    Post subject: Reply with quote

your pointer base address is:
"ModuleName.exe"+01052DE8

NOT just
01052DE8

remember that 01052DE8 is not an address in this case, it is an offset Wink

So in the structure dissect, you'd have to put:
"ModuleName.exe"+01052DE8

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

Joined: 22 Jul 2015
Posts: 3

PostPosted: Wed Jul 22, 2015 2:56 pm    Post subject: Reply with quote

I included the whole module name including both quotation marks and is still did not work. Most of the structure dissect is zeros for some reason. Am I still doing something incredibly wrong?


5Vq4pxn.png
 Description:
Screenshot 1
 Filesize:  13.86 KB
 Viewed:  3136 Time(s)

5Vq4pxn.png


Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Wed Jul 22, 2015 3:08 pm    Post subject: Reply with quote

hmm, I'm not really a fan of pointers so my understanding of them isn't that great. Have you thought about code injection?
Back to top
View user's profile Send private message
Simple_AOB
How do I cheat?
Reputation: 0

Joined: 22 Jul 2015
Posts: 3

PostPosted: Wed Jul 22, 2015 3:15 pm    Post subject: Reply with quote

I'm trying to stay away from injection in general, usually when stuff like this doesn't work I simply skip it but this has perplexed me because CE returns the correct value in the addresslist but neither the SD nor my program return the correct value.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Wed Jul 22, 2015 3:18 pm    Post subject: Reply with quote

the base address is an address that contains a pointer
The address the bytes at that location represent contain at offset 344 the address you're interested in

as always, read http://forum.cheatengine.org/viewtopic.php?t=422516

_________________
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
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