| View previous topic :: View next topic |
| Author |
Message |
Mr.realdoge Advanced Cheater
Reputation: 1
Joined: 01 Aug 2016 Posts: 56 Location: Lordran
|
Posted: Tue Nov 01, 2016 8:31 am Post subject: Need help with some auto assembly cuz im noobie |
|
|
So i tried to get the address of ebp in hero through this script
| Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
globalalloc(Hero,4)
Hero:
mov [Hero],ebp
newmem:
jmp originalcode //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [ebp+000002D4],eax
exit:
jmp returnhere
"DARKSOULS.exe"+A6891D:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
dealloc(Hero)
"DARKSOULS.exe"+A6891D:
mov [ebp+000002D4],eax |
But when I put the "Hero" in as a pointer with the offset 2D4 the value becomes "??" Help!!!!
|
|
| Back to top |
|
 |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Tue Nov 01, 2016 9:22 am Post subject: Re: Need help with some auto assembly cuz im noobie |
|
|
| Code: | [ENABLE]
alloc(newmem,2048)
globalalloc(Hero,4)
//registersymbol(Hero)
label(returnhere)
newmem:
mov [Hero],ebp
mov [ebp+000002D4],eax
jmp returnhere
"DARKSOULS.exe"+A6891D:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
//unregistersymbol(Hero)
"DARKSOULS.exe"+A6891D:
mov [ebp+000002D4],eax |
Last edited by Betcha on Thu Nov 03, 2016 10:13 am; edited 1 time in total |
|
| Back to top |
|
 |
Mr.realdoge Advanced Cheater
Reputation: 1
Joined: 01 Aug 2016 Posts: 56 Location: Lordran
|
Posted: Thu Nov 03, 2016 9:09 am Post subject: |
|
|
| Thanks m8 it worked but only without registering "Hero"
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Nov 03, 2016 9:20 am Post subject: |
|
|
| Don't need to registersymbol() when you use globalalloc().
|
|
| Back to top |
|
 |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Thu Nov 03, 2016 10:12 am Post subject: |
|
|
Woops.
Have no idea why i wrote ''registersymbol'' lol.
|
|
| Back to top |
|
 |
Mr.realdoge Advanced Cheater
Reputation: 1
Joined: 01 Aug 2016 Posts: 56 Location: Lordran
|
Posted: Thu Nov 03, 2016 11:05 am Post subject: |
|
|
K got it thanks guys
|
|
| Back to top |
|
 |
|