Whats Faster Filesystem?
#1

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?
Reply
#2

These 2 are fast..

SII 2.0.6

https://sampforum.blast.hk/showthread.php?tid=58458

DJson

https://sampforum.blast.hk/showthread.php?tid=48439
Reply
#3

Or you could just delete some files you do not need... you probably have like 300235823893 houses/businesses.
Reply
#4

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.
Reply
#5

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.
Reply
#6

Can we know your pc configuration?
Reply
#7

CPU - 3.00GHz
RAM - 2GB
Windows XP
Hardrive Space: 372.2GB

Anything else you need to know
Reply
#8

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.
Reply
#9

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
Reply
#10

I recommend Mysql! not flatfiles at all.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)