AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   client_disconnect: I need the reason why it is called. (https://forums.alliedmods.net/showthread.php?t=30046)

Blackhawk 06-21-2006 06:02

client_disconnect: I need the reason why it is called.
 
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?

Cheap_Suit 06-21-2006 07:47

You probably can try cathing if they use commands, like this:
disconnect or quit. I dont know about timeouts sorry :oops:

Blackhawk 06-21-2006 08:16

Most of these commands are handled client-side only.....
I can't catch these.

VEN 06-21-2006 09:25

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.

Sn!ff3r 01-22-2009 14:44

Re: client_disconnect: I need the reason why it is called.
 
Sorry for repling on old thread.

Any way to do this, like catch "timed out" server message ?


All times are GMT -4. The time now is 08:08.

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