Question

 

Hi,

I'd like to make several mods mandatory for joining my server. As I understand it, I'm supposed to add the .pbo name contained in an mod into the mission.sqm  "addons=" section.

I've had TRYK and TAC Vests installed for about a month and working great so I want to ensure that they're now mandatory to joining a server. 

The code in the following spoiler was my original mission.sqm addon section prior to trying anything following this:

Spoiler

addons[]=
{
    "exile_client",
    "A3_Ui_F",
    "A3_Structures_F_Mil_Fortification",
    "A3_Structures_F_Walls",
    "A3_Signs_F",
    "extendedbase",
    "A3_Structures_F_Civ_Garbage",
    "A3_Structures_F_Mil_Cargo",
    "A3_Structures_F_Exp_Military_ContainerBases",
    "A3_Structures_F_Mil_BagBunker",
    "A3_Structures_F_EPA_Civ_Constructions",
    "A3_Structures_F_Civ_Camping",
    "A3_Structures_F_Items_Vessels",
    "A3_Structures_F_Ind_Cargo",
    "A3_Structures_F_Civ_Constructions",
    "A3_Structures_F_EPA_Mil_Scrapyard",
    "A3_Structures_F_EPB_Items_Vessels",
    "A3_Characters_F",
    "A3_Weapons_F_Rifles_Khaybar",
    "A3_Weapons_F_Exp",
    "A3_Weapons_F_Acc",
    "A3_Weapons_F",
    "A3_Characters_F_Exp_Headgear",
    "A3_Characters_F_Exp",
    "A3_Weapons_F_Items",
    "A3_Characters_F_Exp_Vests",
    "A3_Modules_F_Curator_Curator",
    "A3_Structures_F_Exp_Commercial_FuelStation_02",
    "A3_Structures_F_Exp_Infrastructure_Airports",
    "A3_Structures_F_Exp_Naval_Canals",
    "A3_Structures_F_Exp_Walls_Concrete",
    "A3_Structures_F_Civ_Lamps",
    "A3_Structures_F_Training",
    "A3_Air_F_Jets_Plane_Fighter_01",
    "A3_Air_F_Exp_Heli_Transport_01",
    "A3_Structures_F_Exp_Naval_Piers"
};

I started by opening the vanilla arma launcher disabling everything except Exile and Extended Base Mod (EBM) and attempting to join. I can load in fine. If I disable EBM then I can't. So that's good. Using that as a starting point for how to go about this I decided to add the names of two .pbo's (one from TAC Vests and TRYK Uniforms) to the addons section. 

Below are screenshots from filezilla showing the relevant names of the .pbo's inside the TAC/TRYK folders:

tac.png

I added the pbo names to the top addons section:

Spoiler

addons[]=
{
    "exile_client",
    "BHD",
    "TRYK_unit",
    "A3_Ui_F",
    "A3_Structures_F_Mil_Fortification",
    "A3_Structures_F_Walls",
    "A3_Signs_F",
    "extendedbase",
    "A3_Structures_F_Civ_Garbage",
    "A3_Structures_F_Mil_Cargo",
    "A3_Structures_F_Exp_Military_ContainerBases",
    "A3_Structures_F_Mil_BagBunker",
    "A3_Structures_F_EPA_Civ_Constructions",
    "A3_Structures_F_Civ_Camping",
    "A3_Structures_F_Items_Vessels",
    "A3_Structures_F_Ind_Cargo",
    "A3_Structures_F_Civ_Constructions",
    "A3_Structures_F_EPA_Mil_Scrapyard",
    "A3_Structures_F_EPB_Items_Vessels",
    "A3_Characters_F",
    "A3_Weapons_F_Rifles_Khaybar",
    "A3_Weapons_F_Exp",
    "A3_Weapons_F_Acc",
    "A3_Weapons_F",
    "A3_Characters_F_Exp_Headgear",
    "A3_Characters_F_Exp",
    "A3_Weapons_F_Items",
    "A3_Characters_F_Exp_Vests",
    "A3_Modules_F_Curator_Curator",
    "A3_Structures_F_Exp_Commercial_FuelStation_02",
    "A3_Structures_F_Exp_Infrastructure_Airports",
    "A3_Structures_F_Exp_Naval_Canals",
    "A3_Structures_F_Exp_Walls_Concrete",
    "A3_Structures_F_Civ_Lamps",
    "A3_Structures_F_Training",
    "A3_Air_F_Jets_Plane_Fighter_01",
    "A3_Air_F_Exp_Heli_Transport_01",
    "A3_Structures_F_Exp_Naval_Piers"
};

