Posts: 125
Threads: 34
Joined: Apr 2010
Reputation:
0
Well, I am basicly testing the Vortex RP system created by Calgon and he has a time set every 15 minutes which saves every account.
This causes the server to freeze while it saves, and noone can type commands for atleast 1 min for it to show up.
Its using DINI filesystem, and I was wondering is there any faster filesystem which can save faster? Which will let the server run normal at all times instead of freezing every 15 minutes?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Or you could just delete some files you do not need... you probably have like 300235823893 houses/businesses.
Posts: 125
Threads: 34
Joined: Apr 2010
Reputation:
0
Ive removed the houses and Businesses, I only had 3 houses and 3 businesses and it does the same.
Its with the saving of Userfiles.
Posts: 1,506
Threads: 69
Joined: Feb 2008
Remove the timer and put It's content (with modifying!) under OnPlayerDisconnect.
No need for a timer, only reason to save your data is because you exit the server.
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
Can we know your pc configuration?
Posts: 125
Threads: 34
Joined: Apr 2010
Reputation:
0
CPU - 3.00GHz
RAM - 2GB
Windows XP
Hardrive Space: 372.2GB
Anything else you need to know
Posts: 900
Threads: 21
Joined: Jan 2007
Reputation:
0
dini is totally NOT recommended for this kind of saving, since it opens and closes the file at every 'get' or 'set' command, and using it for a lot of players at the same time, with a lot of values each, will be killing your hard drive.
I don't know SII, but I'm currently using DJson for several stuff and it's working flawlessly. Yes, it works in 0.3b too.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
In normal operation files should be saved only on GameModeExit,
User files only OnPlayerDisconnect and also only one file what mathes playerid.
I use usual samp file system, and its work just fine for me
Posts: 1,741
Threads: 44
Joined: Apr 2010
Reputation:
0
I recommend Mysql! not flatfiles at all.