Browse Source

added "-port"-parameter

If one wants to start multiple arma3servers on one ip.
also added comments for my last commit.
pull/569/head
Phil 9 years ago
parent
commit
844ddca60d
  1. 8
      Arma3/arma3server

8
Arma3/arma3server

@ -25,10 +25,11 @@ steampass="password"
# Start Variables # Start Variables
ip="0.0.0.0" ip="0.0.0.0"
srvport="2302"
updateonstart="off" updateonstart="off"
fn_parms(){ fn_parms(){
parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory" parms="-netlog -ip=${ip} -port=${srvport} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory"
} }
# ARMA 3 Modules # ARMA 3 Modules
@ -38,7 +39,12 @@ parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath}
# mods/\@CBA_A3\;mods/\@task_force_radio # mods/\@CBA_A3\;mods/\@task_force_radio
# and chmod modules directories to 775 # and chmod modules directories to 775
mods="" mods=""
# Server-side Mods
servermods="" servermods=""
# Path to BattlEye
# leave empty for default
bepath="" bepath=""
#### Advanced Variables #### #### Advanced Variables ####

Loading…
Cancel
Save