| View previous topic :: View next topic |
| Author |
Message |
LostLight How do I cheat?
Reputation: 0
Joined: 27 Feb 2015 Posts: 5
|
Posted: Wed Jun 03, 2015 4:19 pm Post subject: Cheat Engine wrong inserted values. *SOLVED by atom0s* |
|
|
Happens rarely but when I've tried entering a value over 65,000 or so cheat engine turns it into 400-something or so.
So when I want 9999999 gold. I get 38527 instead.
Any clues on how to fix?
Restarted my computer,ran cheat engine and the games on admin yet it still persists on PPSSPP Gungnir for example.
Thanks LostLight
Last edited by LostLight on Wed Jun 03, 2015 4:27 pm; edited 1 time in total |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Jun 03, 2015 4:22 pm Post subject: |
|
|
Sounds like the data type of the location in memory you are editing is not 4 bytes, but instead 2.
A signed short (2 bytes) can hold between -32,768 and 32,767.
An unsigned short (2 bytes) can hold between 0 and 65,535.
_________________
- Retired. |
|
| Back to top |
|
 |
LostLight How do I cheat?
Reputation: 0
Joined: 27 Feb 2015 Posts: 5
|
Posted: Wed Jun 03, 2015 4:26 pm Post subject: |
|
|
| atom0s wrote: | Sounds like the data type of the location in memory you are editing is not 4 bytes, but instead 2.
A signed short (2 bytes) can hold between -32,768 and 32,767.
An unsigned short (2 bytes) can hold between 0 and 65,535. |
Yeah it is value type 2 thanks,idk how I entered millions before last time.
Still good to learn that it can only go to 65,535 will save alot of headaches.
Thanks atom0s.
|
|
| Back to top |
|
 |
Processus42 How do I cheat?
Reputation: 0
Joined: 14 May 2014 Posts: 4 Location: France
|
Posted: Wed Jun 03, 2015 4:27 pm Post subject: Re: Cheat Engine wrong inserted values. |
|
|
I think that this don't come from cheat engine.
You're probably setting a 2 Bytes value.
A Byte is a succession of 8 bits.
The binary form of 9999999 is 10011000 10010110 01111111 which take 3 Bytes.
Truncated to 2 Bytes, 10011000 10010110 01111111 is 10010110 01111111.
10010110 01111111 = 38527 in decimal.
EDIT : Too late...
EDIT 2 :
| LostLight wrote: | | Still good to learn that it can only go to 65,535 |
You still can scan for 4 Bytes. Or simply decrement the address by two and chante type to "4 Bytes". But in this case, the value has to be 4 bytes, else, you'll write in a bad memory space.
|
|
| Back to top |
|
 |
|