diff --git a/7DaysToDie/sdtdserver b/7DaysToDie/sdtdserver index 67607e35a..0c532d2e5 100644 --- a/7DaysToDie/sdtdserver +++ b/7DaysToDie/sdtdserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit - emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/ARKSurvivalEvolved/arkserver b/ARKSurvivalEvolved/arkserver index c2b30ab09..aa562c209 100644 --- a/ARKSurvivalEvolved/arkserver +++ b/ARKSurvivalEvolved/arkserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -45,9 +45,11 @@ parms="\"TheIsland?listen?MultiHome=${ip}?SessionName=${servername}?MaxPlayers=$ emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -191,7 +193,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Arma3/arma3server b/Arma3/arma3server index 9fd409b21..f5a1c7830 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -59,9 +59,11 @@ parms="-netlog -ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${serv emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -208,7 +210,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Battlefield1942/bf1942server b/Battlefield1942/bf1942server index 4f715a224..52eca3409 100644 --- a/Battlefield1942/bf1942server +++ b/Battlefield1942/bf1942server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -35,9 +35,11 @@ parms="+hostServer 1 +dedicated 1" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/BlackMesa/bmdmserver b/BlackMesa/bmdmserver index e55044e5d..e59419347 100644 --- a/BlackMesa/bmdmserver +++ b/BlackMesa/bmdmserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -49,9 +49,11 @@ parms="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -196,7 +198,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index be7aa2266..89423115b 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -48,9 +48,11 @@ parms="-autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientp emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -186,7 +188,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/BrainBread2/bb2server b/BrainBread2/bb2server index b23bd5f31..932600773 100644 --- a/BrainBread2/bb2server +++ b/BrainBread2/bb2server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -52,9 +52,11 @@ parms="-game brainbread2 -insecure -strictportbind -ip ${ip} -port ${port} +clie emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -198,7 +200,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CallOfDuty/codserver b/CallOfDuty/codserver index 497a00cd3..795f89b83 100755 --- a/CallOfDuty/codserver +++ b/CallOfDuty/codserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -41,9 +41,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set n emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -176,7 +178,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CallOfDuty2/cod2server b/CallOfDuty2/cod2server index 58214c9c4..885175339 100755 --- a/CallOfDuty2/cod2server +++ b/CallOfDuty2/cod2server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -42,9 +42,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set n emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -177,7 +179,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CallOfDutyUnitedOffensive/coduoserver b/CallOfDutyUnitedOffensive/coduoserver new file mode 100755 index 000000000..95675a10f --- /dev/null +++ b/CallOfDutyUnitedOffensive/coduoserver @@ -0,0 +1,188 @@ +#!/bin/bash +# Project: Game Server Managers - LinuxGSM +# Author: Daniel Gibbs +# License: MIT License, Copyright (c) 2016 Daniel Gibbs +# Purpose: Call of Duty: United Offensive | Server Management Script +# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors +# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki +# Website: https://gameservermanagers.com + +# Debugging +if [ -f ".dev-debug" ]; then + exec 5>dev-debug.log + BASH_XTRACEFD="5" + set -x +fi + +version="161118" + +########################## +######## Settings ######## +########################## + +#### Server Settings #### + +## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters + +defaultmap="mp_cassino" +maxclients="20" +port="28960" +ip="0.0.0.0" + +## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters +fn_parms(){ +parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set net_ip ${ip} +set net_port ${port} +set sv_maxclients ${maxclients} +exec ${servercfg} +map ${defaultmap}" +} + +#### LinuxGSM Settings #### + +## Notification Alerts +# (on|off) +# Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email +emailalert="off" +email="email@example.com" +emailfrom="" + +# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet +pushbulletalert="off" +pushbullettoken="accesstoken" +channeltag="" + +## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup +maxbackups="4" +maxbackupdays="30" +stoponbackup="on" + +## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging +consolelogging="on" +logdays="7" + +#### Advanced Variables #### + +## Github Branch Select +# Allows for the use of different function files +# from a different repo and/or branch. +githubuser="GameServerManagers" +githubrepo="LinuxGSM" +githubbranch="master" + +## LinuxGSM Server Details +# Do not edit +gamename="Call of Duty: United Offensive" +engine="idtech3" + +## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers +servicename="coduo-server" + +#### Directories #### +# Edit with care + +## Work Directories +rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" +lockselfname=".${servicename}.lock" +lgsmdir="${rootdir}/lgsm" +functionsdir="${lgsmdir}/functions" +libdir="${lgsmdir}/lib" +tmpdir="${lgsmdir}/tmp" +filesdir="${rootdir}/serverfiles" + +## Server Specific Directories +systemdir="${filesdir}" +executabledir="${filesdir}" +executable="./coduo_lnxded" +servercfg="${servicename}.cfg" +servercfgdefault="server.cfg" +servercfgdir="${systemdir}/uo" +servercfgfullpath="${servercfgdir}/${servercfg}" + +## Backup Directory +backupdir="${rootdir}/backups" + +## Logging Directories +gamelogdir="${filesdir}/Logs" +scriptlogdir="${rootdir}/log/script" +consolelogdir="${rootdir}/log/console" +scriptlog="${scriptlogdir}/${servicename}-script.log" +consolelog="${consolelogdir}/${servicename}-console.log" +emaillog="${scriptlogdir}/${servicename}-email.log" + +## Logs Naming +scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" +consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" + +######################## +######## Script ######## +###### Do not edit ##### +######################## + +# Fetches core_dl for file downloads +fn_fetch_core_dl(){ +github_file_url_dir="lgsm/functions" +github_file_url_name="${functionfile}" +filedir="${functionsdir}" +filename="${github_file_url_name}" +githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${github_file_url_name}" +# If the file is missing, then download +if [ ! -f "${filedir}/${filename}" ]; then + if [ ! -d "${filedir}" ]; then + mkdir -p "${filedir}" + fi + echo -e " fetching ${filename}...\c" + # Check curl exists and use available path + curlpaths="$(command -v curl 2>/dev/null) $(which curl >/dev/null 2>&1) /usr/bin/curl /bin/curl /usr/sbin/curl /sbin/curl)" + for curlcmd in ${curlpaths} + do + if [ -x "${curlcmd}" ]; then + break + fi + done + # If curl exists download file + if [ "$(basename ${curlcmd})" == "curl" ]; then + curlfetch=$(${curlcmd} -s --fail -o "${filedir}/${filename}" "${githuburl}" 2>&1) + if [ $? -ne 0 ]; then + echo -e "\e[0;31mFAIL\e[0m\n" + echo "${curlfetch}" + echo -e "${githuburl}\n" + exit 1 + else + echo -e "\e[0;32mOK\e[0m" + fi + else + echo -e "\e[0;31mFAIL\e[0m\n" + echo "Curl is not installed!" + echo -e "" + exit 1 + fi + chmod +x "${filedir}/${filename}" +fi +source "${filedir}/${filename}" +} + +core_dl.sh(){ +# Functions are defined in core_functions.sh. +functionfile="${FUNCNAME}" +fn_fetch_core_dl +} + +core_functions.sh(){ +# Functions are defined in core_functions.sh. +functionfile="${FUNCNAME}" +fn_fetch_core_dl +} + +# Prevent from running this script as root. +if [ "$(whoami)" = "root" ]; then + if [ ! -f "${functionsdir}/core_functions.sh" ]||[ ! -f "${functionsdir}/check_root.sh" ]||[ ! -f "${functionsdir}/core_messages.sh" ]||[ ! -f "${functionsdir}/core_exit.sh" ]; then + echo "[ FAIL ] Do NOT run this script as root!" + exit 1 + else + core_functions.sh + check_root.sh + fi +fi + +core_dl.sh +core_functions.sh +getopt=$1 +core_getopt.sh \ No newline at end of file diff --git a/CodenameCURE/ccserver b/CodenameCURE/ccserver index b9682f910..00767735f 100644 --- a/CodenameCURE/ccserver +++ b/CodenameCURE/ccserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -42,9 +42,11 @@ parms="-game cure -insecure -strictportbind -ip ${ip} -port ${port} +clientport emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -188,7 +190,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 5c9906da3..1acc5c203 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game cstrike -strictportbind +ip ${ip} -port ${port} +clientport ${clien emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index 75da8b7b8..d478e5130 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game czero -strictportbind +ip ${ip} -port ${port} +clientport ${clientp emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index 1dded9f29..6e06cce57 100755 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -67,9 +67,11 @@ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport $ emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -213,7 +215,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 857faf6f0..5748f9482 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -50,9 +50,11 @@ parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clien emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -196,7 +198,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index ead2232d4..b8d5fd24c 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game dod -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -191,7 +193,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index abe4ab056..feae13543 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/DayOfInfamy/doiserver b/DayOfInfamy/doiserver index 1aac2bb8c..3059345ab 100644 --- a/DayOfInfamy/doiserver +++ b/DayOfInfamy/doiserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -46,9 +46,11 @@ parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -193,7 +195,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/DeathmatchClassic/dmcserver b/DeathmatchClassic/dmcserver index d5c594bde..38487c7fc 100644 --- a/DeathmatchClassic/dmcserver +++ b/DeathmatchClassic/dmcserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game dmc -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/DontStarveTogether/dstserver b/DontStarveTogether/dstserver index 99493668f..28a104219 100644 --- a/DontStarveTogether/dstserver +++ b/DontStarveTogether/dstserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -42,9 +42,11 @@ parms="-console -cluster MyDediServer -shard Master" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/DoubleActionBoogaloo/dabserver b/DoubleActionBoogaloo/dabserver index 088b45695..8466f6d5d 100644 --- a/DoubleActionBoogaloo/dabserver +++ b/DoubleActionBoogaloo/dabserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_por emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/EmpiresMod/emserver b/EmpiresMod/emserver index 6c2fa539c..7fe58d3b5 100644 --- a/EmpiresMod/emserver +++ b/EmpiresMod/emserver @@ -28,9 +28,11 @@ parms="-game empires -strictportbind -ip ${ip} -port ${port} +clientport ${clien emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index dc74a2534..5be1b822a 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game fof -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index adeef431c..ea7e16c0a 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -59,9 +59,11 @@ parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickr emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -206,7 +208,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/GoldenEyeSource/gesserver b/GoldenEyeSource/gesserver index bc44ae33c..7eb70c8ba 100644 --- a/GoldenEyeSource/gesserver +++ b/GoldenEyeSource/gesserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game gesource -strictportbind -ip ${ip} -port ${port} +clientport ${clie emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index a6ab0634e..d2e98e034 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game hl2mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/HalfLifeDeathmatch/hldmserver b/HalfLifeDeathmatch/hldmserver index b9f1e2432..455bd016c 100644 --- a/HalfLifeDeathmatch/hldmserver +++ b/HalfLifeDeathmatch/hldmserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game valve -strictportbind +ip ${ip} -port ${port} +clientport ${clientp emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/HalfLifeDeathmatchSource/hldmsserver b/HalfLifeDeathmatchSource/hldmsserver index b1e2b02e6..e5e992ef7 100644 --- a/HalfLifeDeathmatchSource/hldmsserver +++ b/HalfLifeDeathmatchSource/hldmsserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game hl1mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -193,7 +195,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Hurtworld/hwserver b/Hurtworld/hwserver index 80fca576c..81e085dcd 100644 --- a/Hurtworld/hwserver +++ b/Hurtworld/hwserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -56,9 +56,11 @@ parms="-batchmode -nographics -exec \"host ${port} ${map} ${loadsave};queryport emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -203,7 +205,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Insurgency/insserver b/Insurgency/insserver index 4ba642794..89589bdbb 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -46,9 +46,11 @@ parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${cl emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -195,7 +197,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/JustCause2/jc2server b/JustCause2/jc2server index 5bc7b3623..5ee07555e 100644 --- a/JustCause2/jc2server +++ b/JustCause2/jc2server @@ -1,5 +1,4 @@ #!/bin/bash -# Just Cause 2 # Project: Game Server Managers - LinuxGSM # Author: Daniel Gibbs # License: MIT License, Copyright (c) 2016 Daniel Gibbs @@ -15,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -38,9 +37,11 @@ parms="" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -184,7 +185,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index f2253d707..6ff0300c1 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -46,9 +46,11 @@ parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -195,7 +197,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index fc1278113..c72e1c6ec 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game left4dead -strictportbind -ip ${ip} -port ${port} +clientport ${cli emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index ba9da4f91..03f71e71e 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${cl emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Minecraft/mcserver b/Minecraft/mcserver index d0f77e5cd..eaac52215 100644 --- a/Minecraft/mcserver +++ b/Minecraft/mcserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -38,9 +38,11 @@ parms="nogui" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -175,7 +177,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Mumble/mumbleserver b/Mumble/mumbleserver index 7d83cf15d..6e830badb 100644 --- a/Mumble/mumbleserver +++ b/Mumble/mumbleserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -37,9 +37,11 @@ parms="-fg -ini ${servercfgfullpath}" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/NS2Combat/ns2cserver b/NS2Combat/ns2cserver index 5b50fdfff..77688302f 100644 --- a/NS2Combat/ns2cserver +++ b/NS2Combat/ns2cserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -55,9 +55,11 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -200,7 +202,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index 7e4c34514..bbb60dc34 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -55,9 +55,11 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -200,7 +202,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 65e220b5f..2c4e37ffe 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -49,9 +49,11 @@ parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -195,7 +197,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/OpposingForce/opforserver b/OpposingForce/opforserver index e3db2a701..7b3cc6ef6 100644 --- a/OpposingForce/opforserver +++ b/OpposingForce/opforserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game gearbox -strictportbind +ip ${ip} -port ${port} +clientport ${clien emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/PiratesVikingandKnightsII/pvkiiserver b/PiratesVikingandKnightsII/pvkiiserver index 32310d7f3..4861430fe 100644 --- a/PiratesVikingandKnightsII/pvkiiserver +++ b/PiratesVikingandKnightsII/pvkiiserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="-game pvkii -strictportbind -ip ${ip} -port ${port} +clientport ${clientp emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/ProjectZomboid/pzserver b/ProjectZomboid/pzserver index 92f7170a6..782a2118c 100644 --- a/ProjectZomboid/pzserver +++ b/ProjectZomboid/pzserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -38,9 +38,11 @@ parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${servicename}" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -184,7 +186,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Quake2/q2server b/Quake2/q2server index 8bdbbeba1..3a0723a1a 100644 --- a/Quake2/q2server +++ b/Quake2/q2server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -39,9 +39,11 @@ parms="+set dedicated 1 +set ip ${ip} +set port ${port} +exec ${servercfg} +set emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Quake3/q3server b/Quake3/q3server index ec403b301..445875a85 100644 --- a/Quake3/q3server +++ b/Quake3/q3server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -40,9 +40,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set c emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -175,7 +177,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/QuakeLive/qlserver b/QuakeLive/qlserver index 95dfee65a..19fb451fa 100755 --- a/QuakeLive/qlserver +++ b/QuakeLive/qlserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -47,9 +47,11 @@ parms="+set net_strict 1 +set net_ip ${ip} +set net_port ${port} +set fs_homepat emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -194,7 +196,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/QuakeWorld/qwserver b/QuakeWorld/qwserver index 78449e81f..5e1bb60de 100644 --- a/QuakeWorld/qwserver +++ b/QuakeWorld/qwserver @@ -24,6 +24,7 @@ email="email@example.com" # https://www.pushbullet.com/#settings pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" # Start Variables ip="0.0.0.0" diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index c62ae3144..97534b981 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -44,9 +44,11 @@ parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir in emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -197,7 +199,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Ricochet/ricochetserver b/Ricochet/ricochetserver index fb1b9c828..419bc04c6 100644 --- a/Ricochet/ricochetserver +++ b/Ricochet/ricochetserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -67,9 +67,11 @@ parms="" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -214,7 +216,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Rust/rustserver b/Rust/rustserver index 6300440a0..3a19bb140 100644 --- a/Rust/rustserver +++ b/Rust/rustserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -59,9 +59,11 @@ fi emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -208,7 +210,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/SeriousSam3BFE/ss3sserver b/SeriousSam3BFE/ss3sserver index 756782b71..bf5b8b3d9 100644 --- a/SeriousSam3BFE/ss3sserver +++ b/SeriousSam3BFE/ss3sserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -39,9 +39,11 @@ parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -187,7 +189,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Starbound/sbserver b/Starbound/sbserver index b27081421..ef4f73ef9 100644 --- a/Starbound/sbserver +++ b/Starbound/sbserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/SvenCoop/svenserver b/SvenCoop/svenserver index 193efdd9a..c6fecf4ba 100644 --- a/SvenCoop/svenserver +++ b/SvenCoop/svenserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clie emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index e9343bd63..2d9a3da3c 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -47,9 +47,11 @@ parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -193,7 +195,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index d5caad15a..9b80dca60 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-game tfc -strictportbind _ip ${ip} -port ${port} +clientport ${clientpor emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/TeamSpeak3/ts3server b/TeamSpeak3/ts3server index d400f191f..10e3344ec 100644 --- a/TeamSpeak3/ts3server +++ b/TeamSpeak3/ts3server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -31,9 +31,11 @@ version="161113" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -166,7 +168,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Teeworlds/twserver b/Teeworlds/twserver index 65acc8168..2db116724 100644 --- a/Teeworlds/twserver +++ b/Teeworlds/twserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-f ${servercfgfullpath}" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/Terraria/terrariaserver b/Terraria/terrariaserver index fb143b6ef..bcc9a270e 100644 --- a/Terraria/terrariaserver +++ b/Terraria/terrariaserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -43,9 +43,11 @@ parms="-config ${servercfgfullpath}" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/UnrealTournament/utserver b/UnrealTournament/utserver index f2383df8f..e40cba5cb 100644 --- a/UnrealTournament/utserver +++ b/UnrealTournament/utserver @@ -1,5 +1,4 @@ #!/bin/bash -# Unreal Tournament # Project: Game Server Managers - LinuxGSM # Author: Daniel Gibbs # License: MIT License, Copyright (c) 2016 Daniel Gibbs @@ -15,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -45,9 +44,11 @@ parms="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -p emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -179,7 +180,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index 56d61b464..bfbce6d08 100644 --- a/UnrealTournament2004/ut2k4server +++ b/UnrealTournament2004/ut2k4server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -40,9 +40,11 @@ parms="server ${defaultmap}?game=XGame.xDeathMatch -nohomedir ini=${servercfg} l emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -178,7 +180,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/UnrealTournament3/ut3server b/UnrealTournament3/ut3server index a9ec44cf8..3a70643ee 100644 --- a/UnrealTournament3/ut3server +++ b/UnrealTournament3/ut3server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -51,9 +51,11 @@ parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -188,7 +190,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/UnrealTournament99/ut99server b/UnrealTournament99/ut99server index 6ccecea9a..c08403f97 100644 --- a/UnrealTournament99/ut99server +++ b/UnrealTournament99/ut99server @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -40,9 +40,11 @@ parms="server ${defaultmap}.unr ini=${servercfgfullpath}" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" @@ -176,7 +178,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/WolfensteinEnemyTerritory/wetserver b/WolfensteinEnemyTerritory/wetserver index 1364157b9..ff33e2647 100644 --- a/WolfensteinEnemyTerritory/wetserver +++ b/WolfensteinEnemyTerritory/wetserver @@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -39,9 +39,11 @@ fn_parms(){ emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" +channeltag="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" @@ -177,7 +179,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh diff --git a/lgsm/functions/command_details.sh b/lgsm/functions/command_details.sh index 4ce097e1a..598451dc5 100644 --- a/lgsm/functions/command_details.sh +++ b/lgsm/functions/command_details.sh @@ -350,6 +350,24 @@ fn_details_cod(){ } | column -s $'\t' -t } +fn_details_coduo(){ + echo -e "netstat -atunp | grep coduo_lnxded" + echo -e "" + { + echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" + echo -e "> Game\tINBOUND\t${port}\tudp" + } | column -s $'\t' -t +} + +fn_details_cod2(){ + echo -e "netstat -atunp | grep cod2_lnxded" + echo -e "" + { + echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" + echo -e "> Game\tINBOUND\t${port}\tudp" + } | column -s $'\t' -t +} + fn_details_dontstarve(){ echo -e "netstat -atunp | grep dontstarve" echo -e "" @@ -652,15 +670,6 @@ fn_details_ark(){ } | column -s $'\t' -t } -fn_details_cod2(){ - echo -e "netstat -atunp | grep cod2_lnxded" - echo -e "" - { - echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" - echo -e "> Game\tINBOUND\t${port}\tudp" - } | column -s $'\t' -t -} - # Run checks and gathers details to display. fn_display_details() { @@ -717,6 +726,8 @@ fn_display_details() { fn_details_ark elif [ "${gamename}" == "Call of Duty" ]; then fn_details_cod + elif [ "${gamename}" == "Call of Duty: United Offensive" ]; then + fn_details_coduo elif [ "${gamename}" == "Call of Duty 2" ]; then fn_details_cod2 elif [ "${gamename}" == "Hurtworld" ]; then diff --git a/lgsm/functions/command_install.sh b/lgsm/functions/command_install.sh index e36ac5967..208f8e3d5 100644 --- a/lgsm/functions/command_install.sh +++ b/lgsm/functions/command_install.sh @@ -18,7 +18,7 @@ check_deps.sh if [ "${gamename}" == "Unreal Tournament 2004" ]; then install_server_files.sh install_ut2k4_key.sh -elif [ "${gamename}" == "Battlefield: 1942" ]||[ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty 2" ]||[ "${gamename}" == "Minecraft" ]||[ "${gamename}" == "Quake 2" ]||[ "${gamename}" == "Quake 3: Arena" ]||[ "${gamename}" == "QuakeWorld" ]||[ "${gamename}" == "Unreal Tournament 99" ]||[ "${gamename}" == "Unreal Tournament 3" ]||[ "${gamename}" == "Unreal Tournament" ]||[ "${gamename}" == "TeamSpeak 3" ]||[ "${gamename}" == "Mumble" ]||[ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then +elif [ "${gamename}" == "Battlefield: 1942" ]||[ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty: United Offensive" ]||[ "${gamename}" == "Call of Duty 2" ]||[ "${gamename}" == "Minecraft" ]||[ "${gamename}" == "Quake 2" ]||[ "${gamename}" == "Quake 3: Arena" ]||[ "${gamename}" == "QuakeWorld" ]||[ "${gamename}" == "Unreal Tournament 99" ]||[ "${gamename}" == "Unreal Tournament" ]||[ "${gamename}" == "Unreal Tournament 3" ]||[ "${gamename}" == "TeamSpeak 3" ]||[ "${gamename}" == "Mumble" ]||[ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then installer=1 install_server_files.sh elif [ -n "${appid}" ]; then diff --git a/lgsm/functions/core_getopt.sh b/lgsm/functions/core_getopt.sh index ec1e45713..2178c1acb 100644 --- a/lgsm/functions/core_getopt.sh +++ b/lgsm/functions/core_getopt.sh @@ -622,7 +622,7 @@ case "${getopt}" in if [ "${gamename}" == "Mumble" ]; then fn_getopt_mumble -elif [ "${gamename}" == "Battlefield: 1942" ]||[ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty 2" ]||[ "${gamename}" == "QuakeWorld" ]||[ "${gamename}" == "Quake 2" ]||[ "${gamename}" == "Quake 3: Arena" ]||[ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then +elif [ "${gamename}" == "Battlefield: 1942" ]||[ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty: United Offensive" ]||[ "${gamename}" == "Call of Duty 2" ]||[ "${gamename}" == "QuakeWorld" ]||[ "${gamename}" == "Quake 2" ]||[ "${gamename}" == "Quake 3: Arena" ]||[ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then fn_getopt_generic_no_update elif [ "${engine}" == "lwjgl2" ]; then fn_getopt_minecraft diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index a57e179c4..5671ed627 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -37,8 +37,6 @@ if [ "${function_selfname}" != "command_install.sh" ]; then if [ "${gamename}" == "ARMA 3" ]; then fix_arma3.sh - elif [ "${gamename}" == "Call of Duty 2" ]; then - fix_cod2.sh elif [ "${gamename}" == "Counter-Strike: Global Offensive" ]; then fix_csgo.sh elif [ "${gamename}" == "Don't Starve Together" ]; then diff --git a/lgsm/functions/fix_coduo.sh b/lgsm/functions/fix_coduo.sh new file mode 100644 index 000000000..09835eadb --- /dev/null +++ b/lgsm/functions/fix_coduo.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# LGSM fix_coduo.sh function +# Author: Alexander Hurd +# Website: https://gameservermanagers.com +# Description: Fixes for Call of Duty: United Offensive + +local commandname="FIX" +local commandaction="Fix" + +# Force glibc fix +fix_glibc.sh + diff --git a/lgsm/functions/fix_glibc.sh b/lgsm/functions/fix_glibc.sh index 5abc18e9a..bd793d72a 100644 --- a/lgsm/functions/fix_glibc.sh +++ b/lgsm/functions/fix_glibc.sh @@ -40,4 +40,12 @@ do fi done +if [ "${gamename}" == "Call of Duty: United Offensive" ]; then + fn_fetch_file_github "lgsm/lib/gcc3" "libgcc_s.so.1" "${lgsmdir}/lib" "noexecutecmd" "norun" "noforce" "nomd5" + fn_fetch_file_github "lgsm/lib/gcc3" "libstdc++.so.5.0.3" "${lgsmdir}/lib" "noexecutecmd" "norun" "noforce" "nomd5" + if [ ! -f "${lgsmdir}/lib/libstdc++.so.5" ]; then + ln -s "${lgsmdir}/lib/libstdc++.so.5.0.3" "${lgsmdir}/lib/libstdc++.so.5" + fi +fi + export LD_LIBRARY_PATH=:"${libdir}" diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index 198ffa656..318bf9da0 100644 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -537,7 +537,7 @@ if [ "${engine}" == "avalanche" ]; then elif [ "${gamename}" == "Battlefield: 1942" ]; then fn_info_config_bf1942 # Call of Duty -elif [ "${gamename}" == "Call of Duty" ]; then +elif [ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty: United Offensive" ]; then fn_info_config_cod # Call of Duty 2 elif [ "${gamename}" == "Call of Duty 2" ]; then diff --git a/lgsm/functions/info_glibc.sh b/lgsm/functions/info_glibc.sh index b5e4cb0a2..0a4dd888a 100644 --- a/lgsm/functions/info_glibc.sh +++ b/lgsm/functions/info_glibc.sh @@ -20,6 +20,9 @@ elif [ "${gamename}" == "Call of Duty" ]; then elif [ "${gamename}" == "Call of Duty 2" ]; then glibcrequired="2.1.3" glibcfix="no" +elif [ "${gamename}" == "Call of Duty: United Offensive" ]; then + glibcrequired="2.1" + glibcfix="no" elif [ "${gamename}" == "Day of Infamy" ]; then glibcrequired="2.15" glibcfix="yes" diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index 30292a276..4e617ab62 100644 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -119,6 +119,12 @@ elif [ "${gamename}" == "Call of Duty" ]; then fn_fetch_default_config fn_default_config_remote fn_set_config_vars +elif [ "${gamename}" == "Call of Duty: United Offensive" ]; then + gamedirname="CallOfDutyUnitedOffensive" + array_configs+=( server.cfg ) + fn_fetch_default_config + fn_default_config_remote + fn_set_config_vars elif [ "${gamename}" == "Call of Duty 2" ]; then gamedirname="CallofDuty2" array_configs+=( server.cfg ) diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh index 95e5cc379..e7345cd8e 100644 --- a/lgsm/functions/install_server_files.sh +++ b/lgsm/functions/install_server_files.sh @@ -9,30 +9,32 @@ local commandaction="Install" local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" fn_install_server_files(){ - if [ "${gamename}" == "Unreal Tournament 99" ]; then - fileurl="http://files.gameservermanagers.com/UnrealTournament99/ut99-server-451-ultimate-linux.tar.bz2"; filedir="${tmpdir}"; filename="ut99-server-451-ultimate-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="49cb24d0550ff6ddeaba6007045c6edd" + if [ "${gamename}" == "Battlefield: 1942" ]; then + fileurl="http://files.gameservermanagers.com/BattleField1942/bf1942_lnxded-1.61-hacked-to-1.612.full.tar.bz2"; filedir="${tmpdir}"; filename="bf1942_lnxded-1.61-hacked-to-1.612.full.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="a86a5d3cd64ca59abcc9bb9f777c2e5d" + elif [ "${gamename}" == "Call of Duty" ]; then + fileurl="http://files.gameservermanagers.com/CallOfDuty/cod-lnxded-1.5b-full.tar.bz2"; filedir="${tmpdir}"; filename="cod-lnxded-1.5-large.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="19629895a4cf6fd8f6d1ee198b5304cd" + elif [ "${gamename}" == "Call of Duty: United Offensive" ]; then + fileurl="http://files.gameservermanagers.com/CallOfDutyUnitedOffensive/coduo-lnxded-1.51b-full.tar.bz2"; filedir="${tmpdir}"; filename="coduo-lnxded-1.51b-full.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="f1804ef13036e2b4ab535db000b19e97" elif [ "${gamename}" == "Call of Duty 2" ]; then fileurl="http://files.gameservermanagers.com/CallOfDuty2/cod2-lnxded-1.3-full.tar.bz2"; filedir="${tmpdir}"; filename="cod2-lnxded-1.3-full.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="078128f83d06dc3d7699428dc2870214" - elif [ "${gamename}" == "Unreal Tournament 2004" ]; then - fileurl="http://files.gameservermanagers.com/UnrealTournament2004/ut2004-server-3339-ultimate-linux.tar.bz2"; filedir="${tmpdir}"; filename="ut2004-server-3339-ultimate-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="67c5e2cd9c2a4b04f163962ee41eff54" - elif [ "${gamename}" == "Unreal Tournament 3" ]; then - fileurl="http://files.gameservermanagers.com/UnrealTournament3/UT3-linux-server-2.1.tar.bz2"; filedir="${tmpdir}"; filename="UT3-linux-server-2.1.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="2527437b46f1b47f20228d27d72395a6" - elif [ "${gamename}" == "Battlefield: 1942" ]; then - fileurl="http://files.gameservermanagers.com/BattleField1942/bf1942_lnxded-1.61-hacked-to-1.612.full.tar.bz2"; filedir="${tmpdir}"; filename="bf1942_lnxded-1.61-hacked-to-1.612.full.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="a86a5d3cd64ca59abcc9bb9f777c2e5d" - elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then - fileurl="http://files.gameservermanagers.com/WolfensteinEnemyTerritory/enemy-territory.260b.tar.bz2"; filedir="${tmpdir}"; filename="enemy-territory.260b.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="f833f514bfcdd46b42c111f83350c5a7" - elif [ "${gamename}" == "Unreal Tournament" ]; then - fileurl="http://files.gameservermanagers.com/UnrealTournament/UnrealTournament-Server-XAN-3045522-Linux.zip"; filedir="${tmpdir}"; filename="UnrealTournament-Server-XAN-3045522-Linux.zip"; executecmd="noexecute" run="norun"; force="noforce"; md5="553fed5645a9fc623e92563049bf79f6" elif [ "${gamename}" == "GoldenEye: Source" ]; then fileurl="http://files.gameservermanagers.com/GoldenEyeSource/GoldenEye_Source_v5.0.1_full_server_linux.tar.bz2"; filedir="${tmpdir}"; filename="GoldenEye_Source_v5.0.1_server_full_Linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="ea227a150300abe346e757380325f84c" - elif [ "${gamename}" == "Call of Duty" ]; then - fileurl="http://files.gameservermanagers.com/CallOfDuty/cod-lnxded-1.5b-full.tar.bz2"; filedir="${tmpdir}"; filename="cod-lnxded-1.5-large.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="19629895a4cf6fd8f6d1ee198b5304cd" elif [ "${gamename}" == "Quake 2" ]; then fileurl="http://files.gameservermanagers.com/Quake2/quake2-3.20-glibc-i386-full-linux2.0.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="quake2-3.20-glibc-i386-full-linux2.0.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="0b8c7e2d51f40b56b328c69e986e7c5f" elif [ "${gamename}" == "Quake 3: Arena" ]; then fileurl="http://files.gameservermanagers.com/Quake3/quake3-1.32c-x86-full-linux.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="quake3-1.32c-x86-full-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="fd7258d827474f67663dda297bff4306" elif [ "${gamename}" == "QuakeWorld" ]; then fileurl="http://files.gameservermanagers.com/QuakeWorld/nquake.server.linux.083116.full.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="nquake.server.linux.083116.full.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="75a409cf08d808f075e4dacdc7b21b78" + elif [ "${gamename}" == "Unreal Tournament 2004" ]; then + fileurl="http://files.gameservermanagers.com/UnrealTournament2004/ut2004-server-3339-ultimate-linux.tar.bz2"; filedir="${tmpdir}"; filename="ut2004-server-3339-ultimate-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="67c5e2cd9c2a4b04f163962ee41eff54" + elif [ "${gamename}" == "Unreal Tournament 99" ]; then + fileurl="http://files.gameservermanagers.com/UnrealTournament99/ut99-server-451-ultimate-linux.tar.bz2"; filedir="${tmpdir}"; filename="ut99-server-451-ultimate-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="49cb24d0550ff6ddeaba6007045c6edd" + elif [ "${gamename}" == "Unreal Tournament" ]; then + fileurl="http://files.gameservermanagers.com/UnrealTournament/UnrealTournament-Server-XAN-3045522-Linux.zip"; filedir="${tmpdir}"; filename="UnrealTournament-Server-XAN-3045522-Linux.zip"; executecmd="noexecute" run="norun"; force="noforce"; md5="553fed5645a9fc623e92563049bf79f6" + elif [ "${gamename}" == "Unreal Tournament 3" ]; then + fileurl="http://files.gameservermanagers.com/UnrealTournament3/UT3-linux-server-2.1.tar.bz2"; filedir="${tmpdir}"; filename="UT3-linux-server-2.1.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="2527437b46f1b47f20228d27d72395a6" + elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then + fileurl="http://files.gameservermanagers.com/WolfensteinEnemyTerritory/enemy-territory.260b.tar.bz2"; filedir="${tmpdir}"; filename="enemy-territory.260b.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="f833f514bfcdd46b42c111f83350c5a7" fi fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}" fn_dl_extract "${filedir}" "${filename}" "${filesdir}" diff --git a/lgsm/lib/gcc3/libgcc_s.so.1 b/lgsm/lib/gcc3/libgcc_s.so.1 new file mode 100644 index 000000000..acb442512 Binary files /dev/null and b/lgsm/lib/gcc3/libgcc_s.so.1 differ diff --git a/lgsm/lib/gcc3/libstdc++.so.5.0.3 b/lgsm/lib/gcc3/libstdc++.so.5.0.3 new file mode 100755 index 000000000..65db75723 Binary files /dev/null and b/lgsm/lib/gcc3/libstdc++.so.5.0.3 differ diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 0563e0556..d141d58c7 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -17,7 +17,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="161113" +version="161118" ########################## ######## Settings ######## @@ -40,6 +40,7 @@ parms="" emailalert="off" email="email@example.com" emailfrom="" + # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" @@ -186,7 +187,7 @@ if [ "$(whoami)" = "root" ]; then else core_functions.sh check_root.sh - fi + fi fi core_dl.sh