Bungle Posted June 18, 2013 Report Share Posted June 18, 2013 Hi Guys, I have been looking (Not that hard) and wondering if there is way to setup messages that appear just before restart. Any feedback appreciated. Link to comment Share on other sites More sharing options...
0 Billy Posted June 18, 2013 Report Share Posted June 18, 2013 Hi Guys, I have been looking (Not that hard) and wondering if there is way to setup messages that appear just before restart. Any feedback appreciated. I use Server Messages; https://github.com/gdscei/ServerMessages ServerMessages: auto global RCon messages Link to comment Share on other sites More sharing options...
0 MadMartyr Posted June 18, 2013 Report Share Posted June 18, 2013 I use BEC for automated messages and restarts. Easy to setup, scheduler is pretty powerful. Currently have mine giving tips in-game, such as "Crouch when in towns or near zombie hot-spots, it could keep you out of sight." Link to comment Share on other sites More sharing options...
0 MGT Posted June 19, 2013 Report Share Posted June 19, 2013 I use BEC for automated messages and restarts. Easy to setup, scheduler is pretty powerful. Currently have mine giving tips in-game, such as "Crouch when in towns or near zombie hot-spots, it could keep you out of sight." +1 Setup BEC to run as a service using Firedaemon or similar, setup schedule to include warnings and the restarts themselves (#shutdown) and use an autorestarter batch file to boot back up again. Here's my autorestarter.bat, note it only works on 1 server, if you have multiple DayZ or Arma2 servers you will need to rename the .exe's @echo off :start C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL if "%ERRORLEVEL%"=="0" goto loop echo Server monitored is not running, will be started now echo. echo. echo. echo. start.\Expansion\beta\arma2oaserver.exe -beta=Expansion\beta;Expansion\beta\Expansion -port=2302 -name=instance_11_Chernarus -profiles=instance_11_Chernarus -cfg=instance_11_Chernarus\basic.cfg -config=instance_11_Chernarus\config.cfg -mod=expansion;expansion\beta;expansion\beta\expansion;@DayZ_Epoch;@DayZ_Epoch_Server -noPause -noSound -nosplash -cpuCount=4 -exThreads=1 -maxMem=4096 -noCB echo Server started succesfully echo Executing spawn script... .\SQL\bin\mysql.exe --user=******* --password=******** --host=127.0.0.1 --port=**** --database=dayz_epoch --execute="call pMain()" ping 127.0.0.1 -n 5 >NUL .\SQL\cecho echo. echo. echo. echo. .\SQL\cecho ping 127.0.0.1 -n 5 >NUL goto started :loop cls echo Server is already running, running monitoring loop :started C:\Windows\System32\timeout /t 20 C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL if "%ERRORLEVEL%"=="0" goto loop C:\Windows\System32\taskkill /im arma2oaserver.exe goto start Link to comment Share on other sites More sharing options...
Question
Bungle
Hi Guys,
I have been looking (Not that hard) and wondering if there is way to setup messages that appear just before restart.
Any feedback appreciated.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now