02.11.2018, 10:47
Quote:
Well your server isn\'t going to crash the whole day, just add a command for the server owner to save all players\' stats. Without kicking them or calling OnPlayerDisconnect, then... Shutdown your server;
If your server is really really unstable, just put a global timer, not per player, which saves players data every 20 minutes, or less. Who give a fuck if you lose 10$ because you bought a condom in the 24/7, I mean, you won\'t lose much data, you can\'t get $2.000.000 in 10/20 minutes... |
Regarding the topic:
I would create a ten minute timer after the player logs in and also update the database whenever it\'s necessary.
i.e. The player unlocked an achievement. Or he got into a new job. Or he wins the lottery.