View previous topic :: View next topic |
Author |
Message |
Doctor Death Cheater
Reputation: 1
Joined: 26 Apr 2014 Posts: 42 Location: Breaking Code
|
Posted: Fri Feb 06, 2015 10:44 pm Post subject: Pointer and AA Question |
|
|
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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Fri Feb 06, 2015 11:04 pm Post subject: |
|
|
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 |
|
 |
Doctor Death Cheater
Reputation: 1
Joined: 26 Apr 2014 Posts: 42 Location: Breaking Code
|
Posted: Sat Feb 07, 2015 11:33 pm Post subject: |
|
|
++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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Feb 07, 2015 11:58 pm Post subject: |
|
|
It doesn't matter. Just follow the instructions.
|
|
Back to top |
|
 |
TwoSpooky Cheater
Reputation: 1
Joined: 03 Feb 2015 Posts: 36
|
Posted: Sun Feb 08, 2015 10:51 am Post subject: |
|
|
Try watching this.
Code: | /watch?v=Ov37X9Ldn44 |
(I can't post full links yet, sorry.)
|
|
Back to top |
|
 |
|