What will be better, this ... or this ...
#4

Quote:
Originally Posted by Not available
Посмотреть сообщение
If the server crash all stats will be lossed?

I'm saving the stats as they change, i.e if a player gets +1 in score I directly save it to the database to prevent missuse. Then I'm saving positions at OnPlayerDisconnect(). This is how I do it, but you should find a way that suits your gamemode.
I second this. I'm going to add a timer for ever 10-15mins to save players, but i save them after every update, new level, new cash, new admin level, then positions saved on disconnect.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)