View previous topic :: View next topic |
Author |
Message |
drzejson Newbie cheater Reputation: 0
Joined: 10 Nov 2015 Posts: 17
|
Posted: Tue Jan 14, 2020 7:08 am Post subject: One game (float numbers general info needed) |
|
|
Hey,
I have a game where I have a value of 1104 visible in the game.
I have found two addresses where this is changing of course this is float value...
So current state looks like this:
value screen: 1104
one float: 4.5390625
second float: 9.528829557E-44
when adding one to screen value looks like this:
value screen: 1105
one float: 4.539550781
second float: 9.80908925E-44
Another change
value screen: 1106
one float: 4.540039062
second float: 1.008934894E-43
Could you guide me how this is being calculated and how to change that? Using cheatengine 6.8.1
Thanks! |
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4299
|
Posted: Tue Jan 14, 2020 11:58 am Post subject: |
|
|
The second one looks like an integer (68 / 70 / 72), and the first is actually the second half of a double. Subtract 4 from that address and change the type to double (or just search using the double type in the first place). _________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
drzejson Newbie cheater Reputation: 0
Joined: 10 Nov 2015 Posts: 17
|
Posted: Wed Jan 15, 2020 1:32 am Post subject: |
|
|
ParkourPenguin wrote: | The second one looks like an integer (68 / 70 / 72), and the first is actually the second half of a double. Subtract 4 from that address and change the type to double (or just search using the double type in the first place). |
Hey man. Thanks for the reply! I am lame at this so second float tells me nothing but your second statement means that I should be looking for the double value from the beginning and then I will get just a one address?
added:
I've searched for a double and got the same result. One displaying the current value on the screen and the second dispalying float.
How I can change them if the logic of the second one is so hard? |
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4299
|
Posted: Wed Jan 15, 2020 11:27 am Post subject: |
|
|
The second value you see (float values around 10^-43) is probably worthless to you; ignore it. Just change the first one. _________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
drzejson Newbie cheater Reputation: 0
Joined: 10 Nov 2015 Posts: 17
|
Posted: Wed Jan 15, 2020 1:56 pm Post subject: |
|
|
ParkourPenguin wrote: | The second value you see (float values around 10^-43) is probably worthless to you; ignore it. Just change the first one. |
You think? I did the research from unknown value until those two. They are always changing. However when I change the first value unfortunately it is not changing the screen value, so when coming back to the game it is instantly changing back to original one in both game and cheatengine.
Any other idea? The game is airport city on win10 |
|
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: Wed Jan 15, 2020 3:16 pm Post subject: |
|
|
Look at the the first address, that one with 4.5390625 value.
Double click on it (in "address" column):
- change the address - subtract 4 (do it in hex)
- change type to "double"
You will see 1104.0 value.
EDIT:
added image below
_________________
|
|
Back to top |
|
|
drzejson Newbie cheater Reputation: 0
Joined: 10 Nov 2015 Posts: 17
|
Posted: Thu Jan 16, 2020 1:40 am Post subject: |
|
|
mgr.inz.Player wrote: | You will see 1104.0 value. |
Hey. Thanks. In my previous post I have found this value by searching double. Anyway is there something like "lock" the value? Because changing it doesn't do anything in the game as it is instantly changing back in the game and cheatengine.
On ubuntu I am using "game conqueror" and it has an option to lock the changed value. So when I had similar issue with one game, locking the value solved it as there was no deduction and adding possible in the game anymore.
But this game is not on ubuntu
Any tricks how to possible do it on windows 10 and this game? Normally it is an online game but I am always playing it offline with flying mode on my laptop so no possibility that this value is coming from outside server... |
|
Back to top |
|
|
|