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 


Can CE recognize such conditional breakpoints[EBP+0xC]==0x20

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Fri Feb 25, 2022 2:45 am    Post subject: This post has 1 review(s) Reply with quote

readInteger(EBP+0xC) == 0x200888
_________________


Last edited by TheyCallMeTim13 on Fri Feb 25, 2022 3:43 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Fri Feb 25, 2022 2:48 am    Post subject: Reply with quote

I'm not sure what is acceptable as LUA format but I just use these functions within the Lua Engine window:
Code:

function debugger_onBreakpoint()
  local value = EBP
  if value == 0x200E88 then
    -- Whatever you want to do when the breakpoint is triggered.
    print(string.format("%X", EBP))
  else
    -- Didn't match condition so return.
    return 1
  end
end

-- Where address is the address you want to set the breakpoint.
debug_setBreakpoint(address)


For further reading you can check the wiki.

Edit: TheyCallMeTim13 beat me to it haha. Nevertheless, it's always good have more than one way of doing things Smile.
Back to top
View user's profile Send private message
skynet888
!BEWARE! Deletes post on answer
Reputation: 1

Joined: 12 Apr 2021
Posts: 82

PostPosted: Fri Feb 25, 2022 5:59 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
readInteger(EBP+0xC) == 0x200888


Love you, Senpai. I've checked the official tutorials many times and couldn't find the answer to this question. Thank you for your reply which solved my problem. I modified the expression in your first reply several times and it finally passed. But you still corrected it responsibly. I am very impressed by your kindness and responsibility.
Back to top
View user's profile Send private message
skynet888
!BEWARE! Deletes post on answer
Reputation: 1

Joined: 12 Apr 2021
Posts: 82

PostPosted: Sat Feb 26, 2022 12:06 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
readInteger(EBP+0xC) == 0x200888

This syntax does not seem to support the 16-bit register AX。How to express "AX==0x3300"?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

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

PostPosted: Sat Feb 26, 2022 8:55 am    Post subject: Reply with quote

(EAX & 0xffff)==xxx
_________________
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
skynet888
!BEWARE! Deletes post on answer
Reputation: 1

Joined: 12 Apr 2021
Posts: 82

PostPosted: Sat Feb 26, 2022 6:11 pm    Post subject: Reply with quote

Dark Byte wrote:
(EAX & 0xffff)==xxx

Oh! The legendary figure has appeared! So fantastic, so incredible! 20 years ago, we ordinary people couldn't even imagine that we could connect to the legendary people! But now, one of my idols, whose work I've only seen, but never met in person, has replied to me! It's an miraculous feeling!
PS: About ten years ago, we all had the impression that a grandmaster must be serious and starchy. But after looking at your avatar - haha, so cute! I always insist: the person who uses a kawaii avatar, he himself must be as kawaii as the avatar! Because when I see a reply, I can't help but imagine that avatar is replying❗
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