Jump to content
MacGynan

CfgPatches mission start error

Recommended Posts

Hi, ive created my own mod and whenever i load into a game i get this error: B54A5933C27DE53472E0BDB864801AA0B0C897C9

[]: 'bin config.bin/CfgPatches/btac_helmets/' not an array

Here is the CfgPatches area of my mod:

class CfgPatches
{
	class btac_helmets
	{
		units[]={};
		weapons[]={""};
		requiredAddons[]={"A3_Characters_F"};
		version="1.0.0";
		author[]=
		{
			"MacGynan"
		};
		authorUrl="http://steamcommunity.com/id/MacGynan";
	};
};

Also the PBO is called "btac_helmets". Some help explaining this error would be appreciated. The mod still works it just really annoying to have this script error on mission startup.

  • Like 1

Share this post


Link to post
Share on other sites

Need to post your config 

Share this post


Link to post
Share on other sites
class CfgPatches
{
	class btac_helmets
	{
		units[]={};
		weapons[]={};
		requiredAddons[]={"A3_Characters_F"};
		version="1.0.0";
		author[]=
		{
			"MacGynan"
		};
		authorUrl="http://steamcommunity.com/id/MacGynan";
	};
};

class cfgWeapons
{
	//SpankThatSauce
	class rhsusf_hgu56p_black; //Thanks KokaKolaA3 on the BI forums! https://forums.bohemia.net/profile/1050647-kokakolaa3/
    class btac_spank_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="Hay Spank";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\spank_V1_hgu56_blk_co.paa"};
	};	

	class rhsusf_hgu56p_visor_black;
	class btac_spank_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank/Visor)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="Hay Spank";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\spank_V1_hgu56_blk_co.paa"};
	};
	
	class rhsusf_hgu56p_mask_black;
	class btac_spank_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank/Mask)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="Hay Spank";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\spank_V1_hgu56_blk_co.paa"};
	};
	
	class rhsusf_hgu56p_visor_mask_black;
    class btac_spank_4: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank/Visor/Mask)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="Hay Spank";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\spank_V1_hgu56_blk_co.paa"};
	};
//MacGynan
    class btac_mac_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Mac Black)"; 
		author="MacGynan";
		descriptionShort="My Face, It's Exposed!";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\mac_hgu56_blk.paa"};
	};	

	class btac_mac_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Mac Black/Visor)"; 
		author="MacGynan";
		descriptionShort="FUCK YEA";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\mac_hgu56_blk.paa"};
	};
	
	class btac_mac_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Mac Black/Mask)"; 
		author="MacGynan";
		descriptionShort="My EYES... I'M BLIND";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\mac_hgu56_blk.paa"};
	};
	
	class btac_mac_4: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Mac Skull/Mask)"; 
		author="MacGynan";
		descriptionShort="Bonny";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\mac_hgu56_blk_skull.paa"};
	};
	
    class btac_mac_6: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Mac Black/Visor/Mask)"; 
		author="MacGynan";
		descriptionShort="[  HIDDEN  ]";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\mac_hgu56_blk.paa"};
	};
	
    class btac_mac_7: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Mac Skull/Visor/Mask)"; 
		author="MacGynan";
		descriptionShort="OOOp, we have a BADASS HERE";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\mac_hgu56_blk_skull"};
	};
//B|TAC	
	class btac_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (B|TAC)"; 
		author="MacGynan";
		descriptionShort="GET YOUSELF A CUSTOM HELMET, Call MacGynan... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk.paa"};
	};
	
    class btac_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (B|TAC/Visor)"; 
		author="MacGynan";
		descriptionShort="GET YOUSELF A CUSTOM HELMET, Call MacGynan... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk.paa"};
	};

	class btac_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (B|TAC/Mask)"; 
		author="MacGynan";
		descriptionShort="GET YOUSELF A CUSTOM HELMET, Call MacGynan... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk.paa"};
	};
	
	class btac_4: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (B|TAC/Visor/Mask)"; 
		author="MacGynan";
		descriptionShort="GET YOUSELF A CUSTOM HELMET, Call MacGynan... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk.paa"};
	};
