Raised This Month: $404 Target: $400

Register System Lagging the server

Post New Thread Reply   
Thread Tools Display Modes
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
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
Junior Member
Join Date: Oct 2018
Old Yesterday , 10:09   Re: Register System Lagging the server
Reply With Quote #13

Originally Posted by D4rkSiD3Rs View Post
I am looking for a solution other than MySQL
Dont have other solution just mysql
Kanek1 is offline

Thread Tools
Display Modes

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 17:08.

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