Quicker way to save player data?
#8

Quote:
Originally Posted by TaMeD
View Post
I don't see why you don't just save everything to variables when the person disconnects, then query the mysql database with those variables
I agree. Regularly saving the data into .ini files isn't good, as the file I/O is also quite slow actually.
Why not just make some arrays to store the data you want to access, and save them all into the database when the player leaves? This is much faster than storing everything into the large database and access them every time you want to get the data.

Unless your server is unstable, making real-time saving systems do no good to it.
Reply


Messages In This Thread
Quicker way to save player data? - by Scenario - 28.11.2011, 00:36
Re: Quicker way to save player data? - by -Rebel Son- - 28.11.2011, 00:43
Re: Quicker way to save player data? - by Scenario - 29.11.2011, 01:57
Re: Quicker way to save player data? - by Scenario - 30.11.2011, 02:54
Re: Quicker way to save player data? - by JamesC - 30.11.2011, 03:11
Re: Quicker way to save player data? - by Lorenc_ - 30.11.2011, 05:18
Re: Quicker way to save player data? - by TaMeD - 30.11.2011, 05:49
Re: Quicker way to save player data? - by leong124 - 30.11.2011, 06:02
Re: Quicker way to save player data? - by Scenario - 30.11.2011, 11:24

Forum Jump:


Users browsing this thread: 2 Guest(s)