| View previous topic :: View next topic |
| Author |
Message |
danrevella Master Cheater
Reputation: 2
Joined: 11 Jun 2008 Posts: 292
|
Posted: Thu Jan 07, 2016 11:11 am Post subject: break a game with hotkey and enter in debugger directelly |
|
|
Hi!!!
Many time I would like to break a game and landing into debugger in some situation: f.e. a few moment before a enemy hit me....
But the problem is that I don't know where I have to put a breakpoint.
So I would like: define an hotkey who pause the game, then auto-set a breakpoint on the return address when the game is unpaused.
CE does support setting an hotkey to pause the game, and then pressing again the game resume, this means that CE know EXACTLY at what address have to resume, so I think why not give us the opportunity to enter directelly in the debugger?
It may be really usefull many times.
I have post under Lua scripting, coz I think this may be released in Lua.
Thanks |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Thu Jan 07, 2016 12:47 pm Post subject: |
|
|
I'm not sure that this would help you much with the situation that you have described, as the game could be executing any random code at the time of pause.
Better to use ultimap and find the call that gets executed during enemy attack sequence or something. |
|
| Back to top |
|
 |
danrevella Master Cheater
Reputation: 2
Joined: 11 Jun 2008 Posts: 292
|
Posted: Thu Jan 07, 2016 5:19 pm Post subject: |
|
|
| ++METHOS wrote: | I'm not sure that this would help you much with the situation that you have described, as the game could be executing any random code at the time of pause.
Better to use ultimap and find the call that gets executed during enemy attack sequence or something. |
In the time of pause (I mean process suspended, not speed hack set to 0.0), no code is executed, and when I resume I land exactelly where I was...
If an enemy have just hit me, for sure the code that will be executed, will be the code who kill me.
BTW in the time of Win95 this job was perfectly working using Softice as debugger.
Ultimap unfortunelly on my computer give only many and many BSOD...
and even worse, it's always better get another chance......... |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25834 Location: The netherlands
|
Posted: Thu Jan 07, 2016 5:25 pm Post subject: |
|
|
the code that gets executed after resume can also be the code responsible for playing music, rendering pixels on the screen, dealing with animations, dealing with input, dealing with loss of keyboard focus, or anything else related
and that's not even counting threads _________________
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 |
|
 |
danrevella Master Cheater
Reputation: 2
Joined: 11 Jun 2008 Posts: 292
|
Posted: Fri Jan 08, 2016 1:25 am Post subject: |
|
|
| Dark Byte wrote: | the code that gets executed after resume can also be the code responsible for playing music, rendering pixels on the screen, dealing with animations, dealing with input, dealing with loss of keyboard focus, or anything else related
and that's not even counting threads |
Ok, as always it was not a good idea......
many thanks |
|
| Back to top |
|
 |
|