View previous topic :: View next topic |
Author |
Message |
redleouf Advanced Cheater Reputation: 0
Joined: 13 Feb 2013 Posts: 76
|
Posted: Fri Feb 22, 2013 2:34 pm Post subject: Debugger crash my game |
|
|
Hello !
I have a little (big) problem with the game Crysis 3 that I am trying to hack.
Everytime I launch the debugger to find what write or access an address, the game just crash. (Crysis3.exe has stop working)
More precisely, it seems to crash when it found an instruction. Just before the instruction pop up, the game crash
Do you have any idea why this is happening ?
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri Feb 22, 2013 3:06 pm Post subject: |
|
|
Use different debuggers.
VEH debugger (should work).
_________________
|
|
Back to top |
|
|
redleouf Advanced Cheater Reputation: 0
Joined: 13 Feb 2013 Posts: 76
|
Posted: Fri Feb 22, 2013 6:10 pm Post subject: |
|
|
Yep ! It is working !
Thank you !
EDIT :
I have an other problem now... I've made some assembler scripts, they works fine, but my game close by itself (not even an error this time) a few seconds after any of my scripts have been enabled. Is it possible that there is some kind of protection ?
I dont think the code of my scripts have something to do with that, they seems good to me :
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [edx+14],#999
originalcode:
mov eax,[edx+14]
ret 0004
exit:
jmp returnhere
"Crysis3.exe"+2986E4:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Crysis3.exe"+2986E4:
mov eax,[edx+14]
ret 0004
//Alt: db 8B 42 14 C2 04 00 |
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [eax+04],#999
originalcode:
mov eax,[eax+04]
pop edi
pop esi
exit:
jmp returnhere
"Crysis3.exe"+6C8B1A:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Crysis3.exe"+6C8B1A:
mov eax,[eax+04]
pop edi
pop esi
//Alt: db 8B 40 04 5F 5E |
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
|
Back to top |
|
|
redleouf Advanced Cheater Reputation: 0
Joined: 13 Feb 2013 Posts: 76
|
Posted: Sat Feb 23, 2013 5:06 am Post subject: |
|
|
Thank you, I am going to take a look
|
|
Back to top |
|
|
|