View Single Post
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-21-2009 , 15:49   Re: [L4D] Player Stats (Co-op)
Reply With Quote #27

Quote:
Originally Posted by Lebson506th View Post
Do you do a MySQL insertion every time the event fires?

Because that might be causing the studder if there is a lag between the server and you.

Is this threaded?
No it doesn't (kind of), and yes it is.

For every thing but Common Infected kills, the SQL update happens immediately. Common Infected kills are updated every 90 seconds (by default, a cvar can change this), so the only high-traffic SQL updates would be if he was killing Special Infected left and right, passing pills, "Protecting" friendlies, rescuing people from closets, or any combination of those and more happening in the same second.
__________________
msleeper is offline