View previous topic :: View next topic |
Author |
Message |
Kancho How do I cheat? Reputation: 0
Joined: 04 Apr 2017 Posts: 5
|
Posted: Wed Apr 05, 2017 12:03 am Post subject: Please help me. Conditional breakpoint |
|
|
The first time I came here, my English is not good, but I have a question about the conditional breakpoint, and I want to know how to judge whether the [esp] is equal to the one I expect at the conditional breakpoint It includes all the usage, for example, and I only know these || ~ = = = Thank you
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25291 Location: The netherlands
|
Posted: Wed Apr 05, 2017 2:26 am Post subject: |
|
|
use as condition:
Code: |
readInteger(ESP)==0x789abcd0
|
_________________
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 |
|
|
Kancho How do I cheat? Reputation: 0
Joined: 04 Apr 2017 Posts: 5
|
Posted: Wed Apr 05, 2017 2:31 am Post subject: |
|
|
Dark Byte wrote: | use as condition:
Code: |
readInteger(ESP)==0x789abcd0
|
|
谢谢
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Wed Apr 05, 2017 1:40 pm Post subject: |
|
|
For Lua, the following is how to check for equal and not equal:
Equality:
Code: | readInteger(ESP) == 0x789abcd0 |
Inequality (not equal):
Code: | readInteger(ESP) ~= 0x789abcd0 |
Other operators would depend on what you are trying to check against.
&& which usually refers to 'logical and' is handled via the 'and' keyword in Lua.
|| which usually refers to 'logical or' is handled via the 'or' keyword in Lua.
! which usually refers to 'logical not' is handled via the '~' operator in Lua. (ie. ~= means 'not equal')
Other operators such as:
< (less than)
> (greater than)
<= (lass than or equal to)
>= (greater than or equal to)
are used in the same manner in Lua with no changes needed.
_________________
- Retired. |
|
Back to top |
|
|
Kancho How do I cheat? Reputation: 0
Joined: 04 Apr 2017 Posts: 5
|
Posted: Wed Apr 05, 2017 9:20 pm Post subject: |
|
|
It's difficult for me to read English, but thank you, because I have already used it
|
|
Back to top |
|
|
Genosefur How do I cheat? Reputation: 0
Joined: 28 Apr 2017 Posts: 1
|
Posted: Fri Apr 28, 2017 12:56 am Post subject: |
|
|
I’m very grateful for you help.
|
|
Back to top |
|
|
|