Jump to content

hurtz

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by hurtz

  1. Seems your inbox is full horbin so i put it here

     

    Using Firedaemon
    Headless Client
    Executable C:\Servers\RGGServer5\ARMA3\HCserver.exe
    Params -client -connect=127.0.0.1 -mod="@Epoch;" -nosound

    HC server IP is 127.0.0.1 as it's on the same box.
    Is there anywhere you need to specify the port that the HC client connects to? I have another server running on 2302 but this test setup arma3server.exe is on 2505

    Im running the hcserver.exe in the same dir as arma3server.exe is that ok or do you have to make a whole new server folder/instance?

    config.cfg Added 3 lines to the bottom per instructions
    // EPOCH SERVER CONFIG

    // GLOBAL SETTINGS
    hostname            = "myservername";
    password             = "";
    passwordAdmin          = "";
    logFile                = "A3Master.log";
    verifySignatures       = 2;
    BattlEye            = 1;
    requiredBuild = 130231;

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

    // 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",
        "Have fun and play fair"
    };
    motdInterval = 5;               // Time interval (in seconds) between each message

    // JOINING RULES
    maxPlayers = 100;        // 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 = 20;       // 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 = "veteran";    // difficulty settings: veteran == NORMAL, mercenary == HARDCORE
        };
    };

    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)";

    localClient[]={127.0.0.1};
    headlessClients[] = {"127.0.0.1"};
    battleyeLicense=1;

  2. Can't get HC_HAL to connect:

     

    Can someone explain what I have to do to change this to slot 80 for an 80 player server?  Can someone explain the two notes on the bottom regarding this?

     

    Do i change the Item = 100 to item = 80 or change the id=80?

     

    I should see HC_Hal via rcon right?

    2) modify mission.sqm file.
     a. Locate:
          class Groups
          {
            items = 100;
            class Item0
            {
    
     b. Change the contents of 'class Item0' to the following:
     	class Item0
    	{
                side="LOGIC";
                class Vehicles
                {
                    items=1;
                    class Item0
                    {
                        position[]={10720.502,12.714643,11356.243};
                        id=100;
                        side="LOGIC";
                        vehicle="HeadlessClient_F";
                        player="PLAY CDG";
                        init="this enableSimulation false; this allowDamage false";
                        leader=1;
                        skill=0.60000002;
                        text="HC_HAL";
                    };
                };
    	};
    
    Note: HC_HAL will be used as the HC's name in game. This is the name you will be able to use to 'kick' the HC if needed.
    Note: Placing the HC in the 1st slot will disable the 'slots' view on the left of the Lobby. Players in game will still show in the right panel of the lobby.  If you want the 'slots' to show up, the above code can be placed at 'class item100'. Just make sure to also set 'items=101'.
    
  3. I also add !="KeyDown" to a couple of lines in scripts.txt.  This was to fix BE error 59 kick when AI kills you.

     

    added !="KeyDown" to:

    displayAddEventHandler

    displayRemoveEventhandler

     

    Also added !="cmEarplugs_hotkeyDIKCodeNumber"  as mentioned by computermancer above.

     

    All sorted I hope

  4. Got the schedule working and server restarts are working.  Trying to figure out how to restart bec at the same time as arma3server via firedaemon using post service but it won't start.  Hmm do i need a bat file?  Right now i have a post service setup to start bec.exe 30 seconds after the server starts but it don't fire up.

     

    I guess what I need to know now is how you guys are shutting down / starting up BEC along with the automatic restarts via the scheduler.xml and firedaemon?

     

     

    Right now this is how mine is working

    • Redis Starts via firedaemon service
    • Arma3server.exe starts via firedaemon service
    • BEC stats via firedaemon service
    • Scheduler.xml does it's thing
    • arma3server.exe process terminates
    • Firedaemon auto starts the Arma3server.exe service

    How do I now restart bec so that the schedule restarts?

×
×
  • Create New...