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 


Breakpoint Condition

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
nospamforme9
How do I cheat?
Reputation: 0

Joined: 26 Jun 2011
Posts: 4

PostPosted: Sat Jul 16, 2011 12:16 pm    Post subject: Breakpoint Condition Reply with quote

Hello,

I can use an easy breakpoint condition perfectly fine. For example "EAX == 0x00000000".
Now I'd like to break on 2 conditions. For example "EAX == 0x00000000" and "CL = 0x01".
I tried to put both lines in the complex breakpoint condition box, but it doesn't work.

How can I make this work?

Thanks Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jul 16, 2011 2:35 pm    Post subject: Reply with quote

it doesn't know CL, but it does know ECX , ECX % 256 should return the CL value
_________________
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
nospamforme9
How do I cheat?
Reputation: 0

Joined: 26 Jun 2011
Posts: 4

PostPosted: Sat Jul 16, 2011 6:56 pm    Post subject: Reply with quote

Thanks Dark Byte. That helped, but it didn't fully solve my problem.

When I use for example "ECX % 256 == 0x06" or any other simple condition in the simple condition box it works fine.
When I put thesame condition in the complex condition box it doesn't work.

What I'm trying to do is break on 2 conditions. Seperately they work in the easy condition box. But I'd like to put them together.
if (condition1 AND condition2) break

Thx again


PS: If documentation about this exists, please refer me to it.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jul 16, 2011 7:19 pm    Post subject: Reply with quote

braces can help

try : ((condition1) and ((ECX % 256) == 0x06))

in math the and operator is always evaluated before most other things, which can cause confusion if the brackets are set at the wrong spot

_________________
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
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