Browse Source

Arma 3 updated Port Requirement

pull/375/head
Daniel Gibbs 10 years ago
parent
commit
c0f0ed5b57
  1. 3
      Arma3/arma3server
  2. 6
      functions/fn_details_config
  3. 2
      functions/fn_start

3
Arma3/arma3server

@ -18,12 +18,11 @@ steamuser="username"
steampass="password"
# Start Variables
port="2302"
ip="0.0.0.0"
updateonstart="no"
fn_parms(){
parms="-netlog -ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods}"
parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods}"
}
#### Advanced Variables ####

6
functions/fn_details_config

@ -2,7 +2,7 @@
# LGSM fn_details_config function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 090515
# Version: 160415
# Description: Gets specific details from config files.
@ -15,9 +15,7 @@ elif [ "${engine}" == "projectzomboid" ]; then
elif [ "${engine}" == "realvirtuality" ]; then
servername=$(grep -s hostname "${servercfgfullpath}"| grep -v //|sed -e 's/\<hostname\>//g'| tr -d '=\"; ')
if [ -z "${port}" ]; then
port=$(grep -s serverport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:])
fi
port=$(grep -s serverport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:])
queryport=$(grep -s steamqueryport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:])
masterport=$(grep -s steamport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:])

2
functions/fn_start

@ -191,4 +191,4 @@ if [ "${gamename}" == "Teamspeak 3" ]; then
fn_start_teamspeak3
else
fn_start_tmux
fi
fi

Loading…
Cancel
Save