View Single Post
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 05-13-2019 , 12:36   client_disconnected() <-> plugin_end()
Reply With Quote #1

hi guys. i have made a plugin which is using mysql module. problem accuress when map change is happening..meaning server is 'freezed' for about 10sec (which should be 2-3max sec normal)...when the plugin is off -> all good...so i started to analize where is the problem for that, and my brain is telling me:

plugin is sending too much queries at map change, why that:

on client_disconnected( id ) im updating every player one colomn (column for last connection), server is almost everyday 30/32

so is client_disconnected( id ) called right before plugin_end() ?

*pls dont write : go test it, cuz im not in situation to test it
on plugin_end() im doing sql_freehandle
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline