 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
mussiam How do I cheat?
Reputation: 0
Joined: 05 Dec 2015 Posts: 3
|
Posted: Sat Dec 05, 2015 2:36 pm Post subject: My game crash when i inject my code even with the original |
|
|
My game crash when i inject my code even with the original code.
here is the script :
[ENABLE]
aobscan(INJECT,89 79 24 45 85 C0) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [rcx+24],edi
test r8d,r8d
jmp return
INJECT:
jmp code
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 89 79 24 45 85 C0
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "RainbowSix.exe"+DAF32C
"RainbowSix.exe"+DAF306: 48 83 EC 20 - sub rsp,20
"RainbowSix.exe"+DAF30A: 49 63 C0 - movsxd rax,r8d
"RainbowSix.exe"+DAF30D: 48 8B F1 - mov rsi,rcx
"RainbowSix.exe"+DAF310: 8B FA - mov edi,edx
"RainbowSix.exe"+DAF312: 48 8B 8C C1 88 00 00 00 - mov rcx,[rcx+rax*8+00000088]
"RainbowSix.exe"+DAF31A: 48 85 C9 - test rcx,rcx
"RainbowSix.exe"+DAF31D: 0F 84 C8 00 00 00 - je RainbowSix.exe+DAF3EB
"RainbowSix.exe"+DAF323: 45 33 C9 - xor r9d,r9d
"RainbowSix.exe"+DAF326: 85 D2 - test edx,edx
"RainbowSix.exe"+DAF328: 41 0F 48 F9 - cmovs edi,r9d
// ---------- INJECTING HERE ----------
"RainbowSix.exe"+DAF32C: 89 79 24 - mov [rcx+24],edi
"RainbowSix.exe"+DAF32F: 45 85 C0 - test r8d,r8d
// ---------- DONE INJECTING ----------
"RainbowSix.exe"+DAF332: 75 4F - jne RainbowSix.exe+DAF383
"RainbowSix.exe"+DAF334: 8B 0D 4E 1E 46 05 - mov ecx,[RainbowSix.exe+6211188]
"RainbowSix.exe"+DAF33A: 65 48 8B 04 25 58 00 00 00 - mov rax,gs:[00000058]
"RainbowSix.exe"+DAF343: 48 8B 96 38 0A 00 00 - mov rdx,[rsi+00000A38]
"RainbowSix.exe"+DAF34A: 48 8B 04 C8 - mov rax,[rax+rcx*8]
"RainbowSix.exe"+DAF34E: 41 B8 50 00 00 00 - mov r8d,00000050
"RainbowSix.exe"+DAF354: 41 83 3C 00 02 - cmp dword ptr [r8+rax],02
"RainbowSix.exe"+DAF359: 74 0F - je RainbowSix.exe+DAF36A
"RainbowSix.exe"+DAF35B: 8B 42 0C - mov eax,[rdx+0C]
"RainbowSix.exe"+DAF35E: 25 00 00 00 80 - and eax,80000000
}
i don't know why :/
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Dec 05, 2015 3:03 pm Post subject: |
|
|
Trying moving your injection site up one instruction, at:
Or, instead of the original instructions, try using the bytes instead:
| Code: | code:
db 89 79 24 45 85 C0
jmp return |
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Dec 05, 2015 4:14 pm Post subject: |
|
|
This particular target has anti-cheat mechanisms that have been implemented to check memory integrity. As of right now, I am unable to get stealthedit to function properly via assembly script for x64 targets. I do not know if this is an isolated problem, or a problem with the plugin. Maybe you will have better success. If so, please post your findings. If not, you may resort to a workaround or make use of cheats that do not require injection.
I have no interest in this particular target, but I do with stealthedit for x64 targets, so if anyone is willing to test it and report back, I would appreciate it.
Thanks.
Edit:
Stealthedit does work for this target.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|