From eea9d3c3a32e7fd2b2aee1455d888472d7bc7c97 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 15 Sep 2020 10:10:18 +0100 Subject: [PATCH] more changes to steamclient.so --- lgsm/functions/fix_cs.sh | 2 +- lgsm/functions/fix_rust.sh | 2 +- lgsm/functions/fix_sdtd.sh | 15 +-------------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/lgsm/functions/fix_cs.sh b/lgsm/functions/fix_cs.sh index 94a769280..fe18ea9f5 100644 --- a/lgsm/functions/fix_cs.sh +++ b/lgsm/functions/fix_cs.sh @@ -10,7 +10,7 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" if [ ! -f "${serverfiles}/steamclient.so" ]; then fixname="steamclient.so x86" fn_fix_msg_start - mkdir -p "${serverfiles}" + mkdir -p "${serverfiles}" if [ -f "${HOME}/.steam/steamcmd/linux32/steamclient.so" ]; then cp "${HOME}/.steam/steamcmd/linux32/steamclient.so" "${serverfiles}/steamclient.so" elif [ -f "${steamcmddir}/linux32/steamclient.so" ]; then diff --git a/lgsm/functions/fix_rust.sh b/lgsm/functions/fix_rust.sh index 9ceff7b29..607af491b 100644 --- a/lgsm/functions/fix_rust.sh +++ b/lgsm/functions/fix_rust.sh @@ -7,4 +7,4 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" # Fixes: [Raknet] Server Shutting Down (Shutting Down). -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${systemdir}/RustDedicated_Data/Plugins/x86_64" +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/RustDedicated_Data/Plugins/x86_64" diff --git a/lgsm/functions/fix_sdtd.sh b/lgsm/functions/fix_sdtd.sh index 46a3f2225..2709102c4 100644 --- a/lgsm/functions/fix_sdtd.sh +++ b/lgsm/functions/fix_sdtd.sh @@ -6,17 +6,4 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}" - -# Fixes: [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so. -if [ ! -f "${serverfiles}/steamclient.so" ]; then - fixname="steamclient.so x86_64" - fn_fix_msg_start - mkdir -p "${serverfiles}" - if [ -f "${HOME}/.steam/steamcmd/linux64/steamclient.so" ]; then - cp "${HOME}/.steam/steamcmd/linux64/steamclient.so" "${serverfiles}/steamclient.so" - elif [ -f "${steamcmddir}/linux64/steamclient.so" ]; then - cp "${steamcmddir}/linux64/steamclient.so" "${serverfiles}/steamclient.so" - fi - fn_fix_msg_end -fi +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}/7DaysToDieServer_Data/Plugins/x86_64"