Sign in to follow this  
Syarho

Server restart

1 post in this topic

Why my server on 15-00 make 2 restart? rpt logs ( i use infistar restart system)
15-00-26 --> https://pastebin.com/2N6vdzw9
 

15-01-21 --> https://pastebin.com/PB4F6Dsi

server config about restart

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 = "hidden";

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

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

        /*
            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 = 0;

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

        /*
            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,4,3,2,1};

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

        useShutdown = 0;
    };


infistart restart config

Spoiler

class infiSTAR_RESTART_SYSTEM {
    enableSystem = "true";

    /*
        Locks the server when it starts, adds an eventhandler that kciks all players "on join" until the mpmission is initiated.
        That was the server can start up more properly and "build" all bases before the first players get in..
    */
    LOCK_ON_RESTART = "true";

    /*
        I would recommend to use USE_RESTART_TIME_IN_M = "true"; instead of USE_RESTART_FIXED_TIME_ARRAY
    */
    USE_RESTART_TIME_IN_M = "false";

    /*
        Restart time in minutes (default: 180min == 3 hours)
    */
    RESTART_TIME_IN_M = 180;

    /*
        diag_tickTime (starts with arma3server.exe), time (starts with mpmission init)
    */
    TIME_FUNCTION_USED = "time";

    USE_RESTART_FIXED_TIME_ARRAY = "true";
    RESTART_TIMES[] = {    /* {hour,minute} .. put in the times when your server is supposed to restart (real time). */
        {00,00},
        {03,00},
        {06,00},
        {09,00},
        {12,00},
        {15,00},
        {18,00},
        {21,00}
    };

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

    LOCK_MIN_BEFORE_SHUTDOWN = 3;                /* Locks the server x min before it gets shutdown */
    RESTART_IN_X_ARRAY[] = {15,10,5,4,3,2,1};    /* Announce the a restart x mins before it happens (x stands for each number) */
};


extdb3 logs

Spoiler

extDB3: Found extdb3-conf.ini
extDB3: Detected 12 Cores, Setting up 6 Worker Threads
extDB3: ...
extDB3: ...
extDB3: ...
extDB3: ...
extDB3: ...
extDB3: ...


[15:02:14:167129 +01:00] [Thread 11888] extDB3: Locked

 

 

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.