Browse Source

Merge remote-tracking branch 'refs/remotes/origin/master' into exitcodes

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
2d4a9fb7d4
  1. 10
      lgsm/functions/info_parms.sh
  2. 4
      lgsm/functions/monitor_gsquery.sh

10
lgsm/functions/info_parms.sh

@ -28,8 +28,14 @@ fn_info_config_idtech3(){
} }
fn_info_config_realvirtuality(){ fn_info_config_realvirtuality(){
port=$(grep "^serverport=" "${servercfgfullpath}" | tr -cd '[:digit:]')
queryport=$(grep "^steamqueryport=" "${servercfgfullpath}" | tr -cd '[:digit:]')
masterport=$(grep "^steamport=" "${servercfgfullpath}" | tr -cd '[:digit:]')
# Not Set # Not Set
port=${rconport:-"0"} port=${port:-"2302"}
queryport=${queryport:-"2303"}
masterport=${masterport:-"2304"}
} }
fn_info_config_source(){ fn_info_config_source(){
@ -168,4 +174,4 @@ elif [ "${engine}" == "terraria" ]; then
# Unreal/Unreal 2 engine # Unreal/Unreal 2 engine
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
fn_info_config_unreal fn_info_config_unreal
fi fi

4
lgsm/functions/monitor_gsquery.sh

@ -25,6 +25,8 @@ if [ "${gsquery}" == "yes" ]; then
if [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then if [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
port=$((port + 1)) port=$((port + 1))
elif [ "${engine}" == "realvirtuality" ]; then
port=$((port + 1))
elif [ "${engine}" == "spark" ]; then elif [ "${engine}" == "spark" ]; then
port=$((port + 1)) port=$((port + 1))
fi fi
@ -86,4 +88,4 @@ if [ "${gsquery}" == "yes" ]; then
done done
fi fi
done done
fi fi

Loading…
Cancel
Save