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

Network Monitor


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Plugin ID:
18
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Not ready for approval
    Unapprover:
    Reason for Unapproving:
    cause his description says so
    Old 06-07-2007 , 03:26   Network Monitor
    Reply With Quote #1

    This plugin was designed to not only give you a few useful network statistics through the netstats command, but also to maintain control over the ping, loss, and choke of the players in the server. For this, the sm_ping_threshold, sm_loss_threshold and sm_choke_threshold ConVars are available which define how much higher a player's ping, loss, or choke can be from the other players before being kicked from the server. The advantage to this is if the server experiences a lag spike or something similar which causes everyone's pings to raise, but no one's ping will exceed the difference from the average ping of the rest of the players so no one is kicked.


    The default ConVar values are shown below:
    Code:
    "sm_ping_threshold" = "150" min. 20.000000
     - Maximum difference in ping from other players before being kicked
    
    "sm_loss_threshold" = "30" min. 3.000000
     - Maximum difference in loss from other players before being kicked
    
    "sm_choke_threshold" = "50" min. 5.000000
     - Maximum difference in choke from other players before being kicked
    
    // Example 'netstats' output
    Avg Ping   Avg Loss   Avg Choke 
     79.41       0.00       5.26
    Download mirror available here.
    Attached Files
    File Type: sp Get Plugin or Get Source (netmon.sp - 1521 views - 6.6 KB)
    __________________

    Last edited by sslice; 06-29-2007 at 15:00.
    sslice is offline
    sessus
    Senior Member
    Join Date: May 2006
    Old 06-07-2007 , 05:35   Re: [PLUGIN] Network Monitor
    Reply With Quote #2

    that's a heaps nice plugin/idea.
    sessus is offline
    Falco
    SourceMod Donor
    Join Date: Dec 2004
    Location: CANADA
    Old 06-08-2007 , 00:55   Re: [PLUGIN] Network Monitor
    Reply With Quote #3

    Where do the cvars go? Is it the server.cfg or in the sourcemod/cfg folder under a text file called netmon?
    __________________
    [DmZ|EPSILON CSS 70.75.139.92:27016
    [DmZ|EPSILON GG 70.75.167.30:27015
    [DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
    [DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
    [DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
    www.dmzepsilon.ca
    ----------------------
    Falco is offline
    BAILOPAN
    Join Date: Jan 2004
    Old 06-08-2007 , 01:16   Re: [PLUGIN] Network Monitor
    Reply With Quote #4

    They can go in any .cfg that gets executed (like server.cfg)
    __________________
    egg
    BAILOPAN is offline
    sessus
    Senior Member
    Join Date: May 2006
    Old 06-12-2007 , 22:46   Re: [PLUGIN] Network Monitor
    Reply With Quote #5

    does this consider admins or is there an option to combine this with immunity flags?

    Last edited by sessus; 06-13-2007 at 06:50.
    sessus is offline
    sessus
    Senior Member
    Join Date: May 2006
    Old 06-13-2007 , 06:51   Re: [PLUGIN] Network Monitor
    Reply With Quote #6

    also something seems not to work (on linux):

    I get this with netstats
    20:15:06 Avg Ping Avg Loss Avg Choke
    0.00 0.00 0.00

    I have the following values in a seperate cfg, that gets executed
    //Network Monitor
    sm_ping_threshold 120
    sm_loss_threshold 20
    sm_choke_threshold 40

    Same with default values.

    --> no kicking of high ping clients
    sessus is offline
    sessus
    Senior Member
    Join Date: May 2006
    Old 06-20-2007 , 22:56   Re: [PLUGIN] Network Monitor
    Reply With Quote #7

    .bump
    sessus is offline
    sslice
    Senior Member
    Join Date: Feb 2005
    Location: Texas, USA
    Old 06-27-2007 , 03:01   Re: [PLUGIN] Network Monitor
    Reply With Quote #8

    I haven't figured out why this happens; it almost looks like the timer stops working.

    Edit: I'm gonna scrap timers and use the OnGameFrame forward and see how it does.
    __________________

    Last edited by sslice; 06-27-2007 at 03:09.
    sslice is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 07-02-2007 , 14:52   Re: Network Monitor
    Reply With Quote #9

    I had the ping threshold set to 200 on my server, and it was kicking people for having a ping that was 20 over. I didn't see any errors in the console either, so I don't know what was causing it.
    bl4nk is offline
    Wiebbe
    Junior Member
    Join Date: Jul 2007
    Old 07-02-2007 , 17:26   Re: Network Monitor
    Reply With Quote #10

    I have discovered that when i reload the plugin by hand it works properly. But after a map reload it just fubars again :< (ie, all 0,00 values)
    Wiebbe 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 02:10.


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