Data Saving Systems
#1

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

stick with yini. its proving to be the fastest saving system, then again I never really tired sqlite
Reply
#3

yea stick with Y_ini saving system its much better then others.
Reply
#4

but is there a way to increase compile speed?
Reply
#5

the bigger the script is the longer it takes to compile, that or you got a slow computer.
Reply
#6

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

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

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
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
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
Reply
#9

It can be strings.. it can be a lot of stuff why it compiles slowly... Thats the thing...
Reply
#10

but will players even notice if i use sqlite cause i was thinking of making a UCP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)