Sfoglia il codice sorgente

fix(untserver): Unturned is now x64

Daniel Gibbs 7 anni fa
parent
commit
4c493d74fc

+ 1 - 1
lgsm/config-default/config-lgsm/untserver/_default.cfg

@@ -120,7 +120,7 @@ glibc="2.15"
 ## Server Specific Directories
 systemdir="${serverfiles}"
 executabledir="${serverfiles}"
-executable="./Unturned_Headless.x86"
+executable="./Unturned_Headless.x86_64"
 servercfgdir="${systemdir}/Servers/${servicename}"
 servercfg="Config.json"
 servercfgdefault="Config.json"

+ 2 - 2
lgsm/functions/fix_unt.sh

@@ -7,5 +7,5 @@
 local commandname="FIX"
 local commandaction="Fix"
 
-# Fixes: [Raknet] Server Shutting Down (Shutting Down).
-export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${systemdir}/lib"
+# steamclient.so: cannot open shared object file: No such file or directory
+export LD_LIBRARY_PATH="${serverfiles}/linux64:${serverfiles}:$LD_LIBRARY_PATH"