15.01.2015, 10:29
I thought you're talking about it being totally incorrect for some reason, I guess you're right,
You don't get a server crash every hour, but it happens.
For me, I'll save most data once the player disconnects, and the important/Slow Changing data whenever it changes,
You don't get a server crash every hour, but it happens.
For me, I'll save most data once the player disconnects, and the important/Slow Changing data whenever it changes,
Quote:
A combination of both would be the best I guess.
Theres "slow" data like properties, that barely changes. This could be stored on every change very well. And then theres "fast" data, e.g. weapon data, health, position, etc. As this might change very often it would be quite stupid to save these values on every update of course. So theres no way that works best for everyone. Youll rather have to decide when to store which values. |