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" steampass="password"
# Start Variables # Start Variables
port="2302"
ip="0.0.0.0" ip="0.0.0.0"
updateonstart="no" updateonstart="no"
fn_parms(){ 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 #### #### Advanced Variables ####

6
functions/fn_details_config

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

Loading…
Cancel
Save