alexandrei07

Server  auto restart do not work Exile 0.9.6 Pomelo + Nalmask

1 post in this topic

Server  auto restart do not work Exile 0.9.6 Pomelo + Nalmask, pease help :)

I followed this tutorial to build a private server:

https://www.dropbox.com/sh/mkouo77efl8jm09/AAAA-24izR6fh0XJugGXlxNYa?dl=0

http://www.exilemod.com/downloads/

https://www.dropbox.com/sh/mkouo77efl8jm09/AABXuLeRxVR5ALpGY6_CZioZa/EXILE%20SERVER%20INSTALLATION%20GUIDE%20V0.9.6.pdf?dl=0


Lauch:Exile Auto Start.bat

@echo off
color 0a
title Exile Monitor
:Serverstart
echo Launching Server
C: 
cd "C:\Arma\Server"
echo Exile Server Monitor... Active !
start "Arma3" /min /wait arma3server.exe -mod=@exile;Kart;Mark;Heli;@Namalsk; -servermod=@exileserver; -
config=C:\Arma\Server\@ExileServer\config.cfg -port=2314 -profiles=SC -cfg=C:\Arma\Server\@ExileServer\basic.cfg -name=SC -
autoinit
ping 127.0.0.1 -n 15 >NUL
echo Exile Server Shutdown ... Restarting!
ping 127.0.0.1 -n 5 >NUL
cls
goto Serverstart

http://prntscr.com/ak9vfq


original config.cpp

......
    class Time
    {
        // Uses Dedicated Server time as ingame Time
        useRealTime = 0;

        // Will overide RealTime
        useStaticTime = 1;

        // time in ARMA FORMAT << CONFIG
        // https://community.bistudio.com/wiki/setDate

        staticTime[] = {2039,10,24,15,30};
    };


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

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

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

......
......


Test modified config.cpp

    class Time
    {
        // Uses Dedicated Server time as ingame Time
        useRealTime = 1;

        // Will overide RealTime
        useStaticTime = 0;

        // time in ARMA FORMAT << CONFIG
        // https://community.bistudio.com/wiki/setDate

        staticTime[] = {2016,3,24,15,30};
    };


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

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

        // 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[] = {1, 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 = 1;

        /*
            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;
    };

...........

Is there a script "setDate" or time format mistake?
 

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.