Raised This Month: $ Target: $400
 0% 

Catching "reconnect" command.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-02-2009 , 10:12   Re: Catching "reconnect" command.
Reply With Quote #1

I don't think the "reconnect" and "retry" commands can be hooked via register_clcmd( ).

You should try saving player data when the player disconnects.
Then, then a player connects, check to see if the player's data was saved.
If the player hasn't connected after X minutes from disconnecting, remove the saved data.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 09-02-2009 , 11:40   Re: Catching "reconnect" command.
Reply With Quote #2

Yes, they aren't send to the server. I believe the best way would be checking if connected player is the one that left previously.
SnoW is offline
Send a message via MSN to SnoW
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 15:12.


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