Raised This Month: $ Target: $400
 0% 

client_disconnected() <-> plugin_end()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 05-21-2019 , 06:45   Re: client_disconnected() <-> plugin_end()
Reply With Quote #1

@klipica on mapchange that error was happening..but i guess adding bool to server_changelevel and checking it before sql_threadquery is fix for this (also see the idea about mp_chattime, i think it can help here)

@hlev thanks for the link, but i think doing bigger query in server_changelevel (30 players almost every time) cant be faster than executing plugin_end after server_changelevel, if you know what i mean :/
__________________
KZ Public Autocup - PrimeKZ

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

Last edited by JocAnis; 05-21-2019 at 06:47.
JocAnis is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-21-2019 , 09:59   Re: client_disconnected() <-> plugin_end()
Reply With Quote #2

Quote:
Originally Posted by JocAnis View Post
@hlev thanks for the link, but i think doing bigger query in server_changelevel (30 players almost every time) cant be faster than executing plugin_end after server_changelevel, if you know what i mean :/
One big query on mapchange should be more optimal than 30 queries (because client_disconnected() in your case will be called ~30 times before map changes).
__________________
hleV 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 01:11.


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