[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,46934CBB)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
cmp [rsi+68],33
jne originalcode
nop
nop
nop
nop
nop
nop
jmp exit
originalcode:
movss [rsi+2C],xmm15
exit:
jmp returnhere
46934CBB:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
46934CBB:
movss [rsi+2C],xmm15
//Alt: db F3 44 0F 11 7E 2C
What could be the issue ? - I tried many other Offsets and nothing works, maybe i'm doing it wrong ?
This is a dynamic address so every time you restart the game you'll have to adjust the script's injection location. Use Templates->AOB Injection instead.
Btw: All the "nop"s in your newmem-part are not necessary.
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