Jump to content
  • 0

Please help BEC not restarting


Evilkaster

Question

I have been reading for the last few weeks trying to fix my problem. BEC starts and works as far as I can tell because it says RCon admin #0 logged in and it will kick for idle and will kick for high ping. It will announce that as well. However my server will not restart or even announce a restart. If anyone could help me figure this out i would be so happy!

 

config.cfg

[bec]
IP = 98.25.109.32
Port = 2302
BePath = C:\Users\Owner\Desktop\dayz epoch server\instance_11_Chernarus\BattlEye\
Admins = Admins.xml
Commands = Commands.xml
[Misc]
Ban = 3
ConsoleHeight = 30
ConsoleWidth = 60
Scheduler = C:\Users\Owner\Desktop\dayz epoch server\instance_11_Chernarus\BattlEye\Bec\Config\Scheduler.xml
KickLobbyIdlers = 400
ChatChannelFiles = True
Timeout = 60
[Reporter]
#User = alfred
#Password = 123456
 
 
scheduler.xml
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<Scheduler>
<job id='0'>
<day>1,2,3,4,5,6,7</day>
<start>000600</start>
<runtime>000600</runtime>
<loop>-1</loop>
<cmd>say -1 dhdhdhd</cmd>
</job>
 
<job id='1'>
<day>1,2,3,4,5,6,7</day>
<start>000600</start>
<runtime>000600</runtime>
<loop>-1</loop>
<cmd>say -1 dhdhdhdh</cmd>
</job>
 
<!-- 06:00 AM restart -->
<job id='2'>
<day>1,2,3,4,5,6,7</day>
<start>05:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='3'>
<day>1,2,3,4,5,6,7</day>
<start>05:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='4'>
<day>1,2,3,4,5,6,7</day>
<start>05:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='5'>
<day>1,2,3,4,5,6,7</day>
<start>06:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='6'>
<day>1,2,3,4,5,6,7</day>
<start>06:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 06:00 AM restart -->
 
<!-- 09:00 AM restart -->
<job id='7'>
<day>1,2,3,4,5,6,7</day>
<start>08:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='8'>
<day>1,2,3,4,5,6,7</day>
<start>08:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='9'>
<day>1,2,3,4,5,6,7</day>
<start>08:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='10'>
<day>1,2,3,4,5,6,7</day>
<start>09:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='11'>
<day>1,2,3,4,5,6,7</day>
<start>09:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 09:00 AM restart -->
 
<!-- 12:00 PM restart -->
<job id='12'>
<day>1,2,3,4,5,6,7</day>
<start>11:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='13'>
<day>1,2,3,4,5,6,7</day>
<start>11:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='14'>
<day>1,2,3,4,5,6,7</day>
<start>11:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='15'>
<day>1,2,3,4,5,6,7</day>
<start>12:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='16'>
<day>1,2,3,4,5,6,7</day>
<start>12:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 12:00 PM restart -->
 
<!-- 03:00 PM restart -->
<job id='17'>
<day>1,2,3,4,5,6,7</day>
<start>14:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='18'>
<day>1,2,3,4,5,6,7</day>
<start>14:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='19'>
<day>1,2,3,4,5,6,7</day>
<start>14:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='20'>
<day>1,2,3,4,5,6,7</day>
<start>15:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='21'>
<day>1,2,3,4,5,6,7</day>
<start>15:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 03:00 PM restart -->
 
<!-- 06:00 PM restart -->
<job id='22'>
<day>1,2,3,4,5,6,7</day>
<start>17:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='23'>
<day>1,2,3,4,5,6,7</day>
<start>17:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='24'>
<day>1,2,3,4,5,6,7</day>
<start>17:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='25'>
<day>1,2,3,4,5,6,7</day>
<start>18:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='26'>
<day>1,2,3,4,5,6,7</day>
<start>18:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 06:00 PM restart -->
 
<!-- 09:00 PM restart -->
<job id='27'>
<day>1,2,3,4,5,6,7</day>
<start>20:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='28'>
<day>1,2,3,4,5,6,7</day>
<start>20:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='29'>
<day>1,2,3,4,5,6,7</day>
<start>20:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='30'>
<day>1,2,3,4,5,6,7</day>
<start>21:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='31'>
<day>1,2,3,4,5,6,7</day>
<start>21:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 09:00 PM restart -->
 
<!-- 12:00 AM restart -->
<job id='32'>
<day>1,2,3,4,5,6,7</day>
<start>23:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='33'>
<day>1,2,3,4,5,6,7</day>
<start>23:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='34'>
<day>1,2,3,4,5,6,7</day>
<start>23:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='35'>
<day>1,2,3,4,5,6,7</day>
<start>00:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='36'>
<day>1,2,3,4,5,6,7</day>
<start>00:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 12:00 AM restart -->
 
<!-- 03:00 AM restart -->
<job id='37'>
<day>1,2,3,4,5,6,7</day>
<start>02:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='38'>
<day>1,2,3,4,5,6,7</day>
<start>02:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='39'>
<day>1,2,3,4,5,6,7</day>
<start>02:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='40'>
<day>1,2,3,4,5,6,7</day>
<start>03:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
<job id='41'>
<day>1,2,3,4,5,6,7</day>
<start>03:00:10</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>C:\Users\Owner\Desktop\dayz epoch server\restart.bat</cmd>
</job>
<!-- End 03:00 AM restart -->
 
</Scheduler>

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

run it like 2sten8igall said befor bec is executing the shudown command. 

 

add this in your restart.bat so it pause the batch process for a few sec 

PING 127.0.0.1 -n 5 >NUL 2>&1

or just use the windows scheduler to run the batch so you dont need to deal with bec

Link to comment
Share on other sites

  • 0

Thanks for that info, but i don't think its actually loading the scheduler it never says scheduling in the bec window. so restarting isn't the issue at the moment I guess I should say its not actually shutting down or announcing the restart time I only really need bec to announce and shut down i can get it to restart with anything.

 

HAPPY FOURTH!!

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...