Fixed Save on Game Upgrades


Fixed the save problem. 

Save/Load now works after uploading new versions of the game.

The problem occured because game updates on Itch.IO are stored in a new subfolder and a new save is created in the IndexedDB of the browsers.

As workaround I now save the userdata in the local Storage of the browser. The key there is persistant on upgrades.

I'm sorry if your save file was deleted. This should not happen again on updates. 
But of course it will happen when the browser cache is cleared.
So please export the game data from time to time.

Comments

Log in with itch.io to leave a comment.

Both ctrl+X and ctrl+C cause the game to bug out with an event-not-defined error, making exporting the data impossible (let alone importing it back into the game)

Hi SkyCharger, 

Thanks for your comment.

I am surprised. Did this a thousend times when testing the game on different browsers. 

It is working fine on Chrome and Edge.
It is working on Firefox (but without save persistance!)

Please can you tell me:

  • Which browser (+version) you use
  • The OS of your computer
  • Can you paste text to the importfield? Please try to click on the importfield once and paste any data to it with ctrl+v

Thanks and kind regards,

SteBee

PS: Has anyone else this problem?

waterfox classic 2021.10, win 7 (system not suitable for 10, despite passing the (oversimplistic) compatibility test Microsoft included with the initial roll-out)

Pasting into the import field does work (but not much help without functional export)

Hi SkyCharger,

I tested it with Waterfox G4.0.5.1 (64-bit) on Windows 10 and there it works fine.

So it seems to be a problem either with your OS or with the Waterfox Version.

That's very sad and I am sorry for it. But it is not possible for me to check out (and solve) this problem because I don't have a test system nor the resources to test compatility on every OS - Browser combination.

Is it possible for you to test the game on Chrome? 
Just to give the game a chance. :-)

Thanks and kind regards,

SteBee