From cfbf4c722ac64f4e4cb87d1ffb029546f8b20d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Fri, 25 Apr 2014 04:00:15 +0200 Subject: [PATCH] remove tickrate command for servers which do not support it as per https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking it is not possible to change the tickrate for these games since June 2010 --- CounterStrikeSource/cssserver | 3 +-- DayOfDefeatSource/dodsserver | 3 +-- Left4Dead2/l4d2server | 3 +-- TeamFortress2/tf2server | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 69b9c472a..a12387569 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -19,7 +19,6 @@ steampass="" # Start Variables defaultmap="de_dust2" maxplayers="16" -tickrate="64" port="27015" sourcetvport="27020" clientport="27005" @@ -27,7 +26,7 @@ ip="0.0.0.0" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables #### diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 6ac981489..0db32ea82 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -19,7 +19,6 @@ steampass="" # Start Variables defaultmap="dod_Anzio" maxplayers="16" -tickrate="64" port="27015" sourcetvport="27020" clientport="27005" @@ -27,7 +26,7 @@ ip="0.0.0.0" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables #### diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index 2d3792df6..c227360eb 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -19,7 +19,6 @@ steampass="" # Start Variables defaultmap="c5m1_waterfront" maxplayers="8" -tickrate="64" port="27015" sourcetvport="27020" clientport="27005" @@ -27,7 +26,7 @@ ip="0.0.0.0" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables #### diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index 66b203354..b3ae08c8d 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -19,7 +19,6 @@ steampass="" # Start Variables defaultmap="de_dust2" maxplayers="16" -tickrate="64" port="27015" sourcetvport="27020" clientport="27005" @@ -27,7 +26,7 @@ ip="0.0.0.0" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables ####