Raised This Month: $51 Target: $400
 12% 

Register System Lagging the server


Post New Thread Reply   
 
Thread Tools Display Modes
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
Old 10-13-2018 , 20:30   Re: Register System Lagging the server
Reply With Quote #11

Changing the data on a MySQL database can be just as easy, if not easier than changing it on a file. You just need to use a tool like phpMyAdmin or HeidiSQL for easy management of the database. Although it might be a bit of a hassle at first, in the long run you will definitely be glad to have switched to a proper database system for storing your data.

I can only think of one option that might help you delay the switch, although still not ideal. You could try loading all the users from the file into a Trie with names as the keys on map change. Then do a lookup for the name in the Trie when players connect instead of directly in the file. On registration, you would have to insert the new data in both places.

Last edited by Kushfield; 10-13-2018 at 20:31.
Kushfield is offline
SkazzY
AlliedModders Donor
Join Date: Nov 2014
Location: Forbidden Forest
Old 10-14-2018 , 06:18   Re: Register System Lagging the server
Reply With Quote #12

There are a lot of ways to easily transfer all of your current data to new database. You simply can not use your current method and not experience lag.
SkazzY is offline
Kanek1
Junior Member
Join Date: Oct 2018
Old 10-21-2018 , 10:09   Re: Register System Lagging the server
Reply With Quote #13

Quote:
Originally Posted by D4rkSiD3Rs View Post
I am looking for a solution other than MySQL
Dont have other solution just mysql
Kanek1 is offline
D4rkSiD3Rs
Senior Member
Join Date: Jan 2018
Location: Morocco
Old 10-24-2018 , 09:35   Re: Register System Lagging the server
Reply With Quote #14

Thank you!
__________________


D4rkSiD3Rs is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode