Most efficient way to store users?
#1

What do you consider the most efficient way to store users. I just want to know what people think about it before I write a script. Is y_ini a good way to handle it? Users\Username.ini etc. Post your opinion please.

Thanks.
Reply
#2

I use MySql
Reply
#3

I use MySQL too.
Reply
#4

Ok I just started with mysql, I got a mysql server up and running but now I need to know which mysql plugin to use, I found https://sampforum.blast.hk/showthread.php?tid=56564 but when I try to load the plugin on the server I get: (samp-server.exe - Unable To Locate Component) "This application has failed to start because LIBMYSQL.dll was not found. Re-installing the application may fix this problem." and "Run time error 19: "File or function is not found""

Which mysql plugin do you guys use?

Thanks.

edit: fixed the error and created a db successfully, but still which version do you use please?
Reply
#5

That file that is missing is available in that plugins thread, use ctrl + f, on that page and search "LIBMYSQL".
Reply
#6

MySQL is fine. But for file I recommend you using Y_Ini
Reply
#7

Quote:
Originally Posted by Kingunit
View Post
MySQL is fine. But for file I recommend you using Y_Ini
Like for just loading static files like
Server_Settings.ini
Weather = 1
etc

but for user data like
Money
Admin Level

mysql?
Reply
#8

Quote:
Originally Posted by vivec45
View Post
Like for just loading static files like
Server_Settings.ini
Weather = 1
etc

but for user data like
Money
Admin Level

mysql?
For users you can also use Y_Ini, that's not a problem. You just need to check what you really want. If you want to create something with websites, you better use MySQL. Otherwise is MySQL useless in my opinion.
Reply
#9

Quote:
Originally Posted by Kingunit
View Post
For users you can also use Y_Ini, that's not a problem. You just need to check what you really want. If you want to create something with websites, you better use MySQL. Otherwise is MySQL useless in my opinion.
SQL has more features than any ini parser i have seen. How would you go about getting top ten kills from userfiles? (without a seperate file) I'm not putting Y_ini down i beleive its the best system around, but sql isn't useless if its not being used with websites. It comes down to what features you need to use. Its also nice to have everything in one file.
Reply
#10

Quote:
Originally Posted by iggy1
View Post
SQL has more features than any ini parser i have seen. How would you go about getting top ten kills from userfiles? (without a seperate file) I'm not putting Y_ini down i beleive its the best system around, but sql isn't useless if its not being used with websites. It comes down to what features you need to use.
That's what I said. " You just need to check what you really want". I didn't really meant that MySQL is only nice for your website.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)