dy3rx Posted July 7, 2014 Report Share Posted July 7, 2014 Paying someone to fix my restarts and maintenance SERIOUS INQUIRIES ONLY , Link to comment Share on other sites More sharing options...
0 cen Posted July 7, 2014 Report Share Posted July 7, 2014 What's the issue? Link to comment Share on other sites More sharing options...
0 dy3rx Posted July 7, 2014 Author Report Share Posted July 7, 2014 my restarts aren't working properly, i've tried everything, I have my batch files, and when players maintain their base all the parts like double inside each other, i've been asking for about a month around on the forums, and made two seperate threads, nobody will help me, i am willing to pay someone to fix it i am so desperate, i have to wake up every 3 hours at night while sleeping to bring all my servers back up...i cannot do this anymore i need this fixed. Link to comment Share on other sites More sharing options...
0 raymix Posted July 7, 2014 Report Share Posted July 7, 2014 For restarts, install BEC and follow this: However this will shut down server, so you need to run third party application that will run your game as a service instead - basically if it detects shutdown it will automatically start it up for you. Most popular seems to be FireDaemon. For maintenance, you will need to add setDamageOnAge event from additional epoch SQL tables Just change damage in range around 0.11 - 0.3, because 0.1 is bugged. The way this works is - after a while it sets tiny damage on items (damage is not incremental, just static value), which in turn will enable option on plotpoles - ability to maintain objects (pp detects damage of nearby objects). Maintaining with PP will simple replace models with new ones effectively refreshing date of creation and preventing them from being deleted by setDamageOnAge . Enjoy dy3rx 1 Link to comment Share on other sites More sharing options...
0 dy3rx Posted July 7, 2014 Author Report Share Posted July 7, 2014 For restarts, install BEC and follow this: However this will shut down server, so you need to run third party application that will run your game as a service instead - basically if it detects shutdown it will automatically start it up for you. Most popular seems to be FireDaemon. For maintenance, you will need to add setDamageOnAge event from additional epoch SQL tables Just change damage in range around 0.11 - 0.3, because 0.1 is bugged. The way this works is - after a while it sets tiny damage on items (damage is not incremental, just static value), which in turn will enable option on plotpoles - ability to maintain objects (pp detects damage of nearby objects). Maintaining with PP will simple replace models with new ones effectively refreshing date of creation and preventing them from being deleted by setDamageOnAge . Enjoy THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
0 NoxSicarius Posted July 8, 2014 Report Share Posted July 8, 2014 For restarts, install BEC and follow this: However this will shut down server, so you need to run third party application that will run your game as a service instead - basically if it detects shutdown it will automatically start it up for you. Most popular seems to be FireDaemon. For maintenance, you will need to add setDamageOnAge event from additional epoch SQL tables Just change damage in range around 0.11 - 0.3, because 0.1 is bugged. The way this works is - after a while it sets tiny damage on items (damage is not incremental, just static value), which in turn will enable option on plotpoles - ability to maintain objects (pp detects damage of nearby objects). Maintaining with PP will simple replace models with new ones effectively refreshing date of creation and preventing them from being deleted by setDamageOnAge . Enjoy You don't need anything third party to bring the server back up. I use batch files and bec. Restart.bat timeout 10 taskkill /im bec.exe timeout 5 :: start the server.. set dayzpath="C:\Users\Server\Desktop\DayZ Epoch" cd /d %dayzpath% start /b /min "Dayz Epoch Server" "DayZ_Epoch_instance_11_Chernarus.bat" timeout 20 :: start bec cd\ cd /d "C:\Users\Server\Desktop\DayZ Epoch\instance_11_Chernarus\BattlEye\Bec" start /min Bec.exe -f Config.cfg cls @exit raymix 1 Link to comment Share on other sites More sharing options...
0 raymix Posted July 8, 2014 Report Share Posted July 8, 2014 You don't need anything third party to bring the server back up. I use batch files and bec. Restart.bat timeout 10 taskkill /im bec.exe timeout 5 :: start the server.. set dayzpath="C:\Users\Server\Desktop\DayZ Epoch" cd /d %dayzpath% start /b /min "Dayz Epoch Server" "DayZ_Epoch_instance_11_Chernarus.bat" timeout 20 :: start bec cd\ cd /d "C:\Users\Server\Desktop\DayZ Epoch\instance_11_Chernarus\BattlEye\Bec" start /min Bec.exe -f Config.cfg cls @exit Thanks didn't know that. Which also means running #shutdown command is pointless, what dy3rx should do instead is launch this .bat instead from the same scheduled task, something like this: <!-- Dem powers of BAT files! --> <job id="5"> <time>030000</time> <!-- run every 3 hour (from point when server was started) --> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>C:\mahServer\Bec\Config\restart.bat</cmd> <cmdtype>1</cmdtype> </job> Make sure that cmdtype is 1 and not zero (0 is used for internal commands) Link to comment Share on other sites More sharing options...
0 NoxSicarius Posted July 8, 2014 Report Share Posted July 8, 2014 Thanks didn't know that. Which also means running #shutdown command is pointless, what dy3rx should do instead is launch this .bat instead from the same scheduled task, something like this: <!-- Dem powers of BAT files! --> <job id="5"> <time>030000</time> <!-- run every 3 hour (from point when server was started) --> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>C:\mahServer\Bec\Config\restart.bat</cmd> <cmdtype>1</cmdtype> </job> Make sure that cmdtype is 1 and not zero (0 is used for internal commands) Yes and no. Use the shutdown command, then a second or two later run the restart.bat The shutdown command closes out the server properly and safely, the kill task kills the old BEC window (it doesn't always close properly without this command) and then it starts them back up. It starts them minimized (/min) so that it isn't always open on your server. I have this set (and you can remove it if you want) because I run multiple servers on one pc for different games. Here is a full one restart rotation in my command set: -<Scheduler> <!-- 12:00 AM restart --> -<job id="0"> <time>23:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> -<job id="1"> <time>23:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 This server will restart in 5 minutes</cmd> <cmdtype>0</cmdtype> </job> -<job id="2"> <time>23:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> <cmdtype>0</cmdtype> </job> -<job id="3"> <time>00:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> -<job id="4"> <time>00:00:10</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>C:\Users\Server\Desktop\DayZ Epoch\restart.bat</cmd> <cmdtype>1</cmdtype> </job> <!-- End 12:00 AM restart --> Link to comment Share on other sites More sharing options...
0 xmayze Posted July 8, 2014 Report Share Posted July 8, 2014 I just started messing with most of this dedicated server stuff the other day, setup locally in preparation of hosting via a hosting company .. but I found a post that helped with setting all of this up on the machine we are using for testing. We have been running the server since yesterday, and restarts work great, and so does everything else .. so far :P Hopefully this helps you out. BEC Config (it's in C:\ServerTools\Bec) [Bec] Ip = 127.0.0.1 Port = 2302 BePath = C:\Users\CH\Desktop\Dayz Epoch Server\instance_11_Chernarus\BattlEye Admins = Admins.xml Commands = Commands.xml # Optional [Misc] AsciiChatOnly = True IgnoreChatChars = €,£,æ,Æ,ø,Ø,å,Å Timeout = 60 KickLobbyIdlers = 300 Scheduler = Scheduler.xml Scheduler.xml (Will only share the restart code. We have it set to restart every 3 hours starting at noon. WIll attach the 3AM restart.) <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <Scheduler> <!-- 3 AM Restart --> <job id="0"> <time>02:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server will restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>02:50:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server will restart 10 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>02:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server will restart 5 minutes Please Land Now and Log out!</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>02:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server will restart 1 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="4"> <time>03:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>C:\Users\CH\Desktop\Dayz Epoch Server\BEC_RESTART.bat</cmd> <cmdtype>1</cmdtype> </job> </Scheduler> and finally the .bat contans... @echo off echo Killing Process arma2oaserver.exe PING -n 6 127.0.0.1>nul echo. taskkill /f /im "arma2oaserver.exe" echo. echo Process arma2oaserver.exe Ended... echo. PING -n 6 127.0.0.1>nul echo. echo Restarting arma2oaserver.exe cd "C:\Users\CH\Desktop\Dayz Epoch Server" start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;" echo Restarting BEC... PING -n 16 127.0.0.1>nul cd "C:\ServerTools\Bec" start Bec.exe -f Config.cfg Hopefully this is what you needed. Like I said, everything runs fine for us! Link to comment Share on other sites More sharing options...
0 raymix Posted July 8, 2014 Report Share Posted July 8, 2014 @xmayze: That is format for static time. It does not work from time the server was started (its all about admin's preferences really) This will restart server at 3AM every day <time>03:00:00</time> This will restart server after 3 hours of starting up the server: <time>030000</time> Link to comment Share on other sites More sharing options...
0 xmayze Posted July 8, 2014 Report Share Posted July 8, 2014 good to know, thank you raymix :) Link to comment Share on other sites More sharing options...
0 CoxyzHQ Posted July 14, 2014 Report Share Posted July 14, 2014 in the Batch file i get did not find BEServer.cfg Any Help? Link to comment Share on other sites More sharing options...
0 CoxyzHQ Posted July 15, 2014 Report Share Posted July 15, 2014 i fixed it but now im getting no valid response. trying to reconnect and then it fails and shuts down any help Link to comment Share on other sites More sharing options...
0 Guest Posted July 15, 2014 Report Share Posted July 15, 2014 Sorry for bumping this. But I have created a solution for the Autorestarts on crash/shutdown. It's also free. So you dont need to buy Firedaemon :) @echo off cls echo Watching arma2oaserver For Crashes/Restarts... echo If you want to close arma2oaserver and this script, close the arma2oaserver window and type Y depending on your language followed by Enter. title Raklatif's Arma2OA Monitor :arma2oaserver echo (%time%) arma2oaserver started. start /wait "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;" echo (%time%) WARNING: arma2oaserver closed or crashed, restarting. goto arma2oaserver This is for Chernarus.11 Link to comment Share on other sites More sharing options...
0 dy3rx Posted October 24, 2014 Author Report Share Posted October 24, 2014 Thanks everyone so much for the help, This helped me so much.. :D I have learned so much since this post and I am very good at scripting/coding servers now :D Link to comment Share on other sites More sharing options...
Question
dy3rx
Paying someone to fix my restarts and maintenance
SERIOUS INQUIRIES ONLY ,
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now