Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Dreyk Tavares

how restart a server and wipe

Recommended Posts

Hi all

I created a server for play with my friends and i`m learn the configure the server, but i need help.

someone can teach me restart server manually I dont want restart programmed, i want manually when necessary

how wipe too

I thanks who give informations👍

Share this post


Link to post
Share on other sites

go to mpmissions  in your server go in dayzOffline.chernarusplus or whatever mp file you use look for storage_1 right click delete wiped i am also looking for a restarter can help you there.

Share this post


Link to post
Share on other sites

Save the following as a .bat file and you'll have a manual restarter (change to match your drive/folder locations, port number, affinity mask, mods, etc. of course):

 

@echo off
setlocal EnableDelayedExpansion

:shutdownserver

taskkill /IM DayZServer_x64.exe
timeout /T 30 /NOBREAK

:restartserver

cd\
cd "C:\Steam\steamapps\common\DayZServer"

start "" /affinity {calc your affinity mask here} "C:\Steam\steamapps\common\DayZServer\DayZServer_x64.exe" "-instanceId=1" "-config=serverDZ.cfg" "-port=????" "-profiles=C:\DayZServer\" "-mod={mods go here}" "-noFilePatching" "-adminlog" "-freezecheck"


exit

 

If you don't know what I mean by affinity mask, check here and scroll down and read Method 3: https://www.dynamsoft.com/blog/insights/set-cpu-affinity-process/

When calculating affinity mask, it is best to run it on all cores except Core 0 as that will be the Windows default core and can cause DayZ server lag spikes when Windows is performing background tasks.

Share this post


Link to post
Share on other sites

×