Sign in to follow this  
Followers 0
Vecktor

Restarts + announcement

2 posts in this topic

Hi Guys,

hope i´m in the right section.

I have a Problem with my restarts and the announcements.

my BEC sheduler.xml:

Spoiler

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet  href="acs.xsl" type="text/xsl"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--    Scheduler Creator - Autor: BeavisTheSecond - Version: 1.3       -->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<Scheduler>
  <!-- ~~~ Serverrestarts ~~~-->
  <!-- *** Restart at 00:00:00 ***-->
  <job id="0">
    <day>1,2,3,4,5,6,7</day>
    <start>23:45:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 15 Minutes</cmd>
  </job>
  <job id="1">
    <day>1,2,3,4,5,6,7</day>
    <start>23:50:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 10 Minutes</cmd>
  </job>
  <job id="2">
    <day>1,2,3,4,5,6,7</day>
    <start>23:55:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 5 Minutes</cmd>
  </job>
  <job id="3">
    <day>1,2,3,4,5,6,7</day>
    <start>23:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 1 Minutes</cmd>
  </job>
  <job id="4">
    <day>1,2,3,4,5,6,7</day>
    <start>23:59:55</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart NOW</cmd>
  </job>
  <!-- *** Restart at 04:00:00 ***-->
  <job id="5">
    <day>1,2,3,4,5,6,7</day>
    <start>03:45:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 15 Minutes</cmd>
  </job>
  <job id="6">
    <day>1,2,3,4,5,6,7</day>
    <start>03:50:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 10 Minutes</cmd>
  </job>
  <job id="7">
    <day>1,2,3,4,5,6,7</day>
    <start>03:55:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 5 Minutes</cmd>
  </job>
  <job id="8">
    <day>1,2,3,4,5,6,7</day>
    <start>03:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 1 Minutes</cmd>
  </job>
  <job id="9">
    <day>1,2,3,4,5,6,7</day>
    <start>03:59:55</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart NOW</cmd>
  </job>
  <!-- *** Restart at 08:00:00 ***-->
  <job id="10">
    <day>1,2,3,4,5,6,7</day>
    <start>07:45:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 15 Minutes</cmd>
  </job>
  <job id="11">
    <day>1,2,3,4,5,6,7</day>
    <start>07:50:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 10 Minutes</cmd>
  </job>
  <job id="12">
    <day>1,2,3,4,5,6,7</day>
    <start>07:55:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 5 Minutes</cmd>
  </job>
  <job id="13">
    <day>1,2,3,4,5,6,7</day>
    <start>07:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 1 Minutes</cmd>
  </job>
  <job id="14">
    <day>1,2,3,4,5,6,7</day>
    <start>07:59:55</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart NOW</cmd>
  </job>
  <!-- *** Restart at 12:00:00 ***-->
  <job id="15">
    <day>1,2,3,4,5,6,7</day>
    <start>11:45:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 15 Minutes</cmd>
  </job>
  <job id="16">
    <day>1,2,3,4,5,6,7</day>
    <start>11:50:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 10 Minutes</cmd>
  </job>
  <job id="17">
    <day>1,2,3,4,5,6,7</day>
    <start>11:55:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 5 Minutes</cmd>
  </job>
  <job id="18">
    <day>1,2,3,4,5,6,7</day>
    <start>11:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 1 Minutes</cmd>
  </job>
  <job id="19">
    <day>1,2,3,4,5,6,7</day>
    <start>11:59:55</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart NOW</cmd>
  </job>
  <!-- *** Restart at 16:00:00 ***-->
  <job id="20">
    <day>1,2,3,4,5,6,7</day>
    <start>15:45:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 15 Minutes</cmd>
  </job>
  <job id="21">
    <day>1,2,3,4,5,6,7</day>
    <start>15:50:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 10 Minutes</cmd>
  </job>
  <job id="22">
    <day>1,2,3,4,5,6,7</day>
    <start>15:55:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 5 Minutes</cmd>
  </job>
  <job id="23">
    <day>1,2,3,4,5,6,7</day>
    <start>15:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 1 Minutes</cmd>
  </job>
  <job id="24">
    <day>1,2,3,4,5,6,7</day>
    <start>15:59:55</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart NOW</cmd>
  </job>
  <!-- *** Restart at 20:00:00 ***-->
  <job id="25">
    <day>1,2,3,4,5,6,7</day>
    <start>19:45:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 15 Minutes</cmd>
  </job>
  <job id="26">
    <day>1,2,3,4,5,6,7</day>
    <start>19:50:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 10 Minutes</cmd>
  </job>
  <job id="27">
    <day>1,2,3,4,5,6,7</day>
    <start>19:55:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 5 Minutes</cmd>
  </job>
  <job id="28">
    <day>1,2,3,4,5,6,7</day>
    <start>19:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart in 1 Minutes</cmd>
  </job>
  <job id="29">
    <day>1,2,3,4,5,6,7</day>
    <start>19:59:55</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 Restart NOW</cmd>
  </job>
  <!-- ~~~ BEC Messages  ~~~-->
  <job id="30">
    <day>1,2,3,4,5,6,7</day>
    <start>000500</start>
    <runtime>001000</runtime>
    <loop>1</loop>
    <cmd>say -1 Teamspeak: kartoffel-stampfer.de</cmd>
  </job>
  <job id="31">
    <day>1,2,3,4,5,6,7</day>
    <start>000700</start>
    <runtime>001200</runtime>
    <loop>1</loop>
    <cmd>say -1 Suppport bitte nur auf unserer Homepage.</cmd>
  </job>
  <job id="32">
    <day>1,2,3,4,5,6,7</day>
    <start>000700</start>
    <runtime>001200</runtime>
    <loop>1</loop>
    <cmd>say -1 Unsere Homepage: forum.kartoffel-stampfer.com</cmd>
  </job>
 
  <!-- Restart 4 Uhr -->
   <job id="33">
        <day>1,2,3,4,5,6,7</day>
        <start>03:59:59</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\server\A3Exile\restart.bat</cmd>
        <cmdtype>1</cmdtype>
    </job>
    
    <!-- Restart 8 Uhr -->
    <job id="34">
        <day>1,2,3,4,5,6,7</day>
        <start>07:59:59</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\server\A3Exile\restart.bat</cmd>
        <cmdtype>1</cmdtype>
    </job>
    
    <!-- Restart 12 Uhr -->
    <job id="35">
        <day>1,2,3,4,5,6,7</day>
        <start>11:59:59</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\server\A3Exile\restart.bat</cmd>
        <cmdtype>1</cmdtype>
    </job>
    
    <!-- Restart 16 Uhr -->
    <job id="36">
        <day>1,2,3,4,5,6,7</day>
        <start>15:59:59</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\server\A3Exile\restart.bat</cmd>
        <cmdtype>1</cmdtype>
    </job>
    
    <!-- Restart 20 Uhr -->
    <job id="37">
        <day>1,2,3,4,5,6,7</day>
        <start>19:59:59</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\server\A3Exile\restart.bat</cmd>
        <cmdtype>1</cmdtype>
    </job>
    
    <!-- Restart 24 Uhr -->
    <job id="38">
        <day>1,2,3,4,5,6,7</day>
        <start>23:59:59</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\server\A3Exile\restart.bat</cmd>
        <cmdtype>1</cmdtype>
    </job>
    
