Anything wrong with this method of saving stats?
#2

I've never tried it that way, but if it works for you then by all means use it.

I'd rather use foreach and call the saving function that way, or check if the player is connected in the loop, otherwise you'll most likely get blank-named .ini files.

EDIT:

For safety reasons you could even just save all the playerdata, and then set a delaying timer (1-2 seconds) to officially restart the server.
Reply


Messages In This Thread
Anything wrong with this method of saving stats? - by 2KY - 27.05.2012, 02:05
Re: Anything wrong with this method of saving stats? - by ReneG - 27.05.2012, 02:09
Re: Anything wrong with this method of saving stats? - by 2KY - 27.05.2012, 02:10
Re: Anything wrong with this method of saving stats? - by ReneG - 27.05.2012, 02:13
Re: Anything wrong with this method of saving stats? - by 2KY - 27.05.2012, 02:15
Re: Anything wrong with this method of saving stats? - by mprofitt - 27.05.2012, 02:34
Re: Anything wrong with this method of saving stats? - by JhnzRep - 27.05.2012, 05:44

Forum Jump:


Users browsing this thread: 1 Guest(s)