| View previous topic :: View next topic |
| Author |
Message |
bl4nk23 How do I cheat?
Reputation: 0
Joined: 20 Jul 2019 Posts: 3
|
Posted: Sat Jul 20, 2019 5:48 am Post subject: Changing a value to negative |
|
|
Hello,
So i have this problem, that i need to change a value to negative.
But when changing it, it becomes a big number like 4293967296.
Why does this happend? And is there any way to fix it?
|
|
| Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Sat Jul 20, 2019 6:50 am Post subject: |
|
|
| It's just a way of interpreting the binary representation of the number.
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4719
|
Posted: Sat Jul 20, 2019 8:55 am Post subject: |
|
|
Right click on the memory record in the address list (bottom half of main window) and select "show as signed".
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
bl4nk23 How do I cheat?
Reputation: 0
Joined: 20 Jul 2019 Posts: 3
|
Posted: Sat Jul 20, 2019 12:57 pm Post subject: |
|
|
| ParkourPenguin wrote: | | Right click on the memory record in the address list (bottom half of main window) and select "show as signed". |
It will just make it possible for me to search for it, it won't let me change a positive number to negative? or?
|
|
| Back to top |
|
 |
HitIer How do I cheat?
Reputation: 22
Joined: 09 Feb 2013 Posts: 0 Location: Location Location Location
|
Posted: Sat Jul 20, 2019 4:53 pm Post subject: |
|
|
| hhhuut wrote: | | It's just a way of interpreting the binary representation of the number. |
This is basically your answer here. Don't overthink it. You can change to negative values if the field in the game allows it. Otherwise it will usually revert to the nearest legal value.
_________________
With self driving cars, CE can work in real life
| t328163 wrote: | | Your username derives from the fact that this site cannot format special characters lol. |
| t328163 wrote: |
lmfao, on reddit i'd get banned |
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4719
|
Posted: Sat Jul 20, 2019 7:49 pm Post subject: |
|
|
In CE's settings menu under general settings, there should be an option that says "Show values as if they are signed". Click that, and it should do as it says when scanning for values.
The difference between signed and unsigned when viewing raw memory is open to interpretation. As far as computers are concerned, the 4-byte signed integer -1000 and unsigned integer 4294966296 are stored the same in memory.
Last I checked, you don't need to view a memory record as signed in order to change it to a negative value. CE will write it all the same, and just display it however it's set to.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
bl4nk23 How do I cheat?
Reputation: 0
Joined: 20 Jul 2019 Posts: 3
|
Posted: Mon Jul 22, 2019 10:01 am Post subject: |
|
|
| ParkourPenguin wrote: | In CE's settings menu under general settings, there should be an option that says "Show values as if they are signed". Click that, and it should do as it says when scanning for values.
The difference between signed and unsigned when viewing raw memory is open to interpretation. As far as computers are concerned, the 4-byte signed integer -1000 and unsigned integer 4294966296 are stored the same in memory.
Last I checked, you don't need to view a memory record as signed in order to change it to a negative value. CE will write it all the same, and just display it however it's set to. |
It didn't do it mate, sorry.
Thanks for trying to help
|
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1533
|
Posted: Tue Jul 23, 2019 2:04 pm Post subject: Re: Changing a value to negative |
|
|
| bl4nk23 wrote: | Hello,
So i have this problem, that i need to change a value to negative.
But when changing it, it becomes a big number like 4293967296.
Why does this happend? And is there any way to fix it? |
If you did not replace this value with a value such as "-1000",
(Or "-" Whatever)
Current value: You must have made a high value that 4 Bytes cannot carry.
cf. (Ekran12)
Perhaps the value you are looking for is not 4 Bytes, but 8 Bytes.
Check it out.
Also, if the value changes to the displayed number,
it is still your value.
cf. (Ekran13)
Because the known value of the minus is 8 Bytes.
-1000 = (Aobs) 18 FC FF FF FF FF FF FF
Of course, this number trades at 4 Bytes.
You can change the changed value again, plus and minus.
cf. (Ekran13)
| Description: |
|
| Filesize: |
135.62 KB |
| Viewed: |
13829 Time(s) |

|
| Description: |
|
| Filesize: |
87.66 KB |
| Viewed: |
13828 Time(s) |

|
_________________
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3338
|
Posted: Thu Jul 25, 2019 3:56 am Post subject: Re: Changing a value to negative |
|
|
| bl4nk23 wrote: | Hello,
So i have this problem, that i need to change a value to negative.
But when changing it, it becomes a big number like 4293967296.
Why does this happend? And is there any way to fix it? |
If you are looking at a negative signed value as if it were an unsigned value, yes, it will be most likely big.
Look into the binary representation of short, int, float, etc. The first bit is always the sign bit.
I also recommend a tutorial on two's complement.
Google that. If you take a number, get its two's complement and add 1, you have the negative.
|
|
| Back to top |
|
 |
|