| View previous topic :: View next topic |
| Author |
Message |
Eraser Grandmaster Cheater
Reputation: 0
Joined: 23 Jul 2008 Posts: 504 Location: http://www.youtube.com/PCtrainers
|
Posted: Tue Nov 27, 2012 10:41 am Post subject: AOB disable part doesn't work |
|
|
Enabling it works fine but I can't disable it as it says this address specifier is invalid (cameratop). Can anyone tell me how to fix the disable part?
| Code: | [enable]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
aobscan(cameratop,C7 82 24 03 00 00 00 40 3C 45)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
db 90 90 90 90 90 90 90 90 90 90
exit:
jmp returnhere
cameratop:
jmp newmem
nop
nop
nop
nop
nop
returnhere:
[disable]
cameratop:
mov[edx+00000324],453C4000 |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Tue Nov 27, 2012 11:28 am Post subject: |
|
|
you need to register the address of cameratop
And to register that address you need to define it as a label first
so try this:
| Code: |
[enable]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
label(cameratop)
registersymbol(cameratop)
aobscan(_cameratop,C7 82 24 03 00 00 00 40 3C 45)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
db 90 90 90 90 90 90 90 90 90 90
exit:
jmp returnhere
_cameratop:
cameratop:
jmp newmem
nop
nop
nop
nop
nop
returnhere:
[disable]
cameratop:
mov[edx+00000324],453C4000
unregistersymbol(cameratop)
|
_________________
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
Last edited by Dark Byte on Tue Nov 27, 2012 2:34 pm; edited 1 time in total |
|
| Back to top |
|
 |
Eraser Grandmaster Cheater
Reputation: 0
Joined: 23 Jul 2008 Posts: 504 Location: http://www.youtube.com/PCtrainers
|
Posted: Tue Nov 27, 2012 2:33 pm Post subject: |
|
|
Oh I see now, thanks for them help, worked nicely
|
|
| Back to top |
|
 |
|