Raised This Month: $ Target: $400
 0% 

client_disconnect: I need the reason why it is called.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blackhawk
Member
Join Date: Apr 2005
Old 06-21-2006 , 06:02   client_disconnect: I need the reason why it is called.
Reply With Quote #1

Hi,
for statistical uses (and to avoid some i-leave-the-game-if-i-loose players), i would like to catch the cause why someone disconnected (timed out etc). Is this possible? It would be the best to catch this even in the client_disconnect forward itself.

Any ideas?
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-21-2006 , 07:47  
Reply With Quote #2

You probably can try cathing if they use commands, like this:
disconnect or quit. I dont know about timeouts sorry
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Blackhawk
Member
Join Date: Apr 2005
Old 06-21-2006 , 08:16  
Reply With Quote #3

Most of these commands are handled client-side only.....
I can't catch these.
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 06-21-2006 , 09:25  
Reply With Quote #4

Unfortunately, disconnect type can't be distinguished even through register_event system as a text message.
It's always "#Game_disconnected", doesn't matter how exactly client has disconnected.
VEN is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-22-2009 , 14:44   Re: client_disconnect: I need the reason why it is called.
Reply With Quote #5

Sorry for repling on old thread.

Any way to do this, like catch "timed out" server message ?
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
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 08:08.


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