12.02.2011, 19:31
hi,
just wondering.
I use dini to save the player data to a file.
It always saves when leaving (OnPlayerDisconnect).
But now id like to know if i should set a timer for saving.
Cause in case the server crashes the players progress wouldnt be saved right?
That could be very hard for some players playing for a long time without any break (disconnects).
But otherwise it could cause lag on my server, right?
So should i set a timer for every player to save e.g. every 20 mins?
Id be happy about some answers.
regards...
just wondering.
I use dini to save the player data to a file.
It always saves when leaving (OnPlayerDisconnect).
But now id like to know if i should set a timer for saving.
Cause in case the server crashes the players progress wouldnt be saved right?
That could be very hard for some players playing for a long time without any break (disconnects).
But otherwise it could cause lag on my server, right?
So should i set a timer for every player to save e.g. every 20 mins?
Id be happy about some answers.
regards...