View previous topic :: View next topic |
Author |
Message |
stunna How do I cheat? Reputation: 0
Joined: 13 Oct 2016 Posts: 1
|
Posted: Thu Oct 13, 2016 11:01 am Post subject: How to add address, calculated with AOB injection ? |
|
|
I don't want to add it with *ADD ADDRESS MANUALLY* function, I want to do it from my script. For instance, I have a code:
Code: | code:
mov [ecx+5c],ecx
mov edx,[ebp-20]
jmp return |
I need to copy ECX value or ECX+4C value or both of them right here:
Code: |
ACTIVE DESCRIPTION ADDRESS TYPE VALUE
ECX
ECX+5C
|
Of course, ecx and ecx+5c its just address of structure and address inside of this structure.
P.S. I do it for online project, so finding an appropriate pointer ain't no option because they change every time I start a new game.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Oct 13, 2016 11:17 am Post subject: |
|
|
Well, I highly doubt that's the correct code, but I'll use it as your reference. Code: | label(myvar)
code:
mov [myvar],ecx
mov [ecx+5c],ecx
mov edx,[ebp-20]
jmp return
myvar:
dd 0
INJECT:
// blah blah
registersymbol(myvar) | Add address manually: [myvar]+4c
|
|
Back to top |
|
|
Mr.realdoge Advanced Cheater Reputation: 1
Joined: 01 Aug 2016 Posts: 56 Location: Lordran
|
Posted: Tue Nov 15, 2016 9:06 am Post subject: |
|
|
How do u use a negative offset?
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Nov 15, 2016 8:04 pm Post subject: |
|
|
With a minus sign?
|
|
Back to top |
|
|
|