Question
#1

Hello,
Im wondering , i v a server with +120 players everyday sometimes joining players every 2 seconds 2 players , which causing some lags, its like server cut respond for second sometimes , iv admin system and i think its take atime to load player stats ,but to fix that what should i do?
Reply
#2

If your using dini replace it with y_ini by ****** or make ir MYSQL.They're much faster.
Reply
#3

Are you logging things on your server to a single .log file? If yes, STOP doing that! That shit slows your server down while your logging is being processed. Rather save it to multiple files or use a data-base
Reply
#4

Another idea?
Reply
#5

Quote:
Originally Posted by SPA
Посмотреть сообщение
Another idea?
MySQL is the fastest and probably safest databasing solution which is probably where the lag is coming from.
Reply
#6

What shall i do to make my admin system in mysql?
Reply
#7

There are plenty of examples on the SA:MP forum which teach and show you how to make one.

I suggest; to convert your users over, load them from the file if the MySQL user doesn't exist in the table, then save in MySQL once they disconnect. If it exists in MySQL then it wouldn't need to load from the file and if none exist and the user has never been on your server; insert into MySQL and save into MySQL. Eventually, your file system wouldn't be needed anymore and it can be descripted.

Best of luck,
Firewire.
Reply
#8

Quote:
Originally Posted by BlackSirrah239
Посмотреть сообщение
MySQL is the fastest <...> databasing solution <...>
SQLite is faster (unless your database is multi-terabyte). And you thought you can trick people that easy
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)