소스 검색

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}"