• 0
burschi

Server Crash on Shutdown

Question

Hi Guys,

my dedicated Exile Server crashs if close it.

se screen

And than the Monitor didn´t start it again.

sry for my bad English....

I hope someone can help pls....

Mfg Burschi

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Hello @burschi,

There could be 100's of reasons why it crashes.

See this to restart the server, even if it crashes: 

:)

Share this post


Link to post
Share on other sites
  • 0

thx for your post...

but if i kill the window from the Server .... the Screen comes i postet....and thats it .. the Monitor Window is open but no restart.....

can i change the start.bat or what ?

Mfg

Share this post


Link to post
Share on other sites
Advertisement
  • 0
Spoiler

@echo off
color 0a
title OFG Exile ChernaRedux TEST
:Serverstart
echo Launching Server
D: 
cd "D:\Arma_Testserver\Server"
echo OFG Exile ChernaRedux TEST Monitor... Active !
start "Arma3" /min /wait arma3server.exe -mod=@exile;@CUPTerrains;@DSHouses;@ChernarusRedux;Kart,Mark,Heli; -servermod=@exileserver; -config=D:\Arma_Testserver\Server\@ExileServer\config.cfg -port=3302 -profiles=SC -cfg=D:\Arma_Testserver\Server\@ExileServer\basic.cfg -name=SC -autoinit
ping 127.0.0.1 -n 15 >NUL
echo Exile Server Shutdown ... Restarting!
ping 127.0.0.1 -n 5 >NUL
cls
goto Serverstart

my start.bat

Share this post


Link to post
Share on other sites
  • 0

This server monitor batch script works fine it was made for arma2 dayz epoch server just update the command line and settings and edit a few echos this will also back up the sql database and restart the server then BEC

edit the script to your needs remove parts or add to it i changed a few things up to suit a exile server.

@echo off


::CREDITS::Raklatif's Arma2OA Monitor, f3cuk Database backup, juandayz
::CONFIG SETTINGS
set becPath="C:\Exile_Server\Bec"
set serverPath="C:\Exile_Server"
set DB_USERNAME="Exile"
set DB_PASSWORD="1234567890"
set DB_NAME="exile_main"
set PATH_TO_BACKUP_FOLDER="C:\backup"
set PATH_TO_MYSQL_BIN="C:\wamp64\bin\mysql\mysql5.7.14\bin"
::END SETTINGS
:arma3Exileserver
echo (%time%) Backing up database.
FOR /F "tokens=1-4 DELIMS=/ " %%F IN ('date /T') DO (set v_date=%%F%%G%%H)
FOR /F "tokens=1-4 DELIMS=: " %%F IN ('time /T') DO (set v_time=%%F%%G%%H)
set fname=database_%v_date%_%v_time%.sql
cd %PATH_TO_MYSQL_BIN%
mysqldump.exe -e -u%DB_USERNAME% -p%DB_PASSWORD% %DB_NAME% > %PATH_TO_BACKUP_FOLDER%\%fname%
echo (%time%) DIR %PATH_TO_BACKUP_FOLDER% FILE %fname%
ping 127.0.0.1 -n 5 >NUL
echo Watching ArmA3 Exile Main Server For Crashes/Restarts...
echo If you want to close arma3Exileserver and this script, close the arma3Exileserver window and type Y depending on your language followed by Enter.
title PUT YOUR SERVER NAME HERE (so you know what monitor is monitoring what server)!
cd %becPath%
echo (%time%) bec started.
start Bec.exe -f Config.cfg
cd %serverPath%
echo (%time%) arma3Exileserver started.
start /wait "arma2" /min "C:\Exile_Server\arma3server.exe" -port=2302 -autoInit -noSound -noPause "-config=Exile_Server\config.cfg" "-cfg=Exile_Server\basic.cfg" "-profiles=SC" -name=SC "-mod=@exile;@exileserver;"
echo (%time%) WARNING: arma2oaserver closed or crashed, restarting.
goto arma3Exileserver

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.