Jump to content
eggy785

server crashing on restart

Recommended Posts

server shutdown but the DZSALModServer.exe does not close with the server that hangs and i get a stackhash error when server tries to restart due to the DZSALModServer.exe not closing any idea's? thanks.

Share this post


Link to post
Share on other sites
9 minutes ago, eggy785 said:

the DZSALModServer.exe does not close with the server

close the ModServer.exe before you close the server

Edited by pilgrim*
  • Like 1

Share this post


Link to post
Share on other sites
2 minutes ago, pilgrim* said:

close the ModServer.exe before you close the server

yeah but that mean's it crashes at night when i am asleep i need like my monitor to tell it too close when the server does unsure how to set it that way, thanks for reply.

Share this post


Link to post
Share on other sites
45 minutes ago, pilgrim* said:

close the ModServer.exe before you close the server

::This will check every 30 second if your server is still running.
:loopsv
FOR /L %%s IN (30,-1,0) DO (
    cls
    echo Server is running. Checking again in %%s seconds.. 
    timeout 1 >nul
)
goto checksv

::This will shutdown your Server and Bec When this task is asked.
:killsv
taskkill /f /im Bec.exe
taskkill /f /im DZSALModServer.exe
taskkill /f /im DayZServer_x64.exe
goto startsv
think it would work this way?.

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

×