|
|
@ -26,7 +26,7 @@ ip="0.0.0.0" |
|
|
|
|
|
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server |
|
|
|
fn_parms(){ |
|
|
|
parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|
|
|
parms="-game nmrih -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" |
|
|
|
} |
|
|
|
|
|
|
|
#### Advanced Variables #### |
|
|
@ -46,7 +46,7 @@ lockselfname=$(echo ".${servicename}.lock") |
|
|
|
filesdir="${rootdir}/serverfiles" |
|
|
|
systemdir="${filesdir}/nmrih" |
|
|
|
executabledir="${filesdir}" |
|
|
|
executable="./srcds_nmrih" |
|
|
|
executable="./srcds_run" |
|
|
|
servercfgdir="${systemdir}/cfg" |
|
|
|
servercfg="${servicename}.cfg" |
|
|
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
|
|
|