Jump to content
Pansarskytte

"Member already defined" Error.

Recommended Posts

File: "mod name" \Cfgpatches.hpp, line 215: Member already defined.

Can someone help me to put it right? By writing here or modify the text, i'm so green to this.

Thank you. 

The link for the PBO:

https://www.dropbox.com/scl/fi/doyfkx4fbsjrxlioqztc8/bcdf.pbo?rlkey=1paabs0dl2v4xqyts2rjgaoq5&st=786rxej3&dl=0

Share this post


Link to post
Share on other sites

Go to line 215 and see what is defined there. 

The fact it says cfgPatches makes me think you've not closed out your cfgPatches section properly.

Post a link to the config (on codedump or something similar) and not the PBO (which is worthless if it doesn't work, and its just more steps for someone to have to download the pbo, unpack it and then check the config).

Share this post


Link to post
Share on other sites
20 hours ago, Jackal326 said:

Go to line 215 and see what is defined there. 

The fact it says cfgPatches makes me think you've not closed out your cfgPatches section properly.

Post a link to the config (on codedump or something similar) and not the PBO (which is worthless if it doesn't work, and its just more steps for someone to have to download the pbo, unpack it and then check the config).



https://www.codedump.xyz/js/ZrZtEpCgeqXUzheU here it is!

Share this post


Link to post
Share on other sites

Why do you have two separate cfgPatches sections with the same class name and exact same contents? And your required addons seem a little....excessive....

The following should work:

Spoiler

 


class CfgPatches 
{
	class B_CDF 
	{
        	units[] = 
			{
           			"B_CDF_Rifleman_01",
            		"B_CDF_Rifleman2_01",
            		"B_CDF_Rifleman3_01",
            		"B_CDF_Rifleman4_01",
            		"B_CDF_Rifleman4_02",
            		"B_CDF_Rifleman5_01",
            		"B_CDF_Rifleman6_01",
            		"B_CDF_Rifleman7_01",
            		"B_CDF_Rifleman8_01",
            		"B_CDF_Rifleman9_01",
            		"B_CDF_Rifleman10_01",
            		"B_CDF_Rifleman11_01",
            		"B_CDF_MG1_01",
            		"B_CDF_mg2_01"
        	};
        	weapons[] = {};
        	requiredVersion = 1.62;
        	requiredAddons[] = 
			{
            		"B_gsc",
            		"USMC_BUS",
            		"B_UA",
            		"CDF_2020",
            		"CFP_B_USRANGERS_WDL",
            		"tsp_faction",
            		"A3_Characters_F",
            		"tweed_aegis_21_units",
            		"tweed_aegis_21_units_jca",
            		"universal_uniforms",
            		"tweed_aegis_21_units_aegis",
            		"7r_pmc",
            		"A3_Aegis_Characters_F_Aegis",
            		"cfp_uniforms",
            		"CUP_Creatures_Military_BAF",
            		"CUP_Creatures_Military_Germany",
            		"CUP_Creatures_Military_NAPA",
            		"CUP_Creatures_Military_PMC",
            		"CUP_Creatures_Military_Taki",
            		"CUP_Creatures_Military_TakiInsurgents",
            		"CUP_Creatures_Military_USMC",
            		"CUP_Creatures_Military_ACR",
            		"CUP_Creatures_Military_CDF",
            		"CUP_Creatures_Military_Chedaki",
            		"CUP_Creatures_Military_Delta",
            		"CUP_Creatures_Military_RACS",
            		"CUP_Creatures_Military_SLA",
            		"CUP_Creatures_Military_USArmy",
            		"CUP_Creatures_Military_HIL",
            		"BRM_MODELS",
            		"US85",
            		"AFMC",
            		"SigSoundsA3_config_Character_blufor_soundenvironext",
            		"SigSoundsA3_config_Character_blufor_soundequipment",
            		"SigSoundsA3_config_Character_blufor_soundgear",
            		"tweed_aegis_kontakte",
            		"rhsusf_c_troops",
            		"tweed_aegis_21_aegis_kontakte",
            		"T_CDF_main",
            		"lambs_danger",
            		"CUP_Creatures_Military_Ukraine",
            		"cro_c_characters",
            		"CRO_C_ACE_Compat",
            		"CUP_Creatures_Military_Russia",
            		"viking_helms",
            		"A3_Sounds_F",
            		"escapefromtarkov_soundgear",
            		"A3_Sounds_F_Exp",
            		"jsrs_soundmod_complete_edition",
            		"A3_Sounds_F_Contact",
            		"characters_f_vietnam_c",
            		"SFX_Project_Remastered",
            		"tfar_core",
            		"sounds_f_vietnam_c",
            		"ace_gforces",
            		"ace_movement",
            		"ace_medical_feedback",
            		"A3_Data_F",
            		"ibr_yulakia_c",
            		"USP_Gear_Acc",
            		"xcam_taunus",
            		"A3_Data_F_Curator",
            		"A3_Air_F_Heli",
            		"map_north_takistan",
            		"gm_worlds_weferlingen_summer_cfg",
            		"USP_CBAEH_Fix",
            		"lambs_range",
            		"ace_thermals",
            		"lambs_formations",
            		"zen_attributes",
           			"ace_refuel",
            		"boat_f_vietnam_c",
            		"wheeled_f_vietnam_c",
            		"boat_f_vietnam_03_c",
            		"CUP_Core",
            		"armor_f_vietnam_c",
            		"cba_xeh"
       		};
        	author = "emila";
        	authors[] = {"emila"};
	};
};

 

 

 

 

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

×