Jump to content

He-Man

Developer
  • Posts

    808
  • Joined

  • Last visited

  • Days Won

    63

Posts posted by He-Man

  1. Okay, here the for my opinion better solution:

    Init.sqf:

    Spoiler

    if (hasinterface) then {
        [] spawn {
            // Put here all Client Codes, that can run before Player is full loaded in
            // [] execVM "MyOwnPlayerInit.sqf";
            
            // Wait until Player is full loaded ingame
            waituntil {!isNull player};
            waituntil {time > 25};
            waituntil {isPlayer player};
            waituntil {alive player};
            waituntil {getPlayerUID player != ''};
            waitUntil {!isNull (findDisplay 46)};
            waituntil {typeof player in ["Epoch_Male_F","Epoch_Female_F"]};
            waituntil {!isNil "Epoch_my_GroupUID"};
            uisleep 2;
            // Put here all Client Codes, that have to run after player is full ingame
            [] execVM "briefing.sqf";
        };
    };

    And remove ALL waituntil from your briefing.sqf !!!

  2. But keep in mind that in stock config, the Gates and Doors are not indestructible.

    If you also want them indestructible:

    Spoiler
    ExceptedBaseObjects[] = { // Not Indestructible, also if in a Class of IndestructibleBaseObjects
    // "CinderWallGarage_EPOCH",
    // "WoodLargeWallDoorL_EPOCH",
    // "WoodLargeWallDoor_EPOCH",
    // "WoodWall4_EPOCH"
      };

     

  3. 4 hours ago, Cubitron said:

    Hello

    i get this Error, spawn only in grass

     

    11:41:22 Error in expression <en","",[""]]];
    if([_player,_token] call EPOCH_server_getPToken)then{
    _this call >
    11:41:22   Error position: <EPOCH_server_getPToken)then{
    _this call >
    11:41:22   Error Undefined variable in expression: epoch_server_getptoken
    11:41:22 File epoch_server\compile\epoch_player\EPOCH_fnc_savePlayer.sqf, line 16

     

    and this

    "Epoch: Server DLL mismatch! Current:  Needed: 0.5.1.8"

     

    i have Windows root 2012

    Have you started the Server with x64? Then you also have to take the new dll's from the experimental!

  4. 18 hours ago, Bandus said:

    Greetings! Recently, I attempted to install and setup an Arma 3 server for Epoch. My issue is that the server does not appear in the server list and cannot be connected to directly, but I am not sure why. 

    As far as I am aware I have followed all the instructions for installation/setup properly. I have forwarded ports 2302-2303 (for the game itself) and 6379 (for redis).

    EpochServer2.png.f1054e2ad2bce19380513dd5a4e1de31.png

     

    When I attempt to launch the server I receive the following:

    EpochServer.thumb.png.614115cf2082d771efcad7099c5f1f9e.png

     

    My config files appear as follows:

     

      Reveal hidden contents

    // EPOCH SERVER CONFIG

    // GLOBAL SETTINGS
    hostname            = "MAGDY Epoch";
    password             = "******";
    passwordAdmin          = "******";
    serverCommandPassword = "******";
    logFile                = "A3Master.log";
    verifySignatures       = 2;
    BattlEye            = 1;
    requiredBuild = 136470;

    // WHITELIST FILE TYPES
    allowedLoadFileExtensions[] = {:};
    allowedPreprocessFileExtensions[] = {"sqf"};
    allowedHTMLLoadExtensions[] = {"html"};

    disconnectTimeout = 10; // default 90

    // WELCOME MESSAGE ("message of the day")
    // It can be several lines, separated by comma
    // Empty messages "" will not be displayed at all but are only for increasing the interval

    motd[] = {
        "Welcome to MAGDY Epoch!",
        "Server hosted by Magnetar Dynamics"
    };
    motdInterval = 5;               // Time interval (in seconds) between each message

    // JOINING RULES
    maxPlayers = 10;        // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.

    // VOTING
    voteMissionPlayers    = 200;    // Prevents Votes.
    voteThreshold        = 2; // Prevents Votes.
    // DISALLOW VOTING since 1.39
    allowedVoteCmds[] = {};
    allowedVotedAdminCmds[] = {};

    // INGAME SETTINGS
    disableVoN    = 0;            // If set to 1, Voice over Net will not be available
    vonCodecQuality = 30;       // Quality from 1 to 30
    forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
    persistent    = 1;            // If 1, missions still run on even after the last player disconnected.

    // MISSIONS CYCLE (see below) (epoch.Altis, epoch.Stratis, epoch.Chernarus, epoch.Bornholm)
    class Missions
    {
        class Epoch {
            template = epoch.Altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER
            difficulty = "custom";    // difficulty settings: Recruit, Regular Veteran, Custom
        };
    };

    kickDuplicate = 1;
    equalModRequired = 0;
    requiredSecureId = 2;
    timeStampFormat = "short";

    // SCRIPTING ISSUES
    onUserConnected = "";
    onUserDisconnected = "";
    doubleIdDetected = "";

    // SIGNATURE VERIFICATION
    onUnsignedData = "kick (_this select 0)";    // unsigned data detected
    onHackedData =     "kick (_this select 0)";    //"ban (_this select 0)"; // tampering of the signature detected
    onDifferentData = "kick (_this select 0)";

     

     

      Reveal hidden contents

     

    [EpochServer]
    BattlEyePath = C:\Arma3Server\server\battleye
    InstanceID = NA123
    LogAbuse = 1
    LogLimit = 999
    IP = 47.187.119.234
    Port = 2306
    Password = *******

    [Redis]
    IP = 127.0.0.1
    Port = 6379
    DB = 0
    Password = *******

    [SteamAPI]
    Logging = 0
    Key =
    VACBanned = 0
    VACMinimumNumberOfBans = 0
    VACMaximumDaysSinceLastBan = 0
    PlayerAllowOlderThan = 0

     

      Reveal hidden contents

     

    RConPort 2306
    RConPassword ********

    MaxCreateVehiclePerInterval 72 1
    MaxSetPosPerInterval 2 1
    MaxSetDamagePerInterval 36 1
    MaxAddBackpackCargoPerInterval 12 1
    MaxAddMagazineCargoPerInterval 96 1
    MaxAddWeaponCargoPerInterval 24 1
    MaxDeleteVehiclePerInterval 48 1
    MaxAttachToPerInterval 4 1

     

     

      Reveal hidden contents

     

    arma3server.exe -mod=@Epoch; -serverMod=@Epoch;@EpochHive; -config=C:\arma3server\server\SC\server.cfg -ip=192.168.1.136 -port=2302 -profiles=SC -cfg=C:\arma3server\server\SC\basic.cfg -name=SC -autoInit

     

    If anyone has any suggestions, I would appreciate it!

     

     

     

     

     

     

     

    Have you forgotten to mark the ports as active?

  5. I think the main "problem" is, that you have really a lot of addons and all of these are starting directly on server startup.

    Better would be to start one addon after the other.

    The most important is to wait for Epoch to finish with loading.

    First try to add in all your addons:

    waituntil {!isnil "EPOCH_SERVER_READY"};

    You also can add additional delays to all your scripts, so they will start one by one and not all at the same time.:

    uisleep 20;

    It is a long way to get a Server performant running and you need some experience in scripting.

    And you say you are running blckeagles and A3EAI with 13 Patrols. How much AI are in one Patrol? We try to have max 15 Ai over all on the Server! Don't go above 20 Ai at the same time!

     

    In our beginning we also put all in, what we have found.

    But not every script in the Community is written well.

    Some of them slows down the server extreme...

     

    For me the good old SEM Mission Script has a really good performance (ok, not the best features).

     

    I'm sorry, that I can not give you the one answer for a better performance, but I hope these are some tips that can help you to find some problematic settings / scripts.

  6. Seems your server is not complete loaded. Have you tried it one or two minutes later again?

    And you have a wrong syntax in your "adminMenu_Owner"-Array in epochnah.hpp:

    1. 9:59:06 Error in expression <  = [];
    2. {
    3. _skn_adminUIDArray pushBack(_x select 0);
    4. _skn_adminNAMEArray pushBack(>
    5.  9:59:06   Error position: <select 0);
    6. _skn_adminNAMEArray pushBack(>
     
     
    Check the example in the bottom of this file:
     
    adminMenu_Owner[] = {
        {"STEAMID64","ADMINNAME1"},
        {"STEAMID64","ADMINNAME2"},
        {"STEAMID64","ADMINNAME3"} //<- No comma on the last entry
    };
     
    Have you changed any other settings / scripts?
×
×
  • Create New...