• 0
Johnny82

Infistar v0079

Question

Hi,

Very quick one. Does the updated version of infistar give restart warnings? Havent seen one yet since I updated the other day and I noticed the restart warning annoucment section is missing from the exile ahat config.cpp

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

so latest version is v0073

It does indeed have warnings, the section is just slightly modified:

Spoiler


class infiSTAR_RESTART_SYSTEM {
	enableSystem = "true";

	USE_RESTART_TIME_IN_M = "true";
	RESTART_TIME_IN_M = 180;				/* restart time in minutes (default: 180min == 3 hours) */
	TIME_FUNCTION_USED = "diag_tickTime";	/* diag_tickTime (starts with arma3server.exe), time (starts with mpmission init) */


	USE_RESTART_FIXED_TIME_ARRAY = "false";
	RESTART_TIMES[] = {	/* {hour,minute} .. put in the times when your server is supposed to restart (real time). */
		{00,00},
		{02,00},
		{04,00},
		{06,00},
		{08,00},
		{10,00},
		{12,00},
		{14,00},
		{16,00},
		{18,00},
		{20,00},
		{22,00}
	};


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

 

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
  • 0

I have not used infistar's built in restart feature, I have used the built in function from exile under exile_server_config.pbo under config.cpp

Spoiler

class RCON
	{
		/*
			Note that for this to work you need to have serverCommandPassowrd defined in config.cfg and BE enabled
		*/

		// This needs to match config.cfg serverCommandPassword
		serverPassword = "";

		// Autolocks server until its ready to accept players
		useAutoLock = 1;

		// Server will autoLock at that time before restart (minutes)
		restartAutoLock = 3;

		/*
			Number of hours and minutes of your restart period.

			Examples:

			{4, 0} = Every 4 hours
			{1, 30} = Every one and a half hour (who the hell would do this?)
		*/
		restartTimer[] = {3, 0};

		/*
			Kicks players before restart to prevent gear loss.
			We strongely recommend to use this!

			0 = off
			1 = on
		*/
		useAutoKick = 1;

		/*
			Number of minutes before the server kicks players that did
			not disconnect before the restart. Should at least be two
			minutes!
		*/
		kickTime = 2;

		/*
			Self-explanatory

			0 = off
			1 = on
		*/
		useRestartMessages = 0;

		/*
			Number of minutes before the restart to inform your players.

			Only use full minutes here. Value like 5.5 have not been tested.
		*/
		restartWarningTime[] = {15, 10, 5, 3}; 

		/* 
			If set to 1 server will execute '#shutdown',
			to try to shutdown the server
		*/

		useShutdown = 1;
	};

 

you can probably use this and be fine, if the built in warnings isn not good enough, then turn off warnings, and use:

 

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

  • Recently Browsing   0 members

    No registered users viewing this page.