Browse Source

sd2dserver now bypasses sd2d start script

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
fb97f609ee
  1. 6
      7DaysToDie/sdtdserver

6
7DaysToDie/sdtdserver

@ -28,7 +28,7 @@ updateonstart="off"
# http://7daystodie.gamepedia.com/Server # http://7daystodie.gamepedia.com/Server
fn_parms(){ fn_parms(){
parms="-configfile=${servercfgfullpath} -dedicated" parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated -configfile=${servercfgfullpath}"
} }
#### Advanced Variables #### #### Advanced Variables ####
@ -52,10 +52,12 @@ engine="unity3d"
rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"
selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
lockselfname=".${servicename}.lock" lockselfname=".${servicename}.lock"
lgsmdir="${rootdir}/lgsm"
functionsdir="${lgsmdir}/functions"
filesdir="${rootdir}/serverfiles" filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}" systemdir="${filesdir}"
executabledir="${filesdir}" executabledir="${filesdir}"
executable="./startserver.sh" executable="./7DaysToDieServer.x86"
servercfg="${servicename}.xml" servercfg="${servicename}.xml"
servercfgdir="${filesdir}" servercfgdir="${filesdir}"
servercfgfullpath="${servercfgdir}/${servercfg}" servercfgfullpath="${servercfgdir}/${servercfg}"

Loading…
Cancel
Save