View previous topic :: View next topic |
Author |
Message |
nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Sun Mar 12, 2017 5:46 am Post subject: CMP Not working? |
|
|
Hi guys,
My CMP isn't working for some reason can anyone see what is wrong:
cheat:
cmp [rbx+0000014],00003653
jne code
mov [rbx+000001A0],(float)-500
jmp return
RBX+14 is a 4 byte value that is 3653 but it always takes the JNE route?
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sun Mar 12, 2017 6:04 am Post subject: |
|
|
3653 decimal or hex? If decimal use this:
cmp [rbx+0000014],(int)3653
or
cmp [rbx+0000014],#3653
_________________
|
|
Back to top |
|
|
nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Sun Mar 12, 2017 6:25 am Post subject: |
|
|
mgr.inz.Player wrote: | 3653 decimal or hex? If decimal use this:
cmp [rbx+0000014],(int)3653
or
cmp [rbx+0000014],#3653 |
I am not sure what it is, I have it in cheat engine and in the structure viewer and it shows:
No Description 2008f7229c8 4 bytes 3563
None of the above worked still taking the not equal route, any other ideas?
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Mar 12, 2017 6:30 am Post subject: |
|
|
cmp qword ptr
cmp dword ptr
cmp word ptr
cmp byte ptr
Maybe is your problem?
Also, you did not answer mgr.inz.Player -- whether or not the value is hexadecimal or decimal.
Looks like decimal, though, which would definitely be a problem.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Mar 12, 2017 6:31 am Post subject: |
|
|
What you just wrote said the value was 3563, not 3653 like you said before.
Make sure you comparing it against the correct value...
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Mar 12, 2017 6:33 am Post subject: |
|
|
lol
The Zanzer 5000 error detection.
Good catch.
|
|
Back to top |
|
|
nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Sun Mar 12, 2017 6:33 am Post subject: |
|
|
++METHOS wrote: | cmp qword ptr
cmp dword ptr
cmp word ptr
cmp byte ptr
Maybe is your problem?
Also, you did not answer mgr.inz.Player -- whether or not the value is hexadecimal or decimal.
Looks like decimal, though, which would definitely be a problem. |
I am not sure what you mean in the first bit?
I did answer him I said I'm not sure, it only shows 4 bytes and that value, how can I tell if it's hex or dec? Either way I tried comparing both ways and it still doesn't take that route.
What do you think I need to change to make it work?
|
|
Back to top |
|
|
nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Sun Mar 12, 2017 6:34 am Post subject: |
|
|
Zanzer wrote: | What you just wrote said the value was 3563, not 3653 like you said before.
Make sure you comparing it against the correct value... |
Sorry it is 3653, I was just typing that out and made that error, defo comparing to 3653 and that's whats showing in that address.
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Mar 12, 2017 6:43 am Post subject: |
|
|
Code: | cmp dword ptr [rbx+0000014],#3653
jne code |
If this is not working, then you must be doing something wrong.
|
|
Back to top |
|
|
nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Sun Mar 12, 2017 6:55 am Post subject: |
|
|
[quote="++METHOS"] Code: | cmp dword ptr [rbx+0000014],#3653
jne code |
Got it, I was the following the "base pointer is most likely this...." but actually RBX was 4 bytes out.
Working fine now thanks
|
|
Back to top |
|
|
crashoverride93 Advanced Cheater Reputation: 0
Joined: 04 Aug 2015 Posts: 61
|
Posted: Sun Mar 12, 2017 12:19 pm Post subject: |
|
|
[quote="nero1232"] ++METHOS wrote: | Code: | cmp dword ptr [rbx+0000014],#3653
jne code |
Got it, I was the following the "base pointer is most likely this...." but actually RBX was 4 bytes out.
Working fine now thanks |
I havent seen rbx before is that a 64 bit register
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Mar 12, 2017 12:38 pm Post subject: |
|
|
Yes.
|
|
Back to top |
|
|
rog9001 Expert Cheater Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Tue Mar 14, 2017 2:24 am Post subject: |
|
|
Idk if u got your cmp to work but try putting a pushf and a popf. Maybe that will help.
|
|
Back to top |
|
|
|