SRCDS Steam group


Garrys mod server rate settings
#1
I have been searching evrywhere and can't find a really proven method of setting my servers tick rates.

Server OS: Windows XP Pro
Processor: Intel Pentium D 925, Dual core, 3.0 GHz
Ram: 2 GB
Game(s): Garry's Mod
Start Up Command:
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /high /wait srcds.exe -console -game garrysmod +map "sb_new_worlds_2" +maxplayers 16 +fps_max 600 -Port 27015 -tickrate 66 -gamemode "spacebuild3" -exec server.cfg
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Server.cfg:
Code:
//"ServerSettings"

    "hostname"                "Dedicated T1 Server [SPACEWAR]"
      "rcon_password"             "****"
      "sv_password"             "****"
    "sv_region"             "1" // eastcoast: 0 - westcoast: 1 - south america: 2 - europe: 3 - asia: 4 - australia: 5 - middle east: 6 - africa: 7 - world: 255
    "sv_lan"                "0"

    // enable logging and start log file
        sv_logfile 1

    // gather server statistics
        sv_stats 1

    //After this many seconds without a message from a client, the client is dropped (default 65)
        sv_timeout 65

    // allow sprays and map content to be downloaded (default 1)
        sv_allowdownload 1

    //Force server side preloading (default 0)
        sv_forcepreload 1

    //Server Rates
        // Max bandwidth rate allowed on server, 0 == unlimited
            sv_maxrate 9999

        // Min bandwidth rate allowed on server, 0 == unlimited
            sv_minrate 0
    
        // Maximum updates per second that the server will allow (default 60)
            sv_maxupdaterate 100
    
        // Minimum updates per second that the server will allow (default 10)
            sv_minupdaterate 10
    
    // rcon failure settings
        //Number of minutes to ban users who fail rcon authentication
            sv_rcon_banpenalty 0
    
        //Number of minutes to ban users who fail rcon authentication
            sv_rcon_maxfailures 10
    
        // Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
                sv_rcon_minfailures 5
    
        // Number of seconds to track failed rcon authentications
            sv_rcon_minfailuretime 30
    
// Sandbox server settings
    "sbox_godmode"            "0"
    "sbox_plpldamage"            "0"  // set this to 1 to disable player vs player damage.
    "sbox_noclip"            "1"

// Sandbox limits
    "sbox_maxprops"            "100"
    "sbox_maxragdolls"        "0"
    "sbox_maxnpcs"            "0"
    "sbox_maxballoons"        "0"
    "sbox_maxeffects"            "0"
    "sbox_maxdynamite"        "0"
    "sbox_maxlamps"            "5"
    "sbox_maxthrusters"        "10"
    "sbox_maxwheels"            "10"
    "sbox_maxhoverballs"        "10"
    "sbox_maxvehicles"        "6"
    "sbox_maxbuttons"            "20"
    "sbox_maxemitters"        "0"
    "sbox_maxspawners"        "1"
    "sbox_maxturrets"            "2"


// Sandbox WIRE limits
// If you are not running wire addon, remove this entire section.
    "sbox_maxwire_wheels"            "20"
    "sbox_maxwire_waypoints"        "30"
    "sbox_maxwire_values"            "20"
    "sbox_maxwire_twoway_radioes"        "30"
    "sbox_maxwire_thrusters"        "30"
    "sbox_maxwire_target_finders"        "10"
    "sbox_maxwire_speedometers"        "14"
    "sbox_maxwire_emitters"            "25"
    "sbox_maxwire_simple_explosive"    "0"
    "sbox_maxwire_sensors"            "30"
    "sbox_maxwire_screens"            "20"
    "sbox_maxwire_relays"            "20"
    "sbox_maxwire_rangers"            "20"
    "sbox_maxwire_radioes"            "30"
    "sbox_maxwire_sockets"            "20"
    "sbox_maxwire_plugs"            "20"
    "sbox_maxwire_pixels"            "20"
    "sbox_maxwire_panels"            "20"
    "sbox_maxwire_outputs"            "20"
    "sbox_maxwire_oscilloscopes"        "20"
    "sbox_maxwire_locators"            "30"
    "sbox_maxwire_lights"            "16"
    "sbox_maxwire_inputs"            "20"
    "sbox_maxwire_indicators"        "21"
    "sbox_maxwire_hoverballs"        "20"
    "sbox_maxwire_gyroscopes"        "10"
    "sbox_maxwire_gpss"            "10"
    "sbox_maxwire_gate_trigs"        "30"
    "sbox_maxwire_gate_times"        "30"
    "sbox_maxwire_gate_selections"    "30"
    "sbox_maxwire_gate_memorys"        "30"
    "sbox_maxwire_gate_logics"        "30"
    "sbox_maxwire_gate_comparisons"    "30"
    "sbox_maxwire_gates"            "50"
    "sbox_maxwire_explosive"        "0"
    "sbox_maxwire_dual_inputs"        "20"
    "sbox_maxwire_detonators"        "20"
    "sbox_maxwire_buttons"            "25"
    "sbox_maxwire_adv_inputs"        "20"
echo Server.cfg executed successfully.
Admin Mods: ULX
Bandwidth: 25 Mbps down, 25 Mbps up
Router: Westell Ultraline series 3 A 90-9100 EM15-10 Hardware revision: A
Local IP of Server: 192.168.1.10
External IP: 173.51.125.117
Port Forwarding Screen Shot: [Image: portforwardj.png]
Reply
#2
In the command line change what is after -tickrate
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#3
Try put this in your server.cfg Big Grin

sv_minrate 0
sv_maxrate 30000
decalfrequency 10
sv_maxupdaterate 67
sv_minupdaterate 33
[Image: signature.jpg]

Reply
#4
That worked with the rates, i get no lag at all! i have a new problem however, when the server is running other computers on my network slow down on the internet. Is there a way to set a quota for the server so it will use no more then say, 10 Mbps. Or a setting that will throttle it down once another computer needs more bandwith
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)