From f2dbb9bd49f4eb6be936f9b0873c36dbfe8404f4 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 7 Dec 2018 22:53:35 +0000 Subject: [PATCH 01/10] fix (sbotsserver): corrected servercfgdir location (#2098) --- lgsm/config-default/config-lgsm/sbotsserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg index fd3da3143..98d96a89d 100644 --- a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg @@ -106,7 +106,7 @@ executabledir="${systemdir}/blank1/Binaries/Linux" executable="./blank1Server-Linux-Shipping" servercfg="Game.ini" servercfgdefault="Game.ini" -servercfgdir="${systemdir}/blank1/Saved/Config/Windows" +servercfgdir="${systemdir}/blank1/Saved/Config/LinuxServer" servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory From 2e0f305df071c16cb105d44125c900b1bbfb231c Mon Sep 17 00:00:00 2001 From: Nikita Obrekht Date: Mon, 10 Dec 2018 19:54:05 +0200 Subject: [PATCH 02/10] Fix incorrect order of tmux size arguments --- lgsm/functions/command_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_start.sh b/lgsm/functions/command_start.sh index 77c25ee8f..447102e31 100644 --- a/lgsm/functions/command_start.sh +++ b/lgsm/functions/command_start.sh @@ -90,7 +90,7 @@ fn_start_tmux(){ # Create lockfile date > "${rootdir}/${lockselfname}" cd "${executabledir}" - tmux new-session -d -x "${sessionheight}" -y "${sessionwidth}" -s "${servicename}" "${executable} ${parms}" 2> "${lgsmlogdir}/.${servicename}-tmux-error.tmp" + tmux new-session -d -x "${sessionwidth}" -y "${sessionheight}" -s "${servicename}" "${executable} ${parms}" 2> "${lgsmlogdir}/.${servicename}-tmux-error.tmp" # Create logfile touch "${consolelog}" From 8a7d2a4760dd82bcd8a9dfd7c38923687ba50afb Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 11 Dec 2018 22:12:32 +0000 Subject: [PATCH 03/10] docs: repaired LinuxGSM Logo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ba974010..5e1f5cea4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -linux Game Server Managers +linux Game Server Managers [![LinuxGSM](https://img.shields.io/badge/-LinuxGSM-2b2b2b.svg?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACsAAABACAYAAACDbo5ZAAAGD0lEQVR4AcWYa2wUVRvHz75c2vJ2disXoUBEVIioRAx%2BMIFA1IRwUS6KCCiIKBrvhEYiiGm5iBgk8QOGEgUUDYTttmVZWFr2UmwURS6iYAoCtmisElSsdHdbkT7%2BTzoNy%2BGc2dm54C%2F5Rdkz85x%2FZ86ZOXOYXYhIg3Phx%2FA4PAcv6f%2Btg5vhHJjP3EcZsgsshufJHH%2FAJbDztQ7aG35J1vgCXn%2BtgvrgEbLHYei9FmE3kDOUuh10OGwjZ7gEh7kZ9gNyllK3gnrg7%2BQs56DHjbCDyB0GuRF2ArnDeDfCziF3mO1G2FfJHRa4EXYpuUOxG2GXkzuUuBH2TXKH5W6ELSV3eM%2BNsOUk5yQcAY8p2uvgSPitor3MjbB1UOQXOFBvHwpbhPYWOExvL4SNUOQ7p4P2JTlzhOPmCu0vCu1PQpE2WOhk2MdJjk9y7HNwP1wEPUJbAcmZ6WTYrYolnifbxZBiibnFySHQCkUaLdY7C0V4%2FT5OhF1JcuIW6%2B0lOcvsBi2Ezao3j8Ov7Quwj52w60jNKIs1R5GatVaDDoEXSU4D7GSxbidYT3IuwjusFK0mNUVMwaZNNbl%2B%2F87hoVCom0HthaQmnG3QB0lNPcxlCvz%2B0GtlZTuorCxYYlA%2FDzbY%2FnrAgV3hCVLzCDMgEAi9wMMi9IIM%2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h2Rdhg%2BSf2gka9jRTqK9%2BGwgHz7RTfVbHxirDhivdthYUvMRX8aYAD9lstvi%2B0aDL2DUZ0eCBUNNVG0IP65FLTWqPdiqdC0koHTVXe7iyNRG23QotBEy1RbTAzQyrmnYUT2rLsoA13JpcB4eVC2daBM1g2JGLekmwf5On7EJfngfZTNnVSce8bFjaTmQdvs%2FXmO%2FJVpoXdx3RSUe9O00Fj3nUdy0RLgRHiHXOPGW1h2uKZ07c9rG%2Bxyefp23pQeyBIEQoavYlakrG8fnrY5yHn2fbxXzAgw7m8bT5zkkSk4C7cpmOK21esB%2FXAQ5DzFfTo43%2BF%2FDzf0eZ4wZ3MDSjMcvD6nIeOahGgia%2FyU3HforTPkWkwnakdn0cI9jqfbPjD%2FuQLJr6644snlgX%2FApOMoyd1R5%2FxAAAAAElFTkSuQmCC)](https://linuxgsm.com) [![Build Status](https://travis-ci.org/GameServerManagers/LinuxGSM.svg?branch=master)](https://travis-ci.org/GameServerManagers/LinuxGSM) From 60d0c5646c0e6c4e9fe5b13fdf6527a2873a542f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 11 Dec 2018 22:13:36 +0000 Subject: [PATCH 04/10] docs: repaired LinuxGSM logo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ba974010..5e1f5cea4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -linux Game Server Managers +linux Game Server Managers [![LinuxGSM](https://img.shields.io/badge/-LinuxGSM-2b2b2b.svg?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACsAAABACAYAAACDbo5ZAAAGD0lEQVR4AcWYa2wUVRvHz75c2vJ2disXoUBEVIioRAx%2BMIFA1IRwUS6KCCiIKBrvhEYiiGm5iBgk8QOGEgUUDYTttmVZWFr2UmwURS6iYAoCtmisElSsdHdbkT7%2BTzoNy%2BGc2dm54C%2F5Rdkz85x%2FZ86ZOXOYXYhIg3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k2vfF4%2FFdFGEjGPHvg2yWrsDG%2F4%2BqpZB8jPOiXjWk0y5iXdM3XhKUvxBTA9UvHuvNPh%2Bzb%2BWj10z6nwuHWBbQFMvNCjKnn7qd1jS%2Fnx9VX3b6jC%2BbwOr5eMe3%2B83IcW4%2F3qgT%2BUTbA9srGaiHsn8AKiF6Ld%2FxF%2FOx6eeAJXabvK78MTTornNMd6XJTVR7%2Fj9bBjhFxV%2FMc1kJOAy2AeA%2FgrV4mFVDZFCqm8rEJ6qysCAWqK9iaztRJRbWXa4moFTELOav7jY%2FqAvoXp0Gc9NX7bIZl17%2FZl0rC1wRLeno0NvP%2B0CTcYNnS8wW6CtzNANaxzKqo9hRNOQ8rGo7tmSsMe2zWdt2frqVRcm5s2fofCgawDNHRNxnyfqgsYez4y4ADCjRM9H73hsNWafILTQdaFiSTj%2BQ%2FxA6yH7d%2BCmR8XbYr0a7VTF2N4siSsb5qdos3R6%2FjGxpULFfw7EfORnbrI9TAToX0sD40%2F2ylcGdh2Rdhg%2BSf2gka9jRTqK9%2BGwgHz7RTfVbHxirDhivdthYUvMRX8aYAD9lstvi%2B0aDL2DUZ0eCBUNNVG0IP65FLTWqPdiqdC0koHTVXe7iyNRG23QotBEy1RbTAzQyrmnYUT2rLsoA13JpcB4eVC2daBM1g2JGLekmwf5On7EJfngfZTNnVSce8bFjaTmQdvs%2FXmO%2FJVpoXdx3RSUe9O00Fj3nUdy0RLgRHiHXOPGW1h2uKZ07c9rG%2Bxyefp23pQeyBIEQoavYlakrG8fnrY5yHn2fbxXzAgw7m8bT5zkkSk4C7cpmOK21esB%2FXAQ5DzFfTo43%2BF%2FDzf0eZ4wZ3MDSjMcvD6nIeOahGgia%2FyU3HforTPkWkwnakdn0cI9jqfbPjD%2FuQLJr6644snlgX%2FApOMoyd1R5%2FxAAAAAElFTkSuQmCC)](https://linuxgsm.com) [![Build Status](https://travis-ci.org/GameServerManagers/LinuxGSM.svg?branch=master)](https://travis-ci.org/GameServerManagers/LinuxGSM) From 0a42c4d3014108c3ce1e2d75b5baea9bd4cb7c9a Mon Sep 17 00:00:00 2001 From: Guillaume Migeon Date: Thu, 13 Dec 2018 17:40:38 +0100 Subject: [PATCH 05/10] Set the password as a travel parameter According to the doc, `password` is a travel parameter and not a command line argument. --- lgsm/config-default/config-lgsm/inssserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/inssserver/_default.cfg b/lgsm/config-default/config-lgsm/inssserver/_default.cfg index 6681a49a6..8c6b5fc8f 100644 --- a/lgsm/config-default/config-lgsm/inssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/inssserver/_default.cfg @@ -21,7 +21,7 @@ maxplayers="28" ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters fn_parms(){ -parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport} -password=${serverpassword} -hostname='${servername}' -log" +parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password=${serverpassword} -hostname='${servername}' -log" } #### LinuxGSM Settings #### From 5638c1ef1f86b6b4bdecee5222cbd80701a75814 Mon Sep 17 00:00:00 2001 From: Guillaume Migeon Date: Thu, 13 Dec 2018 17:41:24 +0100 Subject: [PATCH 06/10] Fix the invalid default scenario The previous scenario was invalid and the server couldn't start. --- lgsm/config-default/config-lgsm/inssserver/_default.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/config-default/config-lgsm/inssserver/_default.cfg b/lgsm/config-default/config-lgsm/inssserver/_default.cfg index 8c6b5fc8f..8837606fe 100644 --- a/lgsm/config-default/config-lgsm/inssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/inssserver/_default.cfg @@ -15,8 +15,8 @@ port="27102" queryport="27131" servername="LinuxGSM Server" serverpassword="" -defaultmap="Oilfield" -defaultscenario="Scenario_Oilfield_Push_Security" +defaultmap="Canyon" +defaultscenario="Scenario_Crossing_Push_Security" maxplayers="28" ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters From 9bc5458898208ab081dee496f9c6f665aa63ae3d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 15 Dec 2018 00:01:29 +0000 Subject: [PATCH 07/10] fix(ts3server): re-add support for libmariadb2 (#2114) * fix(ts3server): re-add support for libmariadb2 #1924 --- lgsm/functions/core_functions.sh | 5 +++++ lgsm/functions/fix.sh | 2 ++ lgsm/functions/fix_ts3.sh | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 lgsm/functions/fix_ts3.sh diff --git a/lgsm/functions/core_functions.sh b/lgsm/functions/core_functions.sh index 416835504..6aef2fca4 100644 --- a/lgsm/functions/core_functions.sh +++ b/lgsm/functions/core_functions.sh @@ -378,6 +378,11 @@ functionfile="${FUNCNAME}" fn_fetch_function } +fix_ts3.sh(){ +functionfile="${FUNCNAME}" +fn_fetch_function +} + fix_ut2k4.sh(){ functionfile="${FUNCNAME}" fn_fetch_function diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index dfa9fde78..739a27a7c 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -60,6 +60,8 @@ if [ "${function_selfname}" != "command_install.sh" ]&&[ -z "${fixbypass}" ]; th fix_rw.sh elif [ "${shortname}" == "ss3" ]; then fix_ss3.sh + elif [ "${shortname}" == "ts3" ]; then + fix_ts3.sh elif [ "${shortname}" == "mta" ]; then fix_mta.sh elif [ "${shortname}" == "wurm" ]; then diff --git a/lgsm/functions/fix_ts3.sh b/lgsm/functions/fix_ts3.sh new file mode 100644 index 000000000..fd28a90bd --- /dev/null +++ b/lgsm/functions/fix_ts3.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# LinuxGSM fix_ts3.sh function +# Author: Daniel Gibbs +# Website: https://linuxgsm.com +# Description: Resolves various issues with Teamspeak 3. + +local commandname="FIX" +local commandaction="Fix" +local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" + +# Fixes: makes libmariadb2 available #1924 +if [ ! -f "${serverfiles}/libmariadb.so.2" ]; then + ln -s "${serverfiles}/redist/libmariadb.so.2" "${serverfiles}/libmariadb.so.2" +fi \ No newline at end of file From 48d4673ce70f0e11a00131b81fceb5a2f4e08cc4 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 15 Dec 2018 00:30:01 +0000 Subject: [PATCH 08/10] refactor(check): add epel as a requirement for centos (#2115) --- lgsm/functions/check_deps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 738e24f65..87138fea7 100644 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -430,7 +430,9 @@ fn_deps_build_redhat(){ # LinuxGSM requirements ## CentOS 6 if [ "${distroversion}" == "6" ]; then - array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip binutils bc jq ) + array_deps_required=( epel-release curl wget util-linux-ng python file gzip bzip2 unzip binutils bc jq ) + if [ "${distroversion}" == "7" ]; then + array_deps_required=( epel-release curl wget util-linux python file gzip bzip2 unzip binutils bc jq ) elif [ "${distroid}" == "fedora" ]; then array_deps_required=( curl wget util-linux python2 file gzip bzip2 unzip binutils bc jq ) elif [[ "${distroname}" == *"Amazon Linux AMI"* ]]; then From 58e88bee4bee72fa7389d533e5caf2e91899cc80 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 15 Dec 2018 11:22:24 +0000 Subject: [PATCH 09/10] fix(fast-dl): correct sound directory name #1999 * sounds directory was called sounds --- lgsm/functions/command_fastdl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/command_fastdl.sh b/lgsm/functions/command_fastdl.sh index 7eed4813e..36e15391c 100644 --- a/lgsm/functions/command_fastdl.sh +++ b/lgsm/functions/command_fastdl.sh @@ -170,7 +170,7 @@ fn_fastdl_preview(){ done # Source engine else - fastdl_directories_array=( "maps" "materials" "models" "particles" "sounds" "resources" ) + fastdl_directories_array=( "maps" "materials" "models" "particles" "sound" "resources" ) for directory in "${fastdl_directories_array[@]}"; do if [ -d "${systemdir}/${directory}" ]; then if [ "${directory}" == "maps" ]; then @@ -181,7 +181,7 @@ fn_fastdl_preview(){ local allowed_extentions_array=( "*.vtx" "*.vvd" "*.mdl" "*.phy" "*.jpg" "*.png" ) elif [ "${directory}" == "particles" ]; then local allowed_extentions_array=( "*.pcf" ) - elif [ "${directory}" == "sounds" ]; then + elif [ "${directory}" == "sound" ]; then local allowed_extentions_array=( "*.wav" "*.mp3" "*.ogg" ) fi for allowed_extention in "${allowed_extentions_array[@]}"; do @@ -320,7 +320,7 @@ fn_fastdl_source(){ local allowed_extentions_array=( "*.vtx" "*.vvd" "*.mdl" "*.phy" "*.jpg" "*.png" ) elif [ "${directory}" == "particles" ]; then local allowed_extentions_array=( "*.pcf" ) - elif [ "${directory}" == "sounds" ]; then + elif [ "${directory}" == "sound" ]; then local allowed_extentions_array=( "*.wav" "*.mp3" "*.ogg" ) fi for allowed_extention in "${allowed_extentions_array[@]}" From f66dc437a583cd23ad97ef49636a632deaad973d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 15 Dec 2018 12:53:52 +0000 Subject: [PATCH 10/10] fix(backup): include hidden directories in backup or rootdir #2087 *hidden directories are now included in the backup. note: this only includes hidden files in ${rootdir}. Files in ${HOME} are not backed up unless ${rootdir} is the same as ${HOME} --- lgsm/functions/command_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_backup.sh b/lgsm/functions/command_backup.sh index 0f2b09b4d..c5d48e202 100644 --- a/lgsm/functions/command_backup.sh +++ b/lgsm/functions/command_backup.sh @@ -121,7 +121,7 @@ fn_backup_compression(){ core_exit.sh fi - tar -czf "${backupdir}/${backupname}.tar.gz" -C "${rootdir}" --exclude "${excludedir}" --exclude "${tmpdir}/.backup.lock" ./* + tar -czf "${backupdir}/${backupname}.tar.gz" -C "${rootdir}" --exclude "${excludedir}" --exclude "${tmpdir}/.backup.lock" ./. local exitcode=$? if [ ${exitcode} -ne 0 ]; then fn_print_fail_eol