Page 1 of 1

Need help with custom value type

Posted: Sat Apr 09, 2022 8:17 am
by liledition
Hello

Can someone help me with custom value type scan for values that are x*65536000+65535
Example: 7 in game is 458817535 in cheat engine 4bytes.

And can it be saved to cheat table so it will be saved even after cheat engine update?

Re: Need help with custom value type

Posted: Sat Apr 09, 2022 3:20 pm
by GreenHouse
Are you sure that that is 7? It could also be a 2 bytes, in which the second half part is 7000.
Also you're missing a lot of information if you think we're supposed to know anything to help.

Re: Need help with custom value type

Posted: Sat Apr 09, 2022 3:27 pm
by Rhark
Are you sure the value isn't a float or double?

Re: Need help with custom value type

Posted: Sat Apr 09, 2022 4:07 pm
by liledition
I am pretty sure. Calculations are always correct by this formula. Game is [Link]
It is pretty easy to find some things with CE.
Here is my table
Avadon.ct
(12.03 KiB) Downloaded 103 times
Everything I found was simple 4bytes only action points was strange big number, I know it is correct because if I freeze it then I have unlimited AP.

EDIT: Just found out that this applies only to action point and other stats have different calculations... Mana points are just multiplication of 65536.