View previous topic :: View next topic |
Author |
Message |
OFzatt How do I cheat?
Reputation: 0
Joined: 04 May 2015 Posts: 6
|
Posted: Sun Oct 14, 2018 8:20 pm Post subject: Noob question? Why i can set a negative value? |
|
|
Hello, i want to hack but i cant set a negative value. My purpose is to set a number like -99999 when buying an item, so that I can get the positive balance when the server executes. But when I set a negative number, it does not accept and jumps to another positive number. I also tried putting 1-99999 but still not. What should I do?
Last edited by OFzatt on Mon Oct 15, 2018 4:34 am; edited 1 time in total |
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4697
|
Posted: Sun Oct 14, 2018 8:38 pm Post subject: |
|
|
Positive numbers can be mapped to negative numbers via certain operations.
Under two's compliment, the 4-byte values -99,999 and 4,294,867,297 have the same bit representation in memory. The only difference between them is conceptual: one is unsigned while the other is signed.
Right click a memory record in the address list and select "Show as signed" to interpret an integral value type as signed.
If the game itself is treating the value as unsigned, you're likely SOL.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
OFzatt How do I cheat?
Reputation: 0
Joined: 04 May 2015 Posts: 6
|
Posted: Sun Oct 14, 2018 8:46 pm Post subject: |
|
|
Thanks, yes it show 4294867297, when i choice "show as signed" and set -99999, it work. But the app cant handle. It seems the value is still 4294867297, is a big number and I can not buy it. if i set to 0, it working.
|
|
Back to top |
|
 |
OFzatt How do I cheat?
Reputation: 0
Joined: 04 May 2015 Posts: 6
|
Posted: Mon Oct 15, 2018 8:52 pm Post subject: |
|
|
ParkourPenguin wrote: | Positive numbers can be mapped to negative numbers via certain operations.
Under two's compliment, the 4-byte values -99,999 and 4,294,867,297 have the same bit representation in memory. The only difference between them is conceptual: one is unsigned while the other is signed.
Right click a memory record in the address list and select "Show as signed" to interpret an integral value type as signed.
If the game itself is treating the value as unsigned, you're likely SOL. |
TheyCallMeTim13 wrote: |
Try right clicking the address and selecting "show as signed".
-99999 (signed) == 0xFFFE7961 (hex) == 4294867297 (unsigned) |
any idea, pls?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Tue Oct 16, 2018 12:12 am Post subject: |
|
|
the game itself doesn't handle negative values for the price. (It's an unsigned integer)
you meed to reprogram the game to be able to deal with negatives
_________________
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 |
|
 |
|