| View previous topic :: View next topic |
| Author |
Message |
NotMyBug Cheater
Reputation: 0
Joined: 14 Aug 2007 Posts: 42
|
Posted: Sun Sep 09, 2007 12:50 pm Post subject: Prey crashes on breakpoint |
|
|
Hi there,
I use CE 5.3 to set a
breakpoint on an address.
But when the address is
accessed the game crashes.
This are my settings:


I don't have any plugins installed.
I use Prey 1.3.
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Sun Sep 09, 2007 6:11 pm Post subject: |
|
|
Probably because hardware/software BP's are detected.
_________________
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25953 Location: The netherlands
|
Posted: Sun Sep 09, 2007 6:50 pm Post subject: |
|
|
try kernelmode debugging.
problem is that you can't set a normal breakpoint then, but it does allow you to find what accesses and writes.
and you can try saving states of the registers using code redirection
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
NotMyBug Cheater
Reputation: 0
Joined: 14 Aug 2007 Posts: 42
|
Posted: Mon Sep 10, 2007 6:44 am Post subject: |
|
|
kernelmode debugging worked for
write and access breakpoints.
But how can I set normal
breakpoints then?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25953 Location: The netherlands
|
Posted: Mon Sep 10, 2007 8:36 am Post subject: |
|
|
that's something being worked on... (since it needs to be written from scratch because the windows api can't be used here)
anyhow, you could use some codeinjection instead of a breakpoint and then save the registers to a static address. Of course, requires a bit more planning, and stepping through the code isn't possible
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Toxic Lullaby Grandmaster Cheater
Reputation: 1
Joined: 25 Apr 2007 Posts: 541
|
Posted: Mon Sep 10, 2007 5:20 pm Post subject: |
|
|
Sometimes you get these problems because of the game's copyright protection.
If you want to use hardware breakpoints you can try the cracked version of the game.
Just be sure to backup your original exe and any other files it overwrites.
If it still doesn't work, your only option is to do what Dark_Byte said.
_________________
|
|
| Back to top |
|
 |
NotMyBug Cheater
Reputation: 0
Joined: 14 Aug 2007 Posts: 42
|
Posted: Tue Sep 11, 2007 6:11 am Post subject: |
|
|
As I want to write a trainer for the retail version
using a crack is no option for me.
So I will try Dark Bytes solution.
|
|
| Back to top |
|
 |
|