Server Crashing. Losing data.
#1

When my server crashes, it does not run OnPlayerdisconnect, this means all player data are not saved.

How can i prevent this ?
Reply
#2

You could;

1) Fix the crashes, or;
2) Save the player data when it changes instead of when they disconnect
Reply
#3

Yes, i have done that.
Reply
#4

The server doesn't have the time to store the data once a crashed has happened, the best way is to fix things when data changes OR better yet, fix the crashes. Try looking over your code and checking the following threads:

http://forum.sa-mp.com/index.php?topic=2750.0
http://forum.sa-mp.com/index.php?topic=79810.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)