Closed jcvl92 closed 9 years ago
Do you have any logging? There's no catch block on your save function, maybe there was an exception thrown?
https://github.com/lithin9/DingusGaming/blob/master/DingusGaming/DingusGaming.cs#L303
Is the server shutdown/restart safe? If the program is writing to the file and you restart it, does it finish or just exit?
The save function is definitely failing. No idea the reason, let's just move to a DB because writing 10,000 XML entries to a file is literally the worst thing ever.
People said that they lost credits when the server was restarted. The amount of credits apparently lost lines up with the roll-out of auto-save. So make sure auto-save works and that it works at scale(10,000 entries).