Yeh, no idea wtf is going on, the last time I had tested the scripts everything worked fine and now , some days later, god & ghost mode are broken (maybe more?)..there wasn't even a game update..
Really strange but I'll upload a fixed version in some hours.
Here are the two fixed scripts if don't want to wait.
God Mode:
Code: Select all
define(address,Player:InGodMode+b)
define(bytes,0F B6 80 51 05 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$100,Player:InGodMode+b)
alloc(RESTORE_InGodMode,8)
label(code)
label(return)
newmem:
mov [RESTORE_InGodMode],rax
mov [rax+00000551],#1
code:
movzx eax,byte ptr [rax+00000551]
jmp return
address:
jmp newmem
nop 2
return:
registersymbol(RESTORE_InGodMode)
[DISABLE]
{$lua}
writeInteger('[RESTORE_InGodMode]+551',0)
{$asm}
unregistersymbol(RESTORE_InGodMode)
dealloc(RESTORE_InGodMode,8)
address:
db bytes
// movzx eax,byte ptr [rax+00000551]
dealloc(newmem)
Stealth + God Mode:
Code: Select all
define(address,Player:InGhostMode+b)
define(bytes,0F B6 80 52 05 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$100,Player:InGhostMode+b)
alloc(RESTORE_InGhostMode,8)
label(code)
label(return)
newmem:
mov [RESTORE_InGhostMode],rax
mov [rax+00000552],#1
code:
movzx eax,byte ptr [rax+00000552]
jmp return
address:
jmp newmem
nop 2
return:
registersymbol(RESTORE_InGhostMode)
[DISABLE]
{$lua}
writeInteger('[RESTORE_InGhostMode]+552',0)
{$asm}
unregistersymbol(RESTORE_InGhostMode)
dealloc(RESTORE_InGhostMode,8)
address:
db bytes
// movzx eax,byte ptr [rax+00000552]
dealloc(newmem)