E
EvansBlack
Guest
For some reason my game have 1 out 100 chance to broke my save file. I am using ini file to store information.
And normal section in my ini file looks like this:
But sometimes GameMaker write info to the ini file wrong. Like this:
See those quotes in the last line? That is the problem. But i dont know why it is hapenning.
And normal section in my ini file looks like this:
Code:
[PLAYER]
global.maxEnergy="40.000000"
global.energy="40.000000"
global.catalyst="0.000000"
global.maxFuel="30.000000"
global.shield="0.050000"
global.maxModule="1.000000"
global.maxHP="40.000000"
global.currentHP="40.000000"
global.fuel="30.000000"
global.credits="2000.000000"
global.playerShipName="ASDASD"
Code:
[PLAYER]
global.maxEnergy="40.000000"
global.energy="40.000000"
global.catalyst="0.000000"
global.maxFuel="30.000000"
global.shield="0.050000"
global.maxModule="1.000000"
global.maxHP="40.000000"
global.currentHP="40.000000"
global.fuel="30.000000"
global.credits="2000.000000"
global.playerShipName="ASDASD
"