 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Nice_Guy How do I cheat?
Reputation: 0
Joined: 29 Nov 2019 Posts: 2
|
Posted: Fri Nov 29, 2019 10:57 am Post subject: Problem with changing value |
|
|
Hi,
Recently I started playing this cool game, where grinding takes so long, but I want to see how my character would do with better equipment, thus will to add me some money.
Straight to the topic. When I tried to find the adress for money value using good old "exact value" method, I found two adresses that showed, let's say 1000 gold. Unfortunately changing them to 9999999, changed only what is being displayed in a game window. When I wanted to buy something that costs over 1000, the game informed me that I have not enough money.
After some forum digging, I found out the real value has totally different value, and those two adresses are used only to display amount of money.
So I used "unknown initial value -> value increased/decreased" method. After finding the adress for actual money value (along with two adresses that correspond to displaying the number), and trying to change the number, nothing changed. It's hard to explain, but do I type any number like "999999"? Note that the number for like 1000 gold was HUGE, along the lines of 1278921771. Do I multiply the number to get 2000? Any ideas of what COULD be the "ratio" for the number displayed, or in what system could this number be?
Also I'm 100% sure this big number responds to money.
Any advice would be very much helpful.
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4724
|
Posted: Fri Nov 29, 2019 11:53 am Post subject: |
|
|
Try changing the type to float. If the value doesn't make sense, subtract 4 from the address (e.g. 112CA9BC -> 112CA9B8) and change the type to double. (you could just search for float/double values in the first place)
Otherwise, give some exact examples of correspondence between the visually displayed number and the internal representation of it. i.e. when it displays 1000, the value is 1,083,129,856 exactly.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
Nice_Guy How do I cheat?
Reputation: 0
Joined: 29 Nov 2019 Posts: 2
|
Posted: Fri Nov 29, 2019 2:41 pm Post subject: |
|
|
| Quote: | | Otherwise, give some exact examples of correspondence between the visually displayed number and the internal representation of it. i.e. when it displays 1000, the value is 1,083,129,856 exactly. |
Wait how do you know 1000 will be 1,083,129,856 exactly? How do i translate decimal to the type of number shown. Like you say it's float, but if I change to float it still doesn't make sense.
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4724
|
Posted: Fri Nov 29, 2019 3:43 pm Post subject: |
|
|
That was just an example. It comes from reinterpreting the higher 4 bytes of the IEEE 754 binary64 data type (aka double) as a 4-byte integer.
If that's actually what you're seeing, then do as I said: subtract 4 from the address and change the type to "double". Or just scan using the "double" type from the beginning.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|