Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Debugger crash my game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
redleouf
Advanced Cheater
Reputation: 0

Joined: 13 Feb 2013
Posts: 76

PostPosted: Fri Feb 22, 2013 2:34 pm    Post subject: Debugger crash my game Reply with quote

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 Confused

Do you have any idea why this is happening ?
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Fri Feb 22, 2013 3:06 pm    Post subject: Reply with quote

Use different debuggers.
VEH debugger (should work).

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
redleouf
Advanced Cheater
Reputation: 0

Joined: 13 Feb 2013
Posts: 76

PostPosted: Fri Feb 22, 2013 6:10 pm    Post subject: Reply with quote

Yep ! It is working !

Thank you ! Smile

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Fri Feb 22, 2013 7:11 pm    Post subject: Reply with quote

check out this topic: http://forum.cheatengine.org/viewtopic.php?t=562725
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
redleouf
Advanced Cheater
Reputation: 0

Joined: 13 Feb 2013
Posts: 76

PostPosted: Sat Feb 23, 2013 5:06 am    Post subject: Reply with quote

Thank you, I am going to take a look Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites