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

Net Optimizer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Plugin ID:
667
Plugin Version:
1.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Boost up server net by allowing compating even small packets.
    Unapprover:
    Reason for Unapproving:
    This can be added to server.cfg -- No plugin needed.
    Old 12-08-2008 , 23:05   Net Optimizer
    Reply With Quote #1

    This is a pretty simple plugin. All it does is set net_compresspackets_minsize to 0 so the core will compress all the packets meaning a better usage of the net. Usefull to save bandwich and for players with low download rate (me, 20kb/s on good days).
    Attached Files
    File Type: sp Get Plugin or Get Source (netoptimizer.sp - 1145 views - 682 Bytes)
    Sammy-ROCK! is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 12-09-2008 , 00:18   Re: Net Optimizer
    Reply With Quote #2

    Couldn't this be done with a simple .cfg file?
    bl4nk is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 12-09-2008 , 05:31   Re: Net Optimizer
    Reply With Quote #3

    I can't say this is a plugin.
    You just set net_compresspackets_minsize 0 wich can be done more easily without this plugin by adding cvar into a auto-exec .cfg file (server.cfg etc)
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 12-09-2008 , 05:42   Re: Net Optimizer
    Reply With Quote #4

    So is that command just good to have in general or not worth it if the servers rented? Pros?
    __________________

    DontWannaName is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-09-2008 , 08:46   Re: Net Optimizer
    Reply With Quote #5

    It's a hidden convar. If you place in cfg it'll get you an error.

    It supposely makes the server compress all the packets not only the big ones. So you save more bytes in the bandwich.

    Used in HLSW:
    net_compresspackets_minsize 1
    Unknown command "net_compresspackets_minsize"

    Also for some mods it can be done in cfg. Like in ZPS but mods like ZM and L4D you can't.

    Last edited by Sammy-ROCK!; 12-09-2008 at 08:49.
    Sammy-ROCK! is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 12-09-2008 , 08:59   Re: Net Optimizer
    Reply With Quote #6

    and will work simply without unbloking some convar flags ?
    I guess you tested and worked ^^
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-09-2008 , 09:12   Re: Net Optimizer
    Reply With Quote #7

    The convar actualy changed in my server with it. In theory it should be compressing any packets. But I have no clue how to test it out xD
    You can check it using "help net_compresspackets_minsize".

    HLSW L4D:
    help net_compresspackets_minsize
    "net_compresspackets_minsize" = "0" ( def. "1000" ) //We made packets lower than 1KB get compressed! Small things are a begin.
    - Don't bother compressing packets below this size.

    The convar is just hidden in some mods. Not protected actualy.
    It seems that help command reveals most if not all the convars. But without description for some of them.

    Last edited by Sammy-ROCK!; 12-09-2008 at 09:23.
    Sammy-ROCK! is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 12-09-2008 , 14:23   Re: Net Optimizer
    Reply With Quote #8

    I noticed no reduction of sent / received data (tf2 / 24players)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    red!
    Senior Member
    Join Date: Sep 2007
    Location: Germany
    Old 12-09-2008 , 14:49   Re: Net Optimizer
    Reply With Quote #9

    I'm not sure if this really makes sense. The compresion/decompression costs time. For bigger packages the time saved by sending less data will make an advantage in overall packet transmission time, but for smaller packets the transmission delay will increase. I am not sure if the default fits optimally, but for me I will not touch it.
    red! is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-09-2008 , 15:00   Re: Net Optimizer
    Reply With Quote #10

    It saves actualy a few bytes. Not much. Also red! small packets gets compressed like instantly.
    Sammy-ROCK! 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:23.


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