Posts: 6
Threads: 4
Joined: Sep 2010
Reputation:
0
Hey i have a big problem i host my own server on my computer sometimes it will crash in the night or ill restart it to fix a bug and then the poeple that where on it will loose there levels and there money and stuff how do i fix this?
Posts: 489
Threads: 102
Joined: Apr 2010
Reputation:
0
Is it a custom made script? or a released script on the forums?
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
This is probably due to a GMX that you're doing. Here's a tip for you:
Save all player accounts BEFORE the GMX (You'll need to make your own command for that though lol)
Log ALL players out.
Gmx!
Posts: 6
Threads: 4
Joined: Sep 2010
Reputation:
0
its a cutom made one and it still dont make sence becuse what if it crashes it still will erase there stuff
Posts: 489
Threads: 102
Joined: Apr 2010
Reputation:
0
Basicly you need to save the accounts before they disconnect...
So go to OnPlayerDisconnect and make it so that it saves all the accounts under that callback so when they disconnect, they will save first...
understand?