Raised This Month: $ Target: $400
 0% 

MySQL client_aughorized lag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 01-12-2007 , 21:41   Re: MySQL client_aughorized lag
Reply With Quote #1

Use SQLx, the new threaded query system instead. Player is authorized (though I'd use client_putinserver instead), you fire off the query, game goes on, query comes back and you act on it.

I'd put it in client_putinserver instead because you'll perform the query less often as not everyone who authorizes actually makes it into the server. Further, if you're using sv_downloadurl, clients will authorize twice very frequently, thus you'd be running the query and code much more often than you need to.
__________________
Brad 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 22:25.


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