Browse Source

Merged branch hotfix-pzserver into master

pull/1128/merge 161113.2
Daniel Gibbs 9 years ago
parent
commit
f8ef089ae0
  1. 6
      ProjectZomboid/pzserver
  2. 1
      lgsm/functions/install_config.sh

6
ProjectZomboid/pzserver

@ -27,7 +27,7 @@ adminpassword="CHANGE_ME"
ip="0.0.0.0" ip="0.0.0.0"
fn_parms(){ fn_parms(){
parms="-ip ${ip} -adminpassword \"${adminpassword}\"" parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${servicename}"
} }
#### LinuxGSM Settings #### #### LinuxGSM Settings ####
@ -96,8 +96,8 @@ filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}" systemdir="${filesdir}"
executabledir="${filesdir}" executabledir="${filesdir}"
executable="./start-server.sh" executable="./start-server.sh"
servercfg="server.ini" servercfg="${servicename}.ini"
servercfgdefault="server.cfg" servercfgdefault="server.ini"
servercfgdir="${HOME}/Zomboid/Server" servercfgdir="${HOME}/Zomboid/Server"
servercfgfullpath="${servercfgdir}/${servercfg}" servercfgfullpath="${servercfgdir}/${servercfg}"

1
lgsm/functions/install_config.sh

@ -298,6 +298,7 @@ elif [ "${gamename}" == "Pirates, Vikings, and Knights II" ]; then
fn_set_config_vars fn_set_config_vars
elif [ "${gamename}" == "Project Zomboid" ]; then elif [ "${gamename}" == "Project Zomboid" ]; then
gamedirname="ProjectZomboid" gamedirname="ProjectZomboid"
fn_check_cfgdir
array_configs+=( server.ini ) array_configs+=( server.ini )
fn_fetch_default_config fn_fetch_default_config
fn_default_config_remote fn_default_config_remote

Loading…
Cancel
Save