From df1940899d3bff31a33eff349451c928719ae7fd Mon Sep 17 00:00:00 2001 From: aikidoka Date: Fri, 20 Mar 2015 16:45:44 -0600 Subject: [PATCH 01/10] added code to support ARMA 3 mods made changes to support modules for ARMA 3. the server does start without mods assigned. chmod 775 was required to get the mods to load. --- Arma3/arma3server | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Arma3/arma3server b/Arma3/arma3server index f1a190eb3..d8e7ed64b 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -21,11 +21,19 @@ steampass="password" ip="0.0.0.0" fn_parms(){ -parms="-netlog -ip=${ip} -config=${servercfg}" +parms="-netlog -ip=${ip} -config=${servercfg} -mod=${mods}" } #### Advanced Variables #### +# ARMA 3 Modules +# add mods with relative paths: +# mods/\@CBA_A3\; +# or several mods as: +# mods/\@CBA_A3\;mods/\@task_force_radio +# and chmod modules directories to 775 +mods="" + # Steam appid="233780" From bd08b70f88277f4ee5f78c19efb2dd65a4aa7125 Mon Sep 17 00:00:00 2001 From: aikidoka Date: Fri, 20 Mar 2015 18:20:15 -0600 Subject: [PATCH 02/10] created additional path for network config created config directory, changed the server config filename, and added a network config file. --- Arma3/arma3server | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Arma3/arma3server b/Arma3/arma3server index d8e7ed64b..f2136fe01 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -21,7 +21,7 @@ steampass="password" ip="0.0.0.0" fn_parms(){ -parms="-netlog -ip=${ip} -config=${servercfg} -mod=${mods}" +parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods}" } #### Advanced Variables #### @@ -50,9 +50,11 @@ filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" executabledir="${filesdir}" executable="./arma3server" -servercfgdir="${systemdir}" -servercfg="${servicename}.cfg" +servercfgdir="${systemdir}/cfg" +servercfg="${servicename}.server.cfg" +networkcfg="${servicename}.network.cfg" servercfgfullpath="${servercfgdir}/${servercfg}" +networkcfgfullpath="${servercfgdir}/${networkcfg}" backupdir="${rootdir}/backups" # Logging From c1f9b2ac369d3e1a12065720c8990923a7c8cc37 Mon Sep 17 00:00:00 2001 From: wb Date: Fri, 20 Mar 2015 18:19:40 -0600 Subject: [PATCH 03/10] Created lsgm-default.network.cfg file added the basic suggested network configurations file --- Arma3/cfg/lgsm-default.network.cfg | 77 ++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 Arma3/cfg/lgsm-default.network.cfg diff --git a/Arma3/cfg/lgsm-default.network.cfg b/Arma3/cfg/lgsm-default.network.cfg new file mode 100644 index 000000000..5bba89f8d --- /dev/null +++ b/Arma3/cfg/lgsm-default.network.cfg @@ -0,0 +1,77 @@ +// +// network.cfg - Defines network tuning parameters +// +// This file is to be passed to the -cfg parameter on the command line for the server +// See http://community.bistudio.com/wiki/basic.cfg +// The following settings are the suggested settings + +// BANDWIDTH SETTINGS + +// Bandwidth the server is guaranteed to have (in bps) +// General guideline is NumberOfPlayers * 256kb +// Default: 131072 +MinBandwidth=5120000; +// Bandwidth the server can never go above (in bps) +// For a single server, use full network speed; decrease when running multiple servers +MaxBandwidth=10240000; + +// PACKET SETTINGS + +// Maximum number of packets per frame. +// Increasing the value potentially decreases lag, but increases desync +// Default: 128 +MaxMsgSend=2048; +// Maximum payload of guaranteed packet (in b) +// Small messages are packed to larger packets +// Guaranteed packets are used for non-repetitive events, like shooting +// Lower value means more packets are sent, so less events will get combined +// Default: 512 +MaxSizeGuaranteed=512; +// Maximum payload of non-guaranteed packet (in b) +// Increasing this value may improve bandwidth requirement, but may also increase lag +// Largest factor in desync +// Guidance is half of MaxSizeGuaranteed +// Default: 256 +MaxSizeNonguaranteed=256; +// Maximal size of a packet sent over the network +// Only necessary if ISP forces lower packet size and there are connectivity issues +// Default: 1400 +// class sockets{maxPacketSize=1400}; + +// SMOOTHNESS SETTINGS + +// Minimal error required to send network updates for far units +// Smaller values will make for smoother movement at long ranges, but will increase network traffic +// Default: 0.003 +MinErrorToSend=0.01; +// Minimal error required to send network updates for near units +// Using larger value can reduce traffic sent for near units +// Also controls client to server traffic +// Default: 0.01 +MinErrorToSendNear=0.02; + +// GEOLOCATION SETTINGS + +// Server latitude +serverLatitude=52; +serverLatitudeAuto=52; + +// Server Longitude +serverLongitude=0; +serverLongitudeAuto=0; +// MISC +// View Distance (not sure if this actually works) +viewDistance=10000; + +// Maximum size (in b) for custom face or sound files +// Default: 0 +MaxCustomFileSize=0; +// Server language +language="English"; +steamLanguage="English"; +// Adapter +adapter=-1; +// Windowed mode +Windowed=0; + +3D_Performance=1.000000; \ No newline at end of file From 1c2d8fa4b29e91a70984f9313610166d6ec9f486 Mon Sep 17 00:00:00 2001 From: aikidoka Date: Fri, 20 Mar 2015 18:42:42 -0600 Subject: [PATCH 04/10] ARMA 3 changes for configs added server config directory creation added network config copy code --- functions/fn_install_config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index f768fda75..9a95478d5 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -2,10 +2,12 @@ # LGSM fn_server function # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 210115 +# Version: 200315 fn_arma3config(){ +touch "${servercfgdir}" cp -v lgsm-default.cfg "${servercfgfullpath}" +cp -v lgsm-default.network.cfg "${networkcfgfullpath}" sleep 1 echo "" } @@ -243,4 +245,4 @@ elif [ "${gamename}" == "Unreal Tournament 2004" ]; then fn_unreal2config elif [ "${gamename}" == "Unreal Tournament 99" ]; then fn_ut99config -fi \ No newline at end of file +fi From b35fba2448bd29a71eaade9dfde8f279a533cd7d Mon Sep 17 00:00:00 2001 From: wb Date: Fri, 20 Mar 2015 18:57:51 -0600 Subject: [PATCH 05/10] ARMA 3 default config filename change updated the default config filename changed filename in fn_install_config --- Arma3/cfg/{lgsm-default.cfg => lgsm-default.server.cfg} | 0 functions/fn_install_config | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename Arma3/cfg/{lgsm-default.cfg => lgsm-default.server.cfg} (100%) diff --git a/Arma3/cfg/lgsm-default.cfg b/Arma3/cfg/lgsm-default.server.cfg similarity index 100% rename from Arma3/cfg/lgsm-default.cfg rename to Arma3/cfg/lgsm-default.server.cfg diff --git a/functions/fn_install_config b/functions/fn_install_config index 9a95478d5..ddc8f6544 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -6,7 +6,7 @@ fn_arma3config(){ touch "${servercfgdir}" -cp -v lgsm-default.cfg "${servercfgfullpath}" +cp -v lgsm-default.server.cfg "${servercfgfullpath}" cp -v lgsm-default.network.cfg "${networkcfgfullpath}" sleep 1 echo "" From 6efac00104d900d8aaa82257fdc1409c890e0679 Mon Sep 17 00:00:00 2001 From: wb Date: Fri, 20 Mar 2015 19:48:28 -0600 Subject: [PATCH 06/10] forgot version update --- Arma3/arma3server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arma3/arma3server b/Arma3/arma3server index f2136fe01..bda1cdf10 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributor: Scarsz # Website: http://danielgibbs.co.uk -# Version: 210115 +# Version: 200315 #### Variables #### From 2dcf44381bd9b8b8debb754adb788e782b2fafe1 Mon Sep 17 00:00:00 2001 From: wb Date: Fri, 20 Mar 2015 21:15:50 -0600 Subject: [PATCH 07/10] moron repair wrong command to create directory --- functions/fn_install_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index ddc8f6544..a48c58c0d 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -5,7 +5,7 @@ # Version: 200315 fn_arma3config(){ -touch "${servercfgdir}" +mkdir -pv "${servercfgdir}" cp -v lgsm-default.server.cfg "${servercfgfullpath}" cp -v lgsm-default.network.cfg "${networkcfgfullpath}" sleep 1 From 5c901b809a2af5522a148002e6eba34002398b60 Mon Sep 17 00:00:00 2001 From: wb Date: Sat, 21 Mar 2015 11:14:25 -0600 Subject: [PATCH 08/10] ARMA 3 changes for config directory a bit of redonkulousness adaptation to allow for two config files for ARMA 3 --- functions/fn_install_config | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index a48c58c0d..0a5e14d26 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -6,8 +6,8 @@ fn_arma3config(){ mkdir -pv "${servercfgdir}" -cp -v lgsm-default.server.cfg "${servercfgfullpath}" -cp -v lgsm-default.network.cfg "${networkcfgfullpath}" +mv -v lgsm-default.server.cfg "${servercfgfullpath}" +mv -v lgsm-default.network.cfg "${networkcfgfullpath}" sleep 1 echo "" } @@ -133,12 +133,17 @@ echo "" echo "Creating Configs" echo "=================================" sleep 1 -cd "${servercfgdir}" +if [ "${gamename}" == "ARMA 3" ]; then + cd "${systemdir}" +elif [ + cd "${servercfgdir}" ]; then + #statements if [ "${gamename}" == "7 Days To Die" ]; then fn_unity3dconfig elif [ "${gamename}" == "ARMA 3" ]; then - echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + echo -e "downloading lgsm-default.server.cfg & lgsm-default.network.cfg...\c" + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_arma3config elif [ "${gamename}" == "Blade Symphony" ]; then @@ -245,4 +250,4 @@ elif [ "${gamename}" == "Unreal Tournament 2004" ]; then fn_unreal2config elif [ "${gamename}" == "Unreal Tournament 99" ]; then fn_ut99config -fi +fi \ No newline at end of file From 945caf3f69cb22dd4e0f3d0f8e7e1453896b5083 Mon Sep 17 00:00:00 2001 From: wb Date: Sat, 21 Mar 2015 11:53:35 -0600 Subject: [PATCH 09/10] ARMA 3 config dir change --- functions/fn_install_config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index 0a5e14d26..c4694ecae 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -135,8 +135,9 @@ echo "=================================" sleep 1 if [ "${gamename}" == "ARMA 3" ]; then cd "${systemdir}" -elif [ - cd "${servercfgdir}" ]; then +else + cd "${servercfgdir}" +fi #statements if [ "${gamename}" == "7 Days To Die" ]; then fn_unity3dconfig From bcb36f368befda70174dc47d90cd7c9e783c3136 Mon Sep 17 00:00:00 2001 From: wb Date: Sat, 21 Mar 2015 14:54:16 -0600 Subject: [PATCH 10/10] Updated wget URL for repository changed linuxgameserver to linuxgsm across 33 files --- 7DaysToDie/sdtdserver | 2 +- Arma3/arma3server | 2 +- BladeSymphony/bsserver | 2 +- CounterStrike/csserver | 2 +- CounterStrikeConditionZero/csczserver | 2 +- CounterStrikeGlobalOffensive/csgoserver | 2 +- CounterStrikeSource/cssserver | 2 +- DayOfDefeat/dodserver | 2 +- DayOfDefeatSource/dodsserver | 2 +- DeathmatchClassic/dmcserver | 2 +- FistfulOfFrags/fofserver | 2 +- GarrysMod/gmodserver | 2 +- HalfLife2Deathmatch/hl2dmserver | 2 +- HalfLifeDeathmatch/hldmserver | 2 +- Insurgency/insserver | 2 +- JustCause2/jc2server | 2 +- KillingFloor/kfserver | 2 +- Left4Dead/l4dserver | 2 +- Left4Dead2/l4d2server | 2 +- NaturalSelection2/ns2server | 2 +- NoMoreRoomInHell/nmrihserver | 2 +- OpposingForce/opforserver | 2 +- RedOrchestra/roserver | 2 +- Ricochet/ricochetserver | 2 +- SeriousSam3BFE/ss3sserver | 4 +-- StarBound/sbserver | 2 +- TeamFortress2/tf2server | 2 +- TeamFortressClassic/tfcserver | 2 +- TeamSpeak3/ts3server | 2 +- UnrealTournament2004/ut2k4server | 2 +- UnrealTournament99/ut99server | 2 +- functions/fn_install_config | 42 ++++++++++++------------- functions/fn_install_glibcfix | 20 ++++++------ 33 files changed, 63 insertions(+), 63 deletions(-) diff --git a/7DaysToDie/sdtdserver b/7DaysToDie/sdtdserver index b27e3846a..0523ed81d 100644 --- a/7DaysToDie/sdtdserver +++ b/7DaysToDie/sdtdserver @@ -74,7 +74,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/Arma3/arma3server b/Arma3/arma3server index bda1cdf10..2c0125374 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -82,7 +82,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index 4aa7b5fec..57cf170d7 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 0ec105f55..5cbafd583 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index 64f8b38c9..b9d5a1d47 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index c3f90b476..6dda9fd44 100644 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -95,7 +95,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index d7c388de3..1d1abb808 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index 9cdec9838..9d5a677f2 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 430df7374..8110b8313 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/DeathmatchClassic/dmcserver b/DeathmatchClassic/dmcserver index a5a65af2d..0b200049b 100644 --- a/DeathmatchClassic/dmcserver +++ b/DeathmatchClassic/dmcserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index 790c5503f..fb5fb5d69 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index d208a4681..f4513fe17 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -84,7 +84,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index ecb7c6b44..484c241ed 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/HalfLifeDeathmatch/hldmserver b/HalfLifeDeathmatch/hldmserver index df005c78e..0bfe0c452 100644 --- a/HalfLifeDeathmatch/hldmserver +++ b/HalfLifeDeathmatch/hldmserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/Insurgency/insserver b/Insurgency/insserver index 6d01da31e..67543f549 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/JustCause2/jc2server b/JustCause2/jc2server index 59df04d32..9e7732761 100644 --- a/JustCause2/jc2server +++ b/JustCause2/jc2server @@ -73,7 +73,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 15d5cc1a2..d6412f29f 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -80,7 +80,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index a22a9922a..1107802ce 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index d05edb059..6f701aa25 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index 585bc1fe3..ccc9cc57a 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -83,7 +83,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 6502da312..644459753 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/OpposingForce/opforserver b/OpposingForce/opforserver index 80ae86f5e..f7e9dc304 100644 --- a/OpposingForce/opforserver +++ b/OpposingForce/opforserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index f70b1d4b2..618d72823 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -76,7 +76,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/Ricochet/ricochetserver b/Ricochet/ricochetserver index 8f2f9f41d..fd8d99c06 100644 --- a/Ricochet/ricochetserver +++ b/Ricochet/ricochetserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/SeriousSam3BFE/ss3sserver b/SeriousSam3BFE/ss3sserver index d436c0a17..7e5379cc4 100644 --- a/SeriousSam3BFE/ss3sserver +++ b/SeriousSam3BFE/ss3sserver @@ -19,7 +19,7 @@ steampass="password" # Start Variables ip="0.0.0.0" -# https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt +# https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt fn_parms(){ parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}" } @@ -74,7 +74,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/StarBound/sbserver b/StarBound/sbserver index 3f1b9e9f9..db29f0158 100644 --- a/StarBound/sbserver +++ b/StarBound/sbserver @@ -73,7 +73,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index c269fa8d7..17b46f0f6 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index 7336c6916..78eda9482 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/TeamSpeak3/ts3server b/TeamSpeak3/ts3server index 5146c5973..740815411 100644 --- a/TeamSpeak3/ts3server +++ b/TeamSpeak3/ts3server @@ -52,7 +52,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index e5d52e311..15e5a52b4 100644 --- a/UnrealTournament2004/ut2k4server +++ b/UnrealTournament2004/ut2k4server @@ -67,7 +67,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/UnrealTournament99/ut99server b/UnrealTournament99/ut99server index 19e54961d..c730e3486 100644 --- a/UnrealTournament99/ut99server +++ b/UnrealTournament99/ut99server @@ -66,7 +66,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then fi cd functions echo -e "loading ${functionfile}...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- chmod +x "${functionfile}" cd "${rootdir}" sleep 1 diff --git a/functions/fn_install_config b/functions/fn_install_config index c4694ecae..d7f3e3fbd 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -2,7 +2,7 @@ # LGSM fn_server function # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 200315 +# Version: 210315 fn_arma3config(){ mkdir -pv "${servercfgdir}" @@ -143,68 +143,68 @@ if [ "${gamename}" == "7 Days To Die" ]; then fn_unity3dconfig elif [ "${gamename}" == "ARMA 3" ]; then echo -e "downloading lgsm-default.server.cfg & lgsm-default.network.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_arma3config elif [ "${gamename}" == "Blade Symphony" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/BladeSymphony/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/BladeSymphony/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Counter Strike 1.6" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/CounterStrike/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrike/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Counter Strike: Condition Zero" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/CounterStrikeConditionZero/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeConditionZero/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Counter Strike: Global Offensive" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Counter Strike: Source" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/CounterStrikeSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Day of Defeat" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/DayOfDefeat/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeat/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Day of Defeat: Source" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Fistful of Frags" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Garry's Mod" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Half Life 2: Deathmatch" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/HalfLife2Deathmatch/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLife2Deathmatch/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Half Life: Deathmatch Classic" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/HalfLifeDeathmatchClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLifeDeathmatchClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Insurgency" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Insurgency/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Insurgency/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Just Cause 2" ]; then @@ -213,17 +213,17 @@ elif [ "${gamename}" == "Killing Floor" ]; then fn_unreal2config elif [ "${gamename}" == "Left 4 Dead" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Left4Dead/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Left 4 Dead 2" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "No More Room in Hell" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Natural Selection 2" ]; then @@ -234,17 +234,17 @@ elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then fn_unreal2config elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then echo -e "downloading lgsm-default.ini...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_serious3config elif [ "${gamename}" == "Team Fortress 2" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/TeamFortress2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortress2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Team Fortress Classic" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/TeamFortressClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortressClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Unreal Tournament 2004" ]; then diff --git a/functions/fn_install_glibcfix b/functions/fn_install_glibcfix index de3263a19..edc2bf772 100644 --- a/functions/fn_install_glibcfix +++ b/functions/fn_install_glibcfix @@ -2,7 +2,7 @@ # LGSM fn_install_glibcfix function # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 210115 +# Version: 210315 fn_glibcfixmsg(){ echo "" @@ -57,37 +57,37 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 glibcversion="2.15" fn_glibcfixmsg cd "${filesdir}" - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/FistfulOfFrags/dependencies/libm.so.6 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/FistfulOfFrags/dependencies/libm.so.6 # Garry's Mod elif [ "${gamename}" == "Garry's Mod" ]; then glibcversion="2.15" fn_glibcfixmsg cd "${filesdir}/bin" - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/GarrysMod/dependencies/libc.so.6 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/GarrysMod/dependencies/libm.so.6 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/GarrysMod/dependencies/libpthread.so.0 cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}/libstdc++.so.6" # Insurgency elif [ "${gamename}" == "Insurgency" ]; then glibcversion="2.15" fn_glibcfixmsg cd "${filesdir}/bin" - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/Insurgency/dependencies/libc.so.6 - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/Insurgency/dependencies/librt.so.1 - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/Insurgency/dependencies/libpthread.so.0 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/libc.so.6 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/librt.so.1 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/libpthread.so.0 # Natural Selection 2 elif [ "${gamename}" == "Natural Selection 2" ]; then glibcversion="2.15" fn_glibcfixmsg cd "${filesdir}" - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/NaturalSelection2/dependencies/libm.so.6 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/NaturalSelection2/dependencies/libm.so.6 cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}/libstdc++.so.6" # No More Room in Hell elif [ "${gamename}" == "No More Room in Hell" ]; then glibcversion="2.15" fn_glibcfixmsg cd "${filesdir}" - wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/NoMoreRoomInHell/dependencies/libm.so.6 + wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/NoMoreRoomInHell/dependencies/libm.so.6 cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}/libstdc++.so.6" # if Glibc less than 1.13 elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 213 ]; then