retrocheats How do I cheat? Reputation: 0
Joined: 14 May 2024 Posts: 8
|
Posted: Tue May 14, 2024 9:38 am Post subject: Error while scanning for AOB. Works fine til I restart |
|
|
Got any advice on making a code that allows for a game restart?
This script lets me break blocks instantly.
{ Game : javaw.exe
Version:
Date : 2024-05-14
Author : Hylians
This script does blah blah blah
}
[ENABLE]
aobscan(instabreak,C5 FA 11 4A 20 * * * * 2 // should be unique
alloc(newmem,$1000,instabreak)
label(code)
label(return)
newmem:
code:
mov [rdx+20],(float)1
jmp return
instabreak:
jmp newmem
return:
registersymbol(instabreak)
[DISABLE]
instabreak:
db C5 FA 11 4A 20
unregistersymbol(instabreak)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 030A06A9
030A0689: 90 - nop
030A068A: 90 - nop
030A068B: 90 - nop
030A068C: 90 - nop
030A068D: 90 - nop
030A068E: 90 - nop
030A068F: E8 0C 0F 35 00 - call 033F15A0
030A0694: C5 FA 10 8C 24 D8 00 00 00 - vmovss xmm1,[rsp+000000D8]
030A069D: C5 F2 58 C8 - vaddss xmm1,xmm1,xmm0
030A06A1: 48 8B 94 24 98 00 00 00 - mov rdx,[rsp+00000098]
// ---------- INJECTING HERE ----------
030A06A9: C5 FA 11 4A 20 - vmovss [rdx+20],xmm1
// ---------- DONE INJECTING ----------
030A06AE: C5 FA 10 42 28 - vmovss xmm0,[rdx+28]
030A06B3: C5 FA 10 0D E5 FB FF FF - vmovss xmm1,[030A02A0]
030A06BB: C5 FA 11 0C 24 - vmovss [rsp],xmm1
030A06C0: D9 04 24 - fld dword ptr [rsp]
030A06C3: C5 FA 11 04 24 - vmovss [rsp],xmm0
030A06C8: D9 04 24 - fld dword ptr [rsp]
030A06CB: 50 - push rax
030A06CC: D9 F8 - fprem
030A06CE: 9B DF E0 - wait:fstsw ax
030A06D1: A9 00 04 00 00 - test eax,00000400
|
|