Jump to content
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×