From a37ebf57d4478693b2cb79c6c1507a562dd87184 Mon Sep 17 00:00:00 2001 From: Alexander Hurd Date: Mon, 29 Aug 2016 00:14:22 -0400 Subject: [PATCH] GoldenEye: Source updates --- GoldenEyeSource/cfg/lgsm-default.cfg | 42 ++++++-------------------- lgsm/functions/install_server_files.sh | 2 +- 2 files changed, 10 insertions(+), 34 deletions(-) diff --git a/GoldenEyeSource/cfg/lgsm-default.cfg b/GoldenEyeSource/cfg/lgsm-default.cfg index ae3f1319f..db1a2fdd6 100644 --- a/GoldenEyeSource/cfg/lgsm-default.cfg +++ b/GoldenEyeSource/cfg/lgsm-default.cfg @@ -46,6 +46,12 @@ mp_flashlight 0 // 1 enables falling damage, 0 disables it mp_falldamage 1 +// Map/match time, in minutes +mp_timelimit 15 + +// Round time, in seconds +ge_roundtime 300 + // 1 = Forces the engine to use light physics for better server preformance sv_turbophysics 0 @@ -89,35 +95,8 @@ exec server_normal.cfg // **Should be used ALONE only! //exec server_tournament.cfg - -// *********** Rates *********** - -// Max bandwidth rate allowed on server, 0=unlimited, max=20000 -sv_maxrate 20000 - -// Min bandwidth rate allowed on server, 0=unlimited, 4000=dialup limit - -// 10000=any modern connection, CAL minimum rate. -sv_minrate 10000 - -// Maximum updates per second that the server will allow, increasing this will take more cpu power, 100 is max - -// 66 max, 50 min rate clamping reduces hit-reg problems. - -// Permitting lower rates only can help dialup players and not by much. -sv_maxcmdrate 66 -sv_maxupdaterate 66 -sv_mincmdrate 50 -sv_minupdaterate 50 - -// Enforce symmetrical rates. -sv_client_cmdrate_difference 17 - -// Ensure client interpolation functions appropriately. - -// Improves hit registration for bullet weapons. -sv_client_max_interp_ratio 3 -sv_client_min_interp_ratio 2 +// Load network settings +exec server_netvalues // *********** server logging *********** log on @@ -144,7 +123,4 @@ sv_voiceenable 1 sv_cheats 0 // disable clients' ability to pause the server -sv_pausable 0 - -// Forces prediction on the client, protects clients from themselves. -sv_client_predict 1 +sv_pausable 0 \ No newline at end of file diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh index fda796674..e69a4de76 100644 --- a/lgsm/functions/install_server_files.sh +++ b/lgsm/functions/install_server_files.sh @@ -22,7 +22,7 @@ fn_install_server_files(){ elif [ "${gamename}" == "Unreal Tournament" ]; then fileurl="https://files.gameservermanagers.com/UnrealTournament/UnrealTournament-Server-XAN-3045522-Linux.zip"; filedir="${lgsmdir}/tmp"; filename="UnrealTournament-Server-XAN-3045522-Linux.zip"; executecmd="noexecute" run="norun"; force="noforce"; md5="553fed5645a9fc623e92563049bf79f6" elif [ "${gamename}" == "GoldenEye: Source" ]; then - fileurl="https://files.gameservermanagers.com/GoldenEyeSource/goldenEye_source_v4.2.4_server_2015_map_pack.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="goldenEye_source_v4.2.4_server_2015_map_pack.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="3148ac38acc3642b0d6d64f51f27de15" + fileurl="https://s3.amazonaws.com/linuxgsm/GoldenEye_Source_v5.0.1_server_full_Linux.tar.gz"; filedir="${lgsmdir}/tmp"; filename="GoldenEye_Source_v5.0.1_server_full_Linux.tar.gz"; executecmd="noexecute" run="norun"; force="noforce"; md5="5cee463370b9b776b3699f6be1826159" fi fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}" fn_dl_extract "${filedir}" "${filename}" "${filesdir}"