Преглед на файлове

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 преди 10 години
родител
ревизия
3836b66a5f
променени са 1 файла, в които са добавени 5 реда и са изтрити 4 реда
  1. 5 4
      ProjectZomboid/pzserver

+ 5 - 4
ProjectZomboid/pzserver

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