Raised This Month: $51 Target: $400
 12% 

Stuck Connection Kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bottiger
AlliedModders Donor
Join Date: Dec 2010
Plugin ID:
2410
Plugin Version:
1.4
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    21 
    Plugin Description:
    Kick a player that has been "spawning" too long
    Old 06-30-2011 , 14:01   Stuck Connection Kicker
    Reply With Quote #1

    Recently some clients have been stuck connecting for over 5 minutes, holding up reserved slots. They show up in the "status" command as "spawning". This plugin will kick anyone taking longer than X seconds to connect.

    This plugin has not been thoroughly tested. Please report any problems here.

    ConVars
    sck_limit "240" "Seconds a client has to fully connect before being kicked."

    Changelog
    1.4: Fixed bug that did the opposite of the feature of 1.2
    1.3: Kick only 1 player stuck connecting every 10 seconds.
    1.2: Fixed kicking on non-connected players (don't know why this happens). Also the plugin now only kicks when the server is 1 slot or less from being completely full.
    1.1: Bug Fixes
    1.0: Release
    Attached Files
    File Type: sp Get Plugin or Get Source (stuckconnectionkicker.sp - 1810 views - 2.3 KB)
    __________________

    Last edited by bottiger; 07-05-2011 at 12:44.
    bottiger is offline
    B!PP
    Member
    Join Date: Sep 2009
    Old 06-30-2011 , 14:05   Re: Stuck Connection Kicker
    Reply With Quote #2

    Fail to compile
    B!PP is offline
    bottiger
    AlliedModders Donor
    Join Date: Dec 2010
    Old 06-30-2011 , 14:14   Re: Stuck Connection Kicker
    Reply With Quote #3

    Quote:
    Originally Posted by B!PP View Post
    Fail to compile
    fixed
    __________________
    bottiger is offline
    instantn00b
    Member
    Join Date: Jun 2011
    Old 06-30-2011 , 16:58   Re: Stuck Connection Kicker
    Reply With Quote #4

    Double?

    http://forums.alliedmods.net/showthread.php?t=103203
    instantn00b is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 06-30-2011 , 17:05   Re: Stuck Connection Kicker
    Reply With Quote #5

    Quote:
    Originally Posted by instantn00b View Post
    Thats l4d
    Groger is offline
    instantn00b
    Member
    Join Date: Jun 2011
    Old 06-30-2011 , 17:08   Re: Stuck Connection Kicker
    Reply With Quote #6

    Quote:
    Originally Posted by Groger View Post
    Thats l4d
    Ah yes, you're right sorry about that
    instantn00b is offline
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 06-30-2011 , 20:24   Re: Stuck Connection Kicker
    Reply With Quote #7

    Will this also kick clients who are downloading a map, or just connecting?
    Snaggle is offline
    bottiger
    AlliedModders Donor
    Join Date: Dec 2010
    Old 06-30-2011 , 20:48   Re: Stuck Connection Kicker
    Reply With Quote #8

    Quote:
    Originally Posted by Snaggle View Post
    Will this also kick clients who are downloading a map, or just connecting?
    I have no idea. I would like to know if someone figures it out.
    __________________
    bottiger is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 07-01-2011 , 09:26   Re: Stuck Connection Kicker
    Reply With Quote #9

    Quote:
    Originally Posted by Groger View Post
    Thats l4d
    It was created for L4D1/2, but that dosn't mean it won't work on any other source games. Based on the code, I'm pretty sure it would work on TF2 and CS:S aswell,
    but I wouldn't advice anyone to use it on those games because it will kick people that are in downloading state.

    Quote:
    Originally Posted by Snaggle View Post
    Will this also kick clients who are downloading a map, or just connecting?
    I don't know anything about this plugin but read this from the plugin created for L4D1 & 2: http://forums.alliedmods.net/showpos...3&postcount=14

    Last edited by Visual77; 07-01-2011 at 09:35.
    Visual77 is offline
    krispx
    Senior Member
    Join Date: Jul 2010
    Old 07-01-2011 , 12:59   Re: Stuck Connection Kicker
    Reply With Quote #10

    Hi, jus report this log error on css server.

    Code:
    [SM] Native "GetClientUserId" reported: Client 10 is not connected
    [SM] Displaying call stack trace for plugin "stuckconnectionkicker.smx":
    [SM]   [0]  Line 64, /home/groups/alliedmodders/forums/files/1/0/1/4/9/7/88257.attach::WorkingKickClient()
    [SM]   [1]  Line 40, /home/groups/alliedmodders/forums/files/1/0/1/4/9/7/88257.attach::CheckLoop()
    krispx 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 15:04.


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