ID:156776
![]() Jul 28 2010, 6:00 pm
|
|
Basically... I make constant updates for my game. I recently figured out if I reboot the server, it'll add them, but it resets all the user's variables. Is this partly because my Stats are preset? Such as 'Gold=20' when they log on, even if they bought something previously?
|
![]() Jul 28 2010, 6:50 pm
|
|
You need to add player saving/loading
|
So, if I had a command that would save everyone in the game, would that work, or would it not affect anyone that wasn't logged in?
|
That's the case. For the Login proc: client.Load()
For the Logout proc: client.Save() It's all there, but it still doesn't work. Here's the Saving code: client Would that affect it in any way? |
Login/Logout script...
mob |