Sign in to follow this  
Emerghency

Infistar restarts

6 posts in this topic

having a weird bug with the infistar restart messages.

/* 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[] =
{
    {07,00},
    {11,00},
    {15,00},
    {19,00},
    {23,00},
    {03,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 announcement message x min before restart -> SERVER RESTART IN: X MINS  |  (calculated from RESTART_TIMES[])*/
RESTART_ANNOUNCE_X_MIN[] = {1,2,5,10,15,30};

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


are my current settings to restart every 4 hours, beginning at 12 am est. however it simply doesnt happen and at 11 pm i actually had two messages that popped up at the same time saying "10 minutes until restart" and "2 minutes until restart"

Share this post


Link to post
Share on other sites

This is just for a timer. This won't actually restart your server unless you enable the shutdown also. If you do that you need to have something running that will bring your server backup.

Share this post


Link to post
Share on other sites
Advertisement
11 minutes ago, Beowulfv said:

This is just for a timer. This won't actually restart your server unless you enable the shutdown also. If you do that you need to have something running that will bring your server backup.

Im aware, i have the restarts configured properly, its the warnings im trying to use.

Share this post


Link to post
Share on other sites
USE_RESTART_TIMER_SHUTDOWN = "false";

  set that to

USE_RESTART_TIMER_SHUTDOWN = "true"; 

in the EXILE_AHAT_CONFIG.hpp

Then in the same file find

SERVER_END_FUNCTION = "#shutdown";

and change that to

SERVER_END_FUNCTION = "#restartserver";

 

Edited by Cloud22

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  

  • Recently Browsing   0 members

    No registered users viewing this page.