Просмотр исходного кода

Fixed Steam / LAN error

This fixes:
- Unable to load Steam support library.
- This server will operate in LAN mode only.
Marvin Lehmann 11 лет назад
Родитель
Сommit
31c9bcd195
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      functions/fn_install_glibcfix

+ 5 - 1
functions/fn_install_glibcfix

@@ -84,6 +84,10 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215
 		wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/libm.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
+	elif [ "${gamename}" == "Left 4 Dead" ]; then
+		glibcversion="2.07"
+		fn_glibcfixmsg
+		cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}/bin/libstdc++.so.6"
 	# Natural Selection 2
 	elif [ "${gamename}" == "Natural Selection 2" ]; then
 		glibcversion="2.15"
@@ -122,4 +126,4 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215
 		: #Else glibcfix not required.
 	fi
 fi
-sleep 1
+sleep 1