Daniel Gibbs 9 лет назад
Родитель
Сommit
5b8d16b2fa
3 измененных файлов с 16 добавлено и 4 удалено
  1. 0 1
      GoldenEyeSource/gesserver
  2. 5 3
      lgsm/functions/fix.sh
  3. 11 0
      lgsm/functions/fix_ges.sh

+ 0 - 1
GoldenEyeSource/gesserver

@@ -12,7 +12,6 @@ fi
 version="210516"
 
 #### Variables ####
-export MALLOC_CHECK_=0
 
 # Notification Alerts
 # (on|off)

+ 5 - 3
lgsm/functions/fix.sh

@@ -35,14 +35,16 @@ if [ "${function_selfname}" != "command_install.sh" ]; then
 		fix_steamcmd.sh
 	fi
 
-	if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
+	if  [ "${gamename}" == "ARMA 3" ]; then
+		fix_arma3.sh
+	elif [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
 		fix_csgo.sh
 	elif [ "${gamename}" == "Don't Starve Together" ]; then
 		fix_dst.sh
+	elif [ "${gamename}" == "GoldenEye: Source" ]; then
+		fix_ges.sh
 	elif [ "${gamename}" == "Insurgency" ]; then
 		fix_ins.sh
-	elif [ "${gamename}" == "ARMA 3" ]; then
-		fix_arma3.sh
 	fi
 fi
 

+ 11 - 0
lgsm/functions/fix_ges.sh

@@ -0,0 +1,11 @@
+#!/bin/bash
+# LGSM fix_ges.sh function
+# Author: Daniel Gibbs
+# Website: https://gameservermanagers.com
+# Description: Resolves various issues with GoldenEye: Source.
+
+local commandname="FIX"
+local commandaction="Fix"
+
+# Fixes: MALLOC_CHECK_ needing to be set to 0.
+export MALLOC_CHECK_=0