Data Saving Systems - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Data Saving Systems (
/showthread.php?tid=431409)
Data Saving Systems -
Ryan_Obeles - 18.04.2013
Ok so while i was progressing my RP GM about 4k lines only + some includes i notice that Y_INI takes a long time to compile unlike others.. But since my friends VPS does not support mysql because he said that it would be hard....so i had to choose between y_ini or sqlite include by slice... in saving data's what are good and bad and will the players know if i used sqlite?
thx in advance
Re: Data Saving Systems -
Michael_Cuellar - 18.04.2013
stick with yini. its proving to be the fastest saving system, then again I never really tired sqlite
Re: Data Saving Systems -
Yves - 18.04.2013
yea stick with Y_ini saving system its much better then others.
Re: Data Saving Systems -
Ryan_Obeles - 18.04.2013
but is there a way to increase compile speed?
Re: Data Saving Systems -
Michael_Cuellar - 18.04.2013
the bigger the script is the longer it takes to compile, that or you got a slow computer.
Re: Data Saving Systems - Emmet_ - 18.04.2013
You should use SQLite. It's basically like MySQL, but saves in the scriptfiles folder instead of using a remote database. I use it for my gamemode without any problems! It can do more than an INI system.
https://sampforum.blast.hk/showthread.php?tid=262417
https://sampforum.blast.hk/showthread.php?tid=263786
Re: Data Saving Systems -
Ryan_Obeles - 18.04.2013
Quote:
Originally Posted by Michael_Cuellar
the bigger the script is the longer it takes to compile, that or you got a slow computer.
|
Not true i am using intel i7
Re: Data Saving Systems -
[ABK]Antonio - 18.04.2013
Quote:
Originally Posted by Emmet_
|
The thing about SQLite is...It's kind of slow compared to some alternatives. Then again, it's still a nice database with tables n stuff for easy editing
If you really care about speed, just use sscanf & fread/fwrite
Re: Data Saving Systems -
Scrillex - 18.04.2013
It can be strings.. it can be a lot of stuff why it compiles slowly... Thats the thing...
Re: Data Saving Systems -
Ryan_Obeles - 18.04.2013
but will players even notice if i use sqlite
cause i was thinking of making a UCP