Register System Lagging the server
Hello,
I'm using Register System V9.0 by m0skVi4a ;] on my server, and there are more than 3500 players registered on the server and the regusers.ini file size is 200kb. The problem is when someone connect to the server, the plugin have to check in regusers.ini if the player is registered or not, then the server freezes for 3 or 5 seconds. And when the map changes the server stop functioning due to the large number of players connecting on the sametime. So what do you suggest to avoid that lag coming from that plugin ? |
Re: Register System Lagging the server
In this case, switch to MySQL.
|
Re: Register System Lagging the server
If you have 3500 different active users registered, you should have the ability to use MySQL (have a forum, private server or something else that gives you access to MySQL).
|
Re: Register System Lagging the server
I am looking for a solution other than MySQL
|
Re: Register System Lagging the server
Go with SQLite then.
|
Re: Register System Lagging the server
Now I can't change the save method, if i changed it all registered users will be deleted.
|
Re: Register System Lagging the server
You can do that without lose data, but will take time. Basically, load from ini and insert user reg in dabatase if not exists, if exists load from database. After a time, delete everything related to ini.
Or, delete everything and let your players create account again. |
Re: Register System Lagging the server
I'm sure it's possible to convert from your current format to SQLite easily.
|
Re: Register System Lagging the server
Yes, @OP can also try to loop through the ini file and insert all data in mysql.
|
Re: Register System Lagging the server
Actually, I want to leave it like it is, It's easy for me when I want to change the password of someone's.
|
All times are GMT -4. The time now is 00:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.