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 


My first multilevel pointer (Prince of Persia SoT -> life

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

Joined: 18 Mar 2009
Posts: 110

PostPosted: Tue Aug 09, 2011 7:43 am    Post subject: My first multilevel pointer (Prince of Persia SoT -> life Reply with quote

Special thanks to Chase Payne for posting video that was really helpful.

So Base pointer is 00A99474 and offsets are: 18;4;44;19C

That's my first pointer I found (see I learned something).

But I would just like to ask about offsets. Does it mean that I have some structure or array?

I mean if 19C points to life, does it worth looking at other offsets as well?? like should I try 19B .. 0 ? Or is it improbable?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Tue Aug 09, 2011 8:41 am    Post subject: Reply with quote

yes, it's certainly worth looking there
for example 1a0 might contain the maximum value of health

and 198 might contain something else near health

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
rain-13
Expert Cheater
Reputation: 0

Joined: 18 Mar 2009
Posts: 110

PostPosted: Tue Aug 09, 2011 9:12 am    Post subject: Reply with quote

ok thanks, but does other offsets also worth looking? Or are they about other things then player?

Does those 4 offsets mean that i have something like following?

Code:
Struct Base {
   Struct ptr3 {
      Struct ptr2 {
         Struct ptr1 {
            Struct Player {
               [19C] = life
            }
         }
      }
   }
}
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Tue Aug 09, 2011 9:36 am    Post subject: Reply with quote

often yes, but is can also be an array (which is actually also a struct if you think about it, just a struct with all the same size and type elements)


it depends on the pointer if it's used for other stuff
e.g the pointerpath you found might be:
game struct->map struct->controller struct->player struct

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
rain-13
Expert Cheater
Reputation: 0

Joined: 18 Mar 2009
Posts: 110

PostPosted: Wed Aug 10, 2011 1:15 am    Post subject: Reply with quote

that's good. Now I just need to way to dump it. Is there any way to tell if address is pointer? I could then just do endless loop that reads next address until address has value instead of pointer. but only thing is that how do I understand if extremely large number is coordinate or pointer to new address.
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