From 601aff4f88e57a70171ba98d65f35723c02c54df Mon Sep 17 00:00:00 2001 From: John Allison Date: Sat, 10 Dec 2022 21:08:19 +0000 Subject: [PATCH] fixed fps limit check and cleanup --- DayZServerStart.bat | 8 +++++--- README.md | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/DayZServerStart.bat b/DayZServerStart.bat index 0ae8db1..a52cbb8 100644 --- a/DayZServerStart.bat +++ b/DayZServerStart.bat @@ -41,6 +41,7 @@ SET CONFIG=serverDZ.cfg :: Can use a file path, with environment vars, such as C:\Users\%USER%\Documents\DayZServer :: or a string to keep the logs where EXE_PATH is :: For more info see: https://forums.dayz.com/topic/239635-dayz-server-files-documentation/?tab=comments#comment-2396561 +:: Default is: DayZServer :: Cannot be blank SET PROFILE=DayZServer :: Restart timeout in seconds @@ -66,6 +67,7 @@ SET BEC_EXE="bec.exe" :: Extra launch parameters :: For more info see: https://community.bistudio.com/wiki/DayZ:Server_Configuration +:: Default is: "-doLogs -adminLog -netLog -freezeCheck -filePatching" SET ADDITIONAL_PARAMETERS=-doLogs -adminLog -netLog -freezeCheck -filePatching :: Enables the DayZ SA Launcher to download mods running on the server, @@ -74,7 +76,7 @@ SET ADDITIONAL_PARAMETERS=-doLogs -adminLog -netLog -freezeCheck -filePatching :: Default is: false SET USE_DZSAL_MODSERVER=false :: Name of DayZ SA Launcher Mod Server exe -:: Default is: DZSALModServer.exe +:: Default is: "DZSALModServer.exe" SET EXE_DZSAL="DZSALModServer.exe" :: Extra launch parameters :: For more info see command line parameters section of: https://dayzsalauncher.com/#/tools @@ -89,7 +91,7 @@ SET USE_STEAM_UPDATER=false :: Cannot be blank SET PATH_TO_STEAM_CMD_EXE="changeme" :: Name of executable -:: Default is: 'SteamCMD.exe' +:: Default is: "SteamCMD.exe" :: Cannot be blank SET STEAMCMD="SteamCMD.exe" :: Name of the Steam account that SteamCMD uses @@ -124,7 +126,7 @@ IF %SERVER_FPS_LIMIT% GTR 200 ( SET ERROR=SERVER_FPS_LIMIT GOTO CONFIG_ERROR ) -IF %SERVER_FPS_LIMIT LEQ 1 ( +IF %SERVER_FPS_LIMIT% LEQ 1 ( SET ERROR=SERVER_FPS_LIMIT GOTO CONFIG_ERROR ) diff --git a/README.md b/README.md index 7886848..c8c960f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ Forking this repo will be public, **do not** put sensitive information such as p * Crash Monitor - for making sure your server stays up, uses tasklist and pinging for more reliability * Restart Timer - for automatic DayZ server restarts * BEC Support - essential for administration +* FPS Limit - limit server fps +* File Patching - ensures that only PBOs are loaded and not unpacked data ## Optional Features * Startup Arguments - for more experienced admins that want to customize their own startup parameters @@ -33,7 +35,7 @@ Forking this repo will be public, **do not** put sensitive information such as p Any issues or requests, please create an issue [here](https://github.com/DannyDorito/DayZ-Startup-and-Restart-Script/issues). -## ARMA 3 Version +## ARMA 3 Version [ARMA 3 Startup and Restart Script](https://github.com/DannyDorito/ARMA-3-Startup-and-Restart-Script)