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 


Pointer and AA Question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Doctor Death
Cheater
Reputation: 1

Joined: 26 Apr 2014
Posts: 42
Location: Breaking Code

PostPosted: Fri Feb 06, 2015 10:44 pm    Post subject: Pointer and AA Question Reply with quote

Ok let's say you have a pointer that points to this one address, and you also have both offsets. How would u make a script that gets the address it points to?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Feb 06, 2015 11:04 pm    Post subject: Reply with quote

Right-click the address in your cheat table and look to see which instructions 'access' that address. In the debugger window, right-click on an open space to see if the found opcodes access other addresses. Return to the game. If you have any results in the debugger window that only access 1 address, then you can use it (preferably one that is being accessed several times per second). If all of the instructions are accessing more than one address, you'll have to choose one and just filter out the unwanted addresses.

When you are ready, let CE build the script for you by using cheat table framework code and code injection. Once done, simply load the base register in to a custom symbol:

Code:

label(pointer)
registersymbol(pointer)

newmem:
push eax             //any register will do, as long as it isn't already being used inside of your script
lea eax,[esi]        //load esi (the base address from the originalcode) in to the register eax
mov [pointer],eax    //move the base address in to your custom symbol
pop eax
jmp originalcode

originalcode:
mov edi,[esi+04]
jmp returnhere

pointer:
dd 0


Once the script is enabled, simply add an address, manually, to your cheat table, make sure to check the pointer box. In the address field, put pointer. In the offset field, add your offset (in the example above, your offset would be +4).
Back to top
View user's profile Send private message
Doctor Death
Cheater
Reputation: 1

Joined: 26 Apr 2014
Posts: 42
Location: Breaking Code

PostPosted: Sat Feb 07, 2015 11:33 pm    Post subject: Reply with quote

++METHOS wrote:
Once done, simply load the base register in to a custom symbol

I don't know what a "base register" is... xd
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Feb 07, 2015 11:58 pm    Post subject: Reply with quote

It doesn't matter. Just follow the instructions.
Back to top
View user's profile Send private message
TwoSpooky
Cheater
Reputation: 1

Joined: 03 Feb 2015
Posts: 36

PostPosted: Sun Feb 08, 2015 10:51 am    Post subject: Reply with quote

Try watching this.

Code:
/watch?v=Ov37X9Ldn44

(I can't post full links yet, sorry.)
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