Posted: Mon Jul 29, 2013 1:42 pm Post subject: Is this a good script?
I just made this for Shadowrun players health
i found out that i should change the opcode value which changes when i restart the game with ? , i dont even know if this is a good script or not
i kept trying to change the codes and stuff but the game was always crashing so i just replaced everything with nop lol .But its working perfectly tho .
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
registersymbol(aob4)
aobscan(aob4, 89 87 88 00 00 00 39 3F 8B 05 B4 ?A ?? 1? 89 85 FC FE FF FF 0F B6 87 97 01 00 00 85 C0 74 25 8B 05 B8 ?A ?? 1?)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
nop
originalcode:
nop
nop
nop
nop
nop
exit:
jmp returnhere
aob4:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
aob4:
mov [edi+00000088],eax
unregistersymbol(aob4)"
If its working then sure its good script.
But you dont need allocate memory since you're nopping the opcode.
You could just scan and replcae its with 0x90 (NOP) _________________
I'm rusty and getting older, help me re-learn lua.
If its working then sure its good script.
But you dont need allocate memory since you're nopping the opcode.
You could just scan and replcae its with 0x90 (NOP)
So same code but i should remove allocate memory , Thanks .
Signatures that do not cover the injection point are great too. This allows to toggle a hack regardless of whether it has already been applied or not (you enabled script, then you closed CE, and after a while you want to disable cheat, just launch CE again, enable script then disable)
Your current array of byte seems to be long enough for this version too:
Code:
[ENABLE]
aobscan(aob4, 39 3F 8B 05 B4 ?A ?? 1? 89 85 FC FE FF FF 0F B6 87 97 01 00 00 85 C0 74 25 8B 05 B8 ?A ?? 1?) // I removed 6 first bytes, aob4 will point at location+6
registersymbol(aob4)
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