| View previous topic :: View next topic |
| Author |
Message |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Fri Feb 25, 2022 2:45 am Post subject: |
|
|
readInteger(EBP+0xC) == 0x200888
_________________
Last edited by TheyCallMeTim13 on Fri Feb 25, 2022 3:43 am; edited 1 time in total |
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Fri Feb 25, 2022 2:48 am Post subject: |
|
|
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 .
|
|
| Back to top |
|
 |
skynet888 !BEWARE! Deletes post on answer
Reputation: 1
Joined: 12 Apr 2021 Posts: 82
|
Posted: Fri Feb 25, 2022 5:59 am Post subject: |
|
|
| 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 |
|
 |
skynet888 !BEWARE! Deletes post on answer
Reputation: 1
Joined: 12 Apr 2021 Posts: 82
|
Posted: Sat Feb 26, 2022 12:06 am Post subject: |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 473
Joined: 09 May 2003 Posts: 25911 Location: The netherlands
|
Posted: Sat Feb 26, 2022 8:55 am Post subject: |
|
|
(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 |
|
 |
skynet888 !BEWARE! Deletes post on answer
Reputation: 1
Joined: 12 Apr 2021 Posts: 82
|
Posted: Sat Feb 26, 2022 6:11 pm Post subject: |
|
|
| 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 |
|
 |
|