[0.5.1] Crash after corrupting a savefile
Posted: Wed Jun 19, 2013 5:26 am
Steps to reproduce:
1) Create a mod an write something stupid in the onsave-event. E.g. I used this for testing-purpose:
2) start factorio, start/load a game and try to save it
3) game will crash "softly" - Errormessage will appear which specify the error
4) exit factorio/ return to main-menu and try to load a save-game
--> I will receive a "Content title"-error after I hit the load-game button, because factorio can not find the savefile in which you tried to save before. So the load-UI is not shown at all and factorio is closed.
I have to delete the related savefile and everything is fine again.
1) Create a mod an write something stupid in the onsave-event. E.g. I used this for testing-purpose:
Code: Select all
a = "test"
b=1
c=b/a
3) game will crash "softly" - Errormessage will appear which specify the error
4) exit factorio/ return to main-menu and try to load a save-game
--> I will receive a "Content title"-error after I hit the load-game button, because factorio can not find the savefile in which you tried to save before. So the load-UI is not shown at all and factorio is closed.
I have to delete the related savefile and everything is fine again.