| View previous topic :: View next topic |
| Author |
Message |
PinPoint Expert Cheater
Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Thu Aug 11, 2016 3:00 am Post subject: |
|
|
is it the address you want to compare?
if you are getting the address for "grabber" from a register why not compare to that register instead?
or you could use lea eax,[grabber]...then compare to that register. might need to push/pop though
Last edited by PinPoint on Thu Aug 11, 2016 5:17 am; edited 1 time in total |
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Aug 11, 2016 5:12 am Post subject: |
|
|
You can't use double brackets in assembly. It might've worked in your Lua script.
| Code: | push eax
mov eax,[grabber]
cmp [grabber],Module+18ACDC
pop eax
jne blah |
|
|
| Back to top |
|
 |
cooleko Grandmaster Cheater
Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Thu Aug 11, 2016 5:43 am Post subject: |
|
|
| Zanzer wrote: | You can't use double brackets in assembly. It might've worked in your Lua script.
| Code: | push eax
mov eax,[grabber]
cmp [eax],Module+18ACDC
pop eax
jne blah |
|
Ftfy
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Aug 11, 2016 6:54 am Post subject: |
|
|
| Oops
|
|
| Back to top |
|
 |
Stacktrace Expert Cheater
Reputation: 1
Joined: 04 Jul 2015 Posts: 105
|
Posted: Fri Aug 12, 2016 5:01 am Post subject: |
|
|
| Zanzer wrote: | You can't use double brackets in assembly. It might've worked in your Lua script.
| Code: | push eax
mov eax,[grabber]
cmp [grabber],Module+18ACDC
pop eax
jne blah |
|
it literally compared the exact same thing as when I tried, this is making my brain explode. Well, I found a workaround but thanks guys!
|
|
| Back to top |
|
 |
|