I then added the names to the class AddonsMetaData and changed the item= number to 22 to reflect the new number of addons.

Spoiler

class AddonsMetaData
{
    class List
    {
        items=22;
        class Item0
        {
            className="exile_client";
            name="exile_client";
        };
        class Item1
        {
            className="A3_Ui_F";
            name="Arma 3 - User Interface";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item2
        {
            className="A3_Structures_F_Mil";
            name="Arma 3 - Military Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item3
        {
            className="A3_Structures_F";
            name="Arma 3 - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item4
        {
            className="A3_Signs_F";
            name="Arma 3 - Signs";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item5
        {
            className="extendedbase";
            name="extendedbase";
        };
        class Item6
        {
            className="A3_Structures_F_Exp";
            name="Arma 3 Apex - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item7
        {
            className="A3_Structures_F_EPA";
            name="Arma 3 Survive Episode - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item8
        {
            className="A3_Structures_F_Ind";
            name="Arma 3 - Industrial Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item9
        {
            className="A3_Structures_F_EPB";
            name="Arma 3 Adapt Episode - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item10
        {
            className="A3_Characters_F";
            name="Arma 3 Alpha - Characters and Clothing";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item11
        {
            className="A3_Weapons_F";
            name="Arma 3 Alpha - Weapons and Accessories";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item12
        {
            className="A3_Weapons_F_Exp";
            name="Arma 3 Apex - Weapons and Accessories";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item13
        {
            className="A3_Characters_F_Exp";
            name="Arma 3 Apex - Characters and Clothing";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item14
        {
            className="A3_Modules_F_Curator";
            name="Arma 3 Zeus Update - Scripted Modules";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item15
        {
            className="A3_Structures_F_Exp_Commercial";
            name="Arma 3 Apex - Commercial Buildings";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item16
        {
            className="A3_Structures_F_Exp_Infrastructure";
            name="Arma 3 Apex - Infrastructure Objects";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item17
        {
            className="A3_Air_F_Jets";
            name="Arma 3 Jets - Aircrafts";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item18
        {
            className="A3_Air_F_Exp";
            name="Arma 3 Apex - Aircrafts";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item19
        {
            className="extendedbase";
            name="extendedbase";
        };
        class Item20
        {
            className="BHD";
            name="TAC Vests";
        };
        class Item21
        {
            className="TRYK_unit";
            name="TRYK Uniforms";
        };
    };
};

I saved this mission.sqm, repacked the mission file, shut down the server, uploaded the mission file to server and restarted. My server startup command line is @Exile;@TRYK;@TACVESTS;@Extended_Base_Mod -servermod=@ExileServer (this is the same command line that I've been using)

I then went to my arma 3 vanilla launcher, mod section and ensure that TRYK and TAC Vests along with EBM and Exile are enabled. 

1.png

But I am unable to connect to the server and load in. When connecting it will go to the load screen and quickly cycle the quirky messages in the bottom left. 

The rpt reveals the following (full rpt here: https://pastebin.com/ZFYuLzqt ) :

Spoiler

 8:14:11 Conflicting addon TAC_VESTS in 'SOE\', previous definition in 'BHD\'
 8:14:11 Conflicting addon TAC_VESTS in 'USNS\', previous definition in 'BHD\'
 8:14:11 Conflicting addon TAC_VESTS in 'winter\', previous definition in 'BHD\'
 8:14:11 Conflicting addon TAC_VESTS in 'zabb\', previous definition in 'BHD\'
 8:14:11 Conflicting addon TAC_VESTS in 'zabb2\', previous definition in 'BHD\'
 8:14:11 Conflicting addon TRYK_Uniform in 'zara\', previous definition in 'tryk_unit\'

as well as this, which is just repeated over and over:

Spoiler

 8:14:30 Missing addons detected:
 8:14:30   BHD
 8:14:30   TRYK_unit
 8:14:30 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.BHD, TRYK_unit
 8:14:30 Mission exile.tanoa: Missing 'description.ext::Header'
 8:14:30 Connected to Steam servers
 8:14:30 Starting mission:
 8:14:30  Mission file: exile (__cur_mp)
 8:14:30  Mission world: tanoa
 8:14:30  Mission directory: mpmissions\__cur_mp.tanoa\

So I'm unsure what to do. Extended base mod (as displayed in the first spoiler segment) was working fine as a required mod. The only thing I can assume is that the names of the pbo files are creating a problem when entered into the mission.sqm. If anyone can shed some insight into this I'd be grateful. 

Share this post


Link to post
Share on other sites

8 answers to this question

  • 1

depbo your tryk_unit pbo, and in the folder you will see config.bin, open this with eliteness so its readable.

in there you will see something like

class CfgPatches
{
	class TRYK_Uniform
	{
		version = "1.0";
		units[] = {};
		weapons[] = {};
		requiredVersion = "1.1.3";
		requiredAddons[] = {"A3_Characters_F","A3_Characters_F_Beta","A3_Characters_F_Gamma","A3_Characters_F_EPA","A3_Characters_F_EPB"};
	};
};

the class TRYK_Uniform

is what you would add to your mission.sqm addons section.

if you go through each of the config.bin files for each pbo, they will show you each of the classes.

try adding them to your addons

then if you still get the error

Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted

then remove that classname from your mission.sqm and then the error will go away.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Hello FifthManStanding,

One thing I did not see nor hear you mention, is the use of 'Keys'.  Keys are REQUIRED for mods to be 'forced' onto players.  You may have heard of the error of 'Signature Check Failed'.  This is due to keys.

Put your mod in AND the key into the 'Keys' directory and then when a player join, they WILL have to have the EXACT same mod as you RUNNING to be able to join.

:)

 

Share this post


Link to post
Share on other sites
Advertisement
  • 0
6 minutes ago, Z80CPU said:

Hello FifthManStanding,

One thing I did not see nor hear you mention, is the use of 'Keys'.  Keys are REQUIRED for mods to be 'forced' onto players.  You may have heard of the error of 'Signature Check Failed'.  This is due to keys.

Put your mod in AND the key into the 'Keys' directory and then when a player join, they WILL have to have the EXACT same mod as you RUNNING to be able to join.

 

The keys have long been added. To be clear: I'm not just now installing these mods to the server. I've had them for months and working fine. I'm just trying to edit the file to make them mandatory for sign on. 

 

1.png

Share this post


Link to post
Share on other sites
  • 0

They should already be mandatory? You shouldn't be able to join if you don't have the mods. Check in your config what the value of the variable "verifySignatures" is. Change it to 1 if it is 0.

Share this post


Link to post
Share on other sites
  • 0
23 minutes ago, Georgie said:

They should already be mandatory? You shouldn't be able to join if you don't have the mods. Check in your config what the value of the variable "verifySignatures" is. Change it to 1 if it is 0.

No they're added to the server and displayed properly on a3 launcher but you can disable all but exile/EBM and still be able to connect to the server. 

I'm also under the impression that setting verifysignatures to 0 is a bad idea. 

Share this post


Link to post
Share on other sites
  • 0
11 minutes ago, fifthmanstanding said:

No they're added to the server and displayed properly on a3 launcher but you can disable all but exile/EBM and still be able to connect to the server. 

I'm also under the impression that setting verifysignatures to 0 is a bad idea. 

Is it a bad idea, that's why I said change it to 1 if it is 0. That's odd that you can still join the server.. Are you sure your verifySignatures isn't 0?

Share this post


Link to post
Share on other sites
  • 0
34 minutes ago, tinboye said:

depbo your tryk_unit pbo, and in the folder you will see config.bin, open this with eliteness so its readable.

in there you will see something like


class CfgPatches
{
	class TRYK_Uniform
	{
		version = "1.0";
		units[] = {};
		weapons[] = {};
		requiredVersion = "1.1.3";
		requiredAddons[] = {"A3_Characters_F","A3_Characters_F_Beta","A3_Characters_F_Gamma","A3_Characters_F_EPA","A3_Characters_F_EPB"};
	};
};

the class TRYK_Uniform

is what you would add to your mission.sqm addons section.

if you go through each of the config.bin files for each pbo, they will show you each of the classes.

try adding them to your addons

then if you still get the error

Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted

then remove that classname from your mission.sqm and then the error will go away.

Works like a godamn dream.

For anyone else encountering this issue in the future and happens upon this post: Using the method  described above I've added TRYK_Uniform and TAC_VESTS to mission .sqm like so:

Spoiler

addons[]=
{
    "exile_client",
    "TRYK_Uniform",
    "TAC_VESTS",
    "A3_Ui_F",
    "A3_Structures_F_Mil_Fortification",
    "A3_Structures_F_Walls",
    "A3_Signs_F",
    "extendedbase",
    "A3_Structures_F_Civ_Garbage",
    "A3_Structures_F_Mil_Cargo",
    "A3_Structures_F_Exp_Military_ContainerBases",
    "A3_Structures_F_Mil_BagBunker",
    "A3_Structures_F_EPA_Civ_Constructions",
    "A3_Structures_F_Civ_Camping",
    "A3_Structures_F_Items_Vessels",
    "A3_Structures_F_Ind_Cargo",
    "A3_Structures_F_Civ_Constructions",
    "A3_Structures_F_EPA_Mil_Scrapyard",
    "A3_Structures_F_EPB_Items_Vessels",
    "A3_Characters_F",
    "A3_Weapons_F_Rifles_Khaybar",
    "A3_Weapons_F_Exp",
    "A3_Weapons_F_Acc",
    "A3_Weapons_F",
    "A3_Characters_F_Exp_Headgear",
    "A3_Characters_F_Exp",
    "A3_Weapons_F_Items",
    "A3_Characters_F_Exp_Vests",
    "A3_Modules_F_Curator_Curator",
    "A3_Structures_F_Exp_Commercial_FuelStation_02",
    "A3_Structures_F_Exp_Infrastructure_Airports",
    "A3_Structures_F_Exp_Naval_Canals",
    "A3_Structures_F_Exp_Walls_Concrete",
    "A3_Structures_F_Civ_Lamps",
    "A3_Structures_F_Training",
    "A3_Air_F_Jets_Plane_Fighter_01",
    "A3_Air_F_Exp_Heli_Transport_01",
    "A3_Structures_F_Exp_Naval_Piers"
};
class AddonsMetaData
{
    class List
    {
        items=19;
        class Item0
        {
            className="exile_client";
            name="exile_client";
        };
        class Item1
        {
            className="A3_Ui_F";
            name="Arma 3 - User Interface";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item2
        {
            className="A3_Structures_F_Mil";
            name="Arma 3 - Military Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item3
        {
            className="A3_Structures_F";
            name="Arma 3 - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item4
        {
            className="A3_Signs_F";
            name="Arma 3 - Signs";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item5
        {
            className="extendedbase";
            name="extendedbase";
        };
        class Item6
        {
            className="A3_Structures_F_Exp";
            name="Arma 3 Apex - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item7
        {
            className="A3_Structures_F_EPA";
            name="Arma 3 Survive Episode - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item8
        {
            className="A3_Structures_F_Ind";
            name="Arma 3 - Industrial Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item9
        {
            className="A3_Structures_F_EPB";
            name="Arma 3 Adapt Episode - Buildings and Structures";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item10
        {
            className="A3_Characters_F";
            name="Arma 3 Alpha - Characters and Clothing";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item11
        {
            className="A3_Weapons_F";
            name="Arma 3 Alpha - Weapons and Accessories";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item12
        {
            className="A3_Weapons_F_Exp";
            name="Arma 3 Apex - Weapons and Accessories";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item13
        {
            className="A3_Characters_F_Exp";
            name="Arma 3 Apex - Characters and Clothing";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item14
        {
            className="A3_Modules_F_Curator";
            name="Arma 3 Zeus Update - Scripted Modules";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item15
        {
            className="A3_Structures_F_Exp_Commercial";
            name="Arma 3 Apex - Commercial Buildings";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item16
        {
            className="A3_Structures_F_Exp_Infrastructure";
            name="Arma 3 Apex - Infrastructure Objects";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item17
        {
            className="A3_Air_F_Jets";
            name="Arma 3 Jets - Aircrafts";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
        class Item18
        {
            className="A3_Air_F_Exp";
            name="Arma 3 Apex - Aircrafts";
            author="Bohemia Interactive";
            url="https://www.arma3.com";
        };
    };
};

and it works perfectly. To test, I disabled TRYK and TACVESTS on arma's standard launcher and tried to load in, it spits back the "mission is dependent on content that has been deleted" and prevents you from logging on. 

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.