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 


Prey crashes on breakpoint

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

Joined: 14 Aug 2007
Posts: 42

PostPosted: Sun Sep 09, 2007 12:50 pm    Post subject: Prey crashes on breakpoint Reply with quote

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
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Sun Sep 09, 2007 6:11 pm    Post subject: Reply with quote

Probably because hardware/software BP's are detected.
_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Sun Sep 09, 2007 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NotMyBug
Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 42

PostPosted: Mon Sep 10, 2007 6:44 am    Post subject: Reply with quote

kernelmode debugging worked for
write and access breakpoints.

But how can I set normal
breakpoints then?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Mon Sep 10, 2007 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Toxic Lullaby
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2007
Posts: 541

PostPosted: Mon Sep 10, 2007 5:20 pm    Post subject: Reply with quote


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
View user's profile Send private message
NotMyBug
Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 42

PostPosted: Tue Sep 11, 2007 6:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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