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

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Tsongkie
Newbie cheater
Reputation: 0

Joined: 24 Sep 2005
Posts: 16

PostPosted: Mon Sep 26, 2005 8:20 am    Post subject: Pointers Reply with quote

anyone else having trouble with them? I have a working procedure written here that works great on my box, trainer runs fine but on other boxes it doesnt... hmm i dunno what could be wrong
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 467

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

PostPosted: Mon Sep 26, 2005 11:08 am    Post subject: Reply with quote

You'll probably have to go down a couple of more levels of pointers

in case you're wondering about levels:
a-->b+offset (level1)
a-->b+offset-->c+offset (level2)
a-->b+offset-->c+offset-->d+offet(level3)

the sw kotor 2 table i posted contained level 6 pointers

Also, if you have a system with lots of memory(think 2 GB or more) and a really powerfull cpu(3.2ghz, dual core prefered) next version of ce might make stuff easier

_________________
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
Leonidas
Advanced Cheater
Reputation: 0

Joined: 07 Mar 2005
Posts: 98

PostPosted: Tue Sep 27, 2005 5:57 am    Post subject: Reply with quote

To explain a little further
lets say you found a pointer (e.g 21012ef0)
then add it as a 4 byte and find the pointer to that address
when you've found it. it's a level 2. (e.g you've found 1ac00020)

you can then again find the pointer for that new pointer,
etc..etc...

till you've got to the static address
usually a instruction in the form of opcode [xxxxxxx],xxx where the part between [ ] is the address of the last pointer
Back to top
View user's profile Send private message
budi_tju
Newbie cheater
Reputation: 0

Joined: 03 Jun 2005
Posts: 13

PostPosted: Fri Sep 30, 2005 11:25 pm    Post subject: Reply with quote

To Darkbyte or scribly:
Could you explain more technical details? Provided with some example would nice Cool.
Back to top
View user's profile Send private message
Tsongkie
Newbie cheater
Reputation: 0

Joined: 24 Sep 2005
Posts: 16

PostPosted: Mon Oct 03, 2005 1:17 am    Post subject: Reply with quote

hmmm i know about em pointers mate, e.g: game uplink and Dragon ball, it is somewhat a static pointer since as stated in the mov xxxxxx,xxxx

but try restarting the game or sending thetrainer to a friend and it wouldnt work


further studies should be made regarding pointers. pointers imho is unreliable
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 467

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

PostPosted: Mon Oct 03, 2005 1:29 am    Post subject: Reply with quote

Pointers are the most reliable there is (the games themself use them), only problem sometimes is that you went down the wrong pointer path so the pointer actually only works when someone is highlighted, or that one of the offsets wasn't calculated right (e.g you aplied the offset yourself instead of using the one from the code)

And of course, if the pointer actually resides in a dll whose location changes on other systems then the pointer may be different and in those cases apply the dll offset change to it.

..but then again there has to be a pointer to the dll somewhere

_________________
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
budi_tju
Newbie cheater
Reputation: 0

Joined: 03 Jun 2005
Posts: 13

PostPosted: Wed Oct 05, 2005 1:10 pm    Post subject: Reply with quote

Wew, some new info for me. Pointers inside a DLL. How do we obtain the address of the DLL? could it be done with CE?
_________________
My english is bad. I do my apologize.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 467

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

PostPosted: Wed Oct 05, 2005 1:14 pm    Post subject: Reply with quote

The main program will more than likely hold the pointer to the dll. (loadlibrary returns the pointer to the dll, and when static linking it'll also store the dll base somewhere in the main program)
It'll just be hard to find.

But if you know some debugging, and step through the function of a dll and back to the caller you may figure out how the caller got the address of a dll

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