Skip to content

Commit

Permalink
Merge pull request #13 from DannyDorito/cleanup-and-var-fixes
Browse files Browse the repository at this point in the history
fixed fps limit check and cleanup
  • Loading branch information
DannyDorito authored Dec 10, 2022
2 parents aa4beaa + 601aff4 commit 2a74a10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions DayZServerStart.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down

0 comments on commit 2a74a10

Please sign in to comment.