Explorar o código

Update ProjectZomboid AppID, fix server file

The Project Zomboid AppID has changed as well as the structure of its
server files. This commit should point the scripts to the appropriate
files.
Bryce Van Dyk %!s(int64=10) %!d(string=hai) anos
pai
achega
3836b66a5f
Modificáronse 1 ficheiros con 5 adicións e 4 borrados
  1. 5 4
      ProjectZomboid/pzserver

+ 5 - 4
ProjectZomboid/pzserver

@@ -2,8 +2,9 @@
 # Project Zomboid
 # Project Zomboid
 # Server Management Script
 # Server Management Script
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
+# Contributions: Bryce Van Dyk (SingingTree)
 # Website: http://gameservermanagers.com
 # Website: http://gameservermanagers.com
-version="100715"
+version="031015"
 
 
 #### Variables ####
 #### Variables ####
 
 
@@ -27,7 +28,7 @@ parms=""
 #### Advanced Variables ####
 #### Advanced Variables ####
 
 
 # Steam
 # Steam
-appid="108600"
+appid="380870"
 
 
 # Server Details
 # Server Details
 servicename="pz-server"
 servicename="pz-server"
@@ -39,9 +40,9 @@ rootdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 selfname="$(basename $0)"
 selfname="$(basename $0)"
 lockselfname=".${servicename}.lock"
 lockselfname=".${servicename}.lock"
 filesdir="${rootdir}/serverfiles"
 filesdir="${rootdir}/serverfiles"
-systemdir="${filesdir}/projectzomboid"
+systemdir="${filesdir}"
 executabledir="${filesdir}"
 executabledir="${filesdir}"
-executable="./projectzomboid-dedi-server.sh"
+executable="./start-server.sh"
 servercfg="servertest.ini"
 servercfg="servertest.ini"
 servercfgdir="${HOME}/Zomboid/Server"
 servercfgdir="${HOME}/Zomboid/Server"
 servercfgfullpath="${servercfgdir}/${servercfg}"
 servercfgfullpath="${servercfgdir}/${servercfg}"