فهرست منبع

Changed from unreal4 to ark

Im unsure if unreal4 engine will be the same config setup as ark
Daniel Gibbs 11 سال پیش
والد
کامیت
c5b55044e6
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 3 3
      functions/fn_details
  2. 1 1
      functions/fn_details_config

+ 3 - 3
functions/fn_details

@@ -640,7 +640,7 @@ rm -f .fn_details_webadmin
 fn_details_statusbottom
 fn_details_statusbottom
 }
 }
 
 
-fn_details_unreal4(){
+fn_details_ark(){
 fn_check_ip
 fn_check_ip
 pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
 pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
 fn_parms
 fn_parms
@@ -707,8 +707,8 @@ elif [ "${engine}" == "unity3d" ]; then
 	fn_details_unity3d
 	fn_details_unity3d
 elif [ "${engine}" == "unreal" ] || [ "${engine}" == "unreal2" ]; then
 elif [ "${engine}" == "unreal" ] || [ "${engine}" == "unreal2" ]; then
 	fn_details_unreal
 	fn_details_unreal
-elif [ "${engine}" == "unreal4" ]; then
-	fn_details_unreal4
+elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then
+	fn_details_ark
 elif [ "${gamename}" == "Teamspeak 3" ]; then
 elif [ "${gamename}" == "Teamspeak 3" ]; then
 	fn_details_teamspeak3
 	fn_details_teamspeak3
 else
 else

+ 1 - 1
functions/fn_details_config

@@ -643,7 +643,7 @@ elif [ "${engine}" == "unreal" ] || [ "${engine}" == "unreal2" ]; then
 		fi
 		fi
 
 
 	fi
 	fi
-elif [ "${engine}" == "unreal4" ]; then
+elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then
 
 
 	# server name
 	# server name
 	if [ -f "${servercfgfullpath}" ]; then
 	if [ -f "${servercfgfullpath}" ]; then