Sign in to follow this  
Whitey

Database Error (Solved)

18 posts in this topic

@aNNDREH

Ich glaube ich mach das schon über die Server config. O.o

Exile Server Config:

Spoiler

// 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, 58};

        /*
            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. 
            If set to 0, it will execute '#restart'
        */

        useShutdown = 0;
    };

Exile_Ahat_Config.hpp:

Bei Infi hab ich es auf false.

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

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

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

    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},
        {04,00},
        {08,00},
        {12,00},
        {16,00},
        {20,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 */

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

Dachte ich mache ihn wie bei meinen anderen Servern früher über Infistar. :|

Aber ich habe die Action Shutdown in der ServerConfig auf 0 (#restart) und beim Infi auf True.

Denke ich sollte die wohl ändern, oder???

Sprich in der ServerConfig auf 1 (#shutdown) und beim Infistar auf false.

Edit:

Habe es jetzt mal geändert das es nur über die ServerConfig läuft, nur die Restart Messages über Infistar.

Mal kucken ob es jetzt funktioniert.

Ist nur komisch das diese Einstellungen bis zum Arma Update reibungslos funktionierten. :S

Edited by Whitey

Share this post


Link to post
Share on other sites
Advertisement

So Resümee zu den Änderungen.

Wenn ich es nur über die ServerConfig mache restartet der Server  gar nicht mehr sondern läuft durch.

Da ist doch der Wurm drin.

ServerConfig Einstellung:

Spoiler

        // 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, 58};

        /*
            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. 
            If set to 0, it will execute '#restart'
        */

        useShutdown = 1;
    };

Infistar Einstellung:

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

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

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

    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},
        {04,00},
        {08,00},
        {12,00},
        {16,00},
        {20,00}
    };

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

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

Muss ich wohl wieder umstellen bzw. lass ich mal alles über Infistar laufen.

Ich werde euch dann morgen berichten ob er normal gestartet hat oder nicht.

Edited by Whitey

Share this post


Link to post
Share on other sites

So also jetzt dürfte der Restart klappen.

Datenbankproblem ist anscheinend auch weg und der Server ist auch offen.

Lasse jetzt alles über Infistar laufen.

Aber eines ist noch wo ich nicht weis ob es früher oder später Probleme verursacht.

Und zwar bemängelt er meine updatearmalog.dll.

Spoiler

12:02:08 CallExtension loaded: updatearmalog (C:\SERVICES\ni389555_1_SHARE\ftproot\arma3\@infiSTAR_Exile\updatearmalog.dll) []

12:02:08 "<infiSTAR.de> updatearmalog callExtension: [13.03.2019][12:02:08] Downloaded and installed new armalog.dll"

Aber ich denke ich weis wo ich die her bekomme.

Muss mir wohl die aktuelle Infistar Version runter laden dann sollte das doch behoben sein.

Share this post


Link to post
Share on other sites

Was ich merkwürdig finde das du sagst du hast Infistar Restart deaktivert aber trotzdem noch

class infiSTAR_RESTART_SYSTEM {
    enableSystem = "true";

drin steht.

Die einstellungen würde ich dir empfehlen da du ja Nitrado Server gemietet hast.

USE_SHUTDOWN = "false";
SERVER_END_FUNCTION = "#restartserver ";    /* SERVER_END_FUNCTION -> #shutdown or #restartserver */

 

Schön wäre wenn irgendjemand mal das ausgeklammerte lesen würde :(

An dieser Stelle bin ich raus ...

 

Share this post


Link to post
Share on other sites

@aNNDREH

Das war auf true wegen der Restart Messages da die über die Config nicht gingen, warum auch immer.

Jedenfalls läuft jetzt alles über Infi und funkt auch wieder.

Infistar Einstellungen:

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

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

    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},
        {04,00},
        {08,00},
        {12,00},
        {16,00},
        {20,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 */

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

Kannst du mir kuez schreiben warum Restart und nicht shutdown?

 

Weil El Rabito meinte ja auf seite 1:

"Nochmal, benutze #shutdown anstatt #restart und starte die server exe mit einer .bat neu."

Lg Whitey

Edited by Whitey

Share this post


Link to post
Share on other sites

Ja aber du hast ja einen Gameserver gemietet und somit bringt dir der Shutdown nichts, zumindestens glaube ich nicht das Nitrado dort was eingerichtet hat um eine Batch einzurichten. Da ich einen dedicated Rootserver besitze nutze ich Shutdown plus Batch Datei. Aber solang es geht wunderbar

Share this post


Link to post
Share on other sites

Any fix for non infistar users?

 

Fixed in the end

Edit: Our server hosts fixed this their end by deleting the whole arma 3 add-on root folder, and used steam update tool to fix it all

Edited by Sgt Smash

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.