</Scheduler>

And in my EXILE_AHAT_CONFIG.hpp ;

Spoiler

/* show time left to next restart */
USE_RESTART_TIMER = "true";

USE_RESTART_TIMES_ARRAY = "true";
/* if USE_RESTART_TIMES_ARRAY = "true"; -> {hour,minute} .. put in the times when your server restarts (server real world time) */
RESTART_TIMES[] =
{
    {00,00},
    {04,00},
    {08,00},
    {12,00},
    {16,00},
    {20,00}
};

/* if USE_RESTART_TIMES_ARRAY = "false"; -> restart time in minutes (default: 180min == 3 hours) */
RESTART_TIME_IN_M = 240;
TIME_FUNCTION_USED = "diag_tickTime";    // diag_tickTime (starts with arma3server.exe), time (starts with mpmission init)
SHOW_RESTART_TIMER = "true"; // shows a restart timer on "escape menu" and "gear menu"

/* show restart announcement message x min before restart -> SERVER RESTART IN: X MINS  |  (calculated from RESTART_TIMES[])*/
RESTART_ANNOUNCE_X_MIN[] = {1,2,3,5,8,10};

/* SERVER_END_FUNCTION -> #shutdown or #restartserver */
SERVER_END_FUNCTION = "#restartserver";
USE_RESTART_TIMER_SHUTDOWN = "true";
RESTART_WARNING_SOUND = "Alarm";    // for example: Alarm or air_raid

 

Someone know why my server isn´t restarting?

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.