| View previous topic :: View next topic |
| Author |
Message |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Mon Jun 02, 2014 3:45 pm Post subject: Messsed up code Help Plxx |
|
|
When i enable / disable my code it ruins the code so the game crashes
also how
i just want to be sure
even if i add bytes of other codes that i dont want to edit just to help aobscan with finding the code, it dosent change or effect them at all does it?
that could be my problem right now
| Code: |
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(_uss)
registersymbol(_uss)
aobscanmodule(aobscc,WolfNewOrder_x64.exe,?? ?? C1 89 43 20 48 8B 5C 24 30)
newmem:
mov eax,1E
originalcode:
//cmovg eax,ecx
mov [rbx+20],eax
exit:
jmp returnhere
aobscc:
_uss:
jmp newmem // so instead of cmovg eax,ecx = jmp newmem?
nop // instead of mov [rbx+20],eax = nop?
returnhere:
[DISABLE]
dealloc(newmem)
_uss:
cmovg eax,ecx
mov [rbx+20],eax
unregistersymbol(_uss)
//Alt: db 89 43 20 48 8B 5C 24 30 |
| Description: |
left picture is the clean code uneffected
right one is efter i enable my script and disable it again |
|
| Filesize: |
7.88 KB |
| Viewed: |
4154 Time(s) |

|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Mon Jun 02, 2014 4:27 pm Post subject: |
|
|
try
| Code: |
alloc(newmem,2048, WolfNewOrder_x64.exe)
|
the code injection template should have done that for you
_________________
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 |
|
| Back to top |
|
 |
Daijobu Master Cheater
Reputation: 13
Joined: 05 Feb 2013 Posts: 301 Location: the Netherlands
|
Posted: Mon Jun 02, 2014 4:32 pm Post subject: |
|
|
edit: what dark_byte wrote. *flies away*
I'm halfway to drunk so forgive me if I've missed something.
The code on DISABLE is 6 bytes long requiring one nop. Which is set correct.
You've adjusted the script as it originally was:
| Code: | mov [rbx+20],eax
mov rbx,[rsp+30] |
Something might have goofed there.
Try putting back the bytes instead of the code at [DISABLE]:
| Code: | [DISABLE]
dealloc(newmem)
_uss:
db 0F 4F C1 89 43 20
unregistersymbol(_uss)
|
_________________
|
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Mon Jun 02, 2014 4:39 pm Post subject: |
|
|
Thx DarkByte It works but what difference that make?
why did that work?
Daijubo
thx mate i,m a bit afraid of using db array of bytes because i belive the first 2 bytes are wildcards so that would mess with my code
|
|
| Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
|
| Back to top |
|
 |
NanoByte Expert Cheater
Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Tue Jun 03, 2014 1:23 am Post subject: |
|
|
Ohh nice, Thanks Justa_Dude Hehe
|
|
| Back to top |
|
 |
|