Thank you for you script, but for me it didn't work. It just reseted the gold value to 0.
I updated it to not check about encrypted gold value anymore.
With an edited savegame it works fine and should flag it as legit after a gold change.
There should be no problem for future update, except if he add a check for gold value over 99 999 which seemed to be present in original script that I didn't read.
Note that gold is restricted to 2 147 483 647 as it is stored as a signed 8 bit integer and will switch to negative value over INT_MAX
ps : I don't understand why developper waste their time in developping such feature
ps 2 : Instead of blocking the wanabe cheater, show him a screen telling him that you know he is a cheater, that he may contribute on your various giveaway accounts and two buttons :
- I wana play legit (250-1000 gold) [gold is reset to a reasonable value]
- The big red button, do not touch, I promess to contribute (2 000 000 000 gold)