Why would value be stored as x43?

Valatros

What is cheating?
Mar 7, 2017
47
0
0
#1
I've been playing an early access game (Dragon Cliff, if it matters) and been making myself a table each update, no problem. Most values have been stored as "double", because there's a lot of percentage increases and decreases in the game, so hey, easy find. Each time I found a value, there was two entries for each; one that if edited/locked, immediately changed anyway, and one that worked. This time, there's still an accurate address for the uneditable value, but the one that WORKS is... as the topic title suggests, the amount I have x43. So if I want, say, 10000 gold, I edit this address to 430000 and it works. I can still edit it, so in the end I succeeded, but... why 43? Especially since it wasn't this way until the latest major update (which did change the "caps" on both experience and gold, if it matters), I just can't find anything special about 43. There some programming wizardry that makes this make sense?
 

jungletek

Reality Bytes
Staff member
Shogun
Oct 17, 2017
145
1
18
#2
Some naive attempt at anti-cheat, perhaps.
 

SunBeam

Administrator
Staff member
Administrative Team
Feb 4, 2018
349
33
28
#3
Because your real value is most likely not stored as Double and you edit only part of it; or you edit more than you're supposed to. Browse the location in memory, earn gold, and see what changes. Also stop following others' tutorials.
 

doc_haz

What is cheating?
Mar 11, 2017
11
0
1
#4
Thanks for the tip. It seems i still have trouble finding the correct address. Anyone could point me to a tutorial, please?

I use the debuger and try to find the addres that access the money, but none of the addreses change anything.