NetroScript/Graveyard-Keeper-Savefile-Editor

[BUG] show and edit entire money value

Closed this issue · 2 comments

Describe the bug
please have the editor look at look at all the values stored in the money location.
I opened the game in cheat engine to look around, found a table that was to break out values anyway it set my gold to some crazy high number, and I wanted to remove it and set my money back to the few silver I had before. but the editor only shows 2 digits and I think mine is 7ish figures of gold.

1.zip

Expected behavior
show complete money value
BTW the value shown in the screenshot must be some form of rounding or interpolation because it changes between that 544445g and 1555556g depending on my location when I look at my inventory.
Screenshots
screenshot

Please also add the following Information:

  • Used version of the save game editor
  • If you are using the Windows version or the python version
  • If you have a problem in the editor without anything being shown in the python console, please add your version of Chrome

Additional context
Add any other context about the problem here.

The money in the game is stored in a Single (equivalent to float), If you have f.e. have the number 299.45 the 2 digits after the dot are the copper coins, the 2 in front the silver coins, so both of those are limited to 99, everything else before (starting with the 2 in this example) are gold coins, so I was aware of more gold coins being possible.
I simply thought people wouldn't need more than that. I now removed the limit of 99 for Gold coins.

But this isn't worth a new release, so unless you are using the python version you would need to wait for the next update. If you use the windows version, you could actually also download this as a zip, go to /data/html/index.html and replace the /data/html/index.html in the folder where you have the application.

And if you don't want to do that, the editor might show a red error and that the number needs to be between 0 and 99 but you can actually set it to higher numbers there and the value will overflow then. (If you set it f.e. to 100 silver coins and save, you have 1 gold coin). But don't set it too high because then it is out of the number range of a float value.

Thank you NetroScript very much !!