// B|TAC Skull	
	class btac_5: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (B|TAC Skull/Mask)"; 
		author="MacGynan";
		descriptionShort="GET YOUSELF A CUSTOM HELMET, Call MacGynan... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk_skull.paa"};
	};
	
	class btac_6: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (B|TAC Skull/Visor/Mask)"; 
		author="MacGynan";
		descriptionShort="GET YOUSELF A CUSTOM HELMET, Call MacGynan... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk_skull.paa"};
	};
// Trainee
	class btac_trainee_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Trainee)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="WARNING, NOOB";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk_trainee.paa"};
	};
	
    class btac_trainee_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Trainee/Visor)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="WARNING, NOOB";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk_trainee.paa"};
	};

	class btac_trainee_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Trainee/Mask)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="WARNING, NOOB";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk_trainee.paa"};
	};
	
	class btac_trainee_4: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Trainee/Visor/Mask)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="WARNING, NOOB";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_hgu56_blk_trainee.paa"};
	};
// RHS NukaCola
	class btac_rhs_nuka_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Nuka)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="It, Just WORKES - Todd Howard";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_cola_co.paa"};
	};
	
    class btac_rhs_nuka_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Nuka/Visor)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="It, Just WORKES - Todd Howard";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_cola_co.paa"};
	};

	class btac_rhs_nuka_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Nuka/Mask)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="It, Just WORKES - Todd Howard";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_cola_co.paa"};
	};
	
	class btac_rhs_nuka_4: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Nuka/Visor/Mask)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="It, Just WORKES - Todd Howard";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_cola_co.paa"};
	};
// RHS Rebel
	class btac_rhs_rebel_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Rebel)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="That's no moon!  It's JOHN CENA! Da, da ,daaaa... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_x_co.paa"};
	};
	
    class btac_rhs_rebel_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Rebel/Visor)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="That's no moon!  It's JOHN CENA! Da, da ,daaaa... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_x_co.paa"};
	};

	class btac_rhs_rebel_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Rebel/Mask)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="That's no moon!  It's JOHN CENA! Da, da ,daaaa... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_x_co.paa"};
	};
	
	class btac_rhs_rebel_4: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (RHS Rebel/Visor/Mask)"; 
		author="MacGynan, Red Hammer Studios";
		descriptionShort="That's no moon!  It's JOHN CENA! Da, da ,daaaa... LOL";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\rhs_hgu56_x_co.paa"};
	};
};

 

Share this post


Link to post
Share on other sites

looks alright

 

1. try to use pboproject to create the pbo

2. check the rpt for other errors

3. - " - for old stale versions of the pbo getting loaded instead

4. upload your pbo (just with config inside is enough)

Share this post


Link to post
Share on other sites
1 hour ago, .kju said:

looks alright

 

1. try to use pboproject to create the pbo

2. check the rpt for other errors

3. - " - for old stale versions of the pbo getting loaded instead

4. upload your pbo (just with config inside is enough)

Here is the entire PBO. https://drive.google.com/open?id=1Vk5vZMCvjyACtuo3K76u6mng2l4ZkyPK

 

and will try the other 3 options

Share this post


Link to post
Share on other sites
22 minutes ago, MacGynan said:

Here is the entire PBO. https://drive.google.com/open?id=1Vk5vZMCvjyACtuo3K76u6mng2l4ZkyPK

 

and will try the other 3 options

pboproject didnt want to selcet my mod folder to PBO.

Here are the RPT file if you want to have a look. https://drive.google.com/open?id=19DryXwHpBCwtcbxgjt8jeNgUUElBeU8F 

looks normal to me.

Share this post


Link to post
Share on other sites

 

On 5/10/2018 at 12:27 PM, m1lkm8n said:

So you are not using pboproject?

Im using the A3 Tools one. Not the standalone app.

Share this post


Link to post
Share on other sites

Isn't author no longer considered an array? So instead of author[] = ... use auther = "MacGynan";

  • Like 1

Share this post


Link to post
Share on other sites
13 hours ago, MacGynan said:

 

Im using the A3 Tools one. Not the standalone app.

 

Dont do that. If you want to mod use pboproject. It will save you countless hours with its extensive error checking. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×