| View previous topic :: View next topic |
| Author |
Message |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Fri Apr 10, 2020 7:11 pm Post subject: Cant change a value in a pointer with accuracy. Help. |
|
|
Im a beginner in Cheat Engine. I'm learning it using an old RTS.
But i have been facing this problem for some weeks. I have been trying to learn slowly so i came up with the solution to the problem, but it seems that wont happen anytime soon.
So i got the address of my wood. And i can change it, for 300, 400. As i want. But everytime i restart the game, that address changes. So i learned how to get the pointer.
It has 4 multiple pointers. But in the end i get the green address. Make that final pointer, and it does change he value of wood.
But the big problem is the value is not the same as it was in the original address. It is some obscure number like 1.99539873.
For example. In the original address the value was 200, 300, or 400, exactly the number of wood that you have in the game. And that was easy to change.
But now in the pointer, instead of diplaying that wood value it displays a number like 1.99539873. And that does affect the wood. Because when i change that number to a random number like 2.64035034. It increases the wood slightly. So that weird number is connected to the value of wood. So its the right pointer. The problem is that i have no idea, what is the mathematic behind it. And how to change this 1.99539873, or how it corresponds to a specific number of wood.
What is this? Is this some hacking prevention technique from the developers? How do i solve this problem.
Please help. Thanks.
Last edited by LongBeardedLion on Mon Apr 13, 2020 12:24 am; edited 1 time in total |
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4724
|
Posted: Fri Apr 10, 2020 10:04 pm Post subject: |
|
|
What's the value type of the memory records? Sounds like you set one to 4-byte and the other to float or double.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Mon Apr 13, 2020 12:19 am Post subject: |
|
|
| ParkourPenguin wrote: | | What's the value type of the memory records? Sounds like you set one to 4-byte and the other to float or double. |
Hi thanks for your answer.
The value is 4 bytes.
As you can see in 1.png the 1 of wood corresponds to the value in the pointer of:
1065353216
And in 2.png. 2 of wood corresponds to the value in the pointer of:
1073741824
And in 3.png. 3 of wood corresponds to the value in the pointer of:
1077936128
I tried to see if they form some kind of pattern. But it seems they change as the value increases. Its so weird. Can you please help me?
| Description: |
|
| Filesize: |
34.86 KB |
| Viewed: |
1905 Time(s) |

|
| Description: |
|
| Filesize: |
38.36 KB |
| Viewed: |
1905 Time(s) |

|
| Description: |
|
| Filesize: |
34.51 KB |
| Viewed: |
1905 Time(s) |

|
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4724
|
Posted: Mon Apr 13, 2020 10:28 am Post subject: |
|
|
As I just said:
| ParkourPenguin wrote: | | Sounds like you set one to 4-byte and the other to float or double. |
The first memory record, "Wood", is a float. Can you see how it says "Float" under the "Type" column? That value obviously isn't 4 bytes - it's a float.
The last two memory records, both named "wood", are incorrectly set to "4 Bytes". They should be set to "Float".
If you try to read a float value as a 4 byte value, it's going to look like garbage.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
|
| Back to top |
|
 |
|