Jump to content
Grovesy57

What am I missing?

Recommended Posts

G'day guys, need some help figuring out an issue with my mod. Currently unable to build the .pbo, pboProject is giving me the error: "P:\TARF_ModPack\cfgPatches.hpp: circa Line 5 Spurious ; in array" yet for the life of me I can't seem to find the issue. It may be something simple, so I'm hoping someone can give me a second set of eyes. Maybe spot my idiocy and save me.

 

cfgPatches.hpp:

class TARF_Modpack 
{ 
    units[] = 
	{
		"TARF_ModPack";
		"TARF_511_Unit";
		"TARF_511_Unit_SS";
		"TARF_ATACSAU_Unit";
		"TARF_ATACSAU_Unit_SS";
		"TARF_ATACSFG_Unit";
		"TARF_ATACSFG_Unit_SS";
		"TARF_GerMulti_Unit";
		"TARF_GerMulti_Unit_SS";
		"TARF_Tropic_Unit";
		"TARF_Tropic_Unit_SS";
		"TARF_Multicam_Unit";
		"TARF_Multicam_Unit_SS";
		"TARF_Night_Unit";
		"TARF_Night_Unit_SS";
		"TARF_Navy_Unit";
		"TARF_Navy_Unit_SS";
		"TARF_BlackBetty";
		"TARF_BlackBetty_Ghost";
		"TARF_Bandit";
		"TARF_Bandit_Ghost";
		"TARF_Witch";
		"TARF_Witch_Ghost";
		"TARF_MRAP";
		"TARF_SUV";
		"TARF_CP";
		"TARF_HEMTT";
		"TARF_HEMTT_Ammo";
		"TARF_HEMTT_Repair";
		"TARF_HEMTT_Fuel";
		"TARF_MH6";
		"TARF_MH6_Navy";
		"TARF_GHawk";
		"TARF_GHawk_Navy";
		"TARF_GHawk_SF";
		"TARF_Huron";
		"TARF_Huron_Navy";
		"TARF_Huron_Armed";
		"TARF_Huron_Armed_Navy";
		"TARF_Hellcat";
		"TARF_Hellcat_SF";
		"TARF_Hellcat_Navy";
		"TARF_Blackfish_Infantry_Navy";
		"TARF_Blackfish_Vehicle_Navy";
		"TARF_Blackfish_Infantry_Army";
		"TARF_Blackfish_Vehicle_Army";
		"TARF_Gunship";
	};
    weapons[] = 
	{
		"TARF_511";
		"TARF_511_SS";
		"TARF_ATACSAU";
		"TARF_ATACSAU_SS";
		"TARF_ATACSFG";
		"TARF_ATACSFG_SS";
		"TARF_Germulti";
		"TARF_Germulti_SS";
		"TARF_Tropic";
		"TARF_Tropic_SS";
		"TARF_Multicam";
		"TARF_Multicam_SS";
		"TARF_Night";
		"TARF_Night_SS";
		"TARF_Navy";
		"TARF_Navy_SS";
	}; 
    requiredVersion = 0.1; 
    requiredAddons[] = {"A3_Characters_F"}; 
}; 

 

Share this post


Link to post
Share on other sites
2 hours ago, Grovesy57 said:

is giving me the error: "P:\TARF_ModPack\cfgPatches.hpp: circa Line 5 Spurious ; in array"

Yup.

 

2 hours ago, Grovesy57 said:

yet for the life of me I can't seem to find the issue.

wat, as the message says, you have semicolons in your arrays. For some reason every comma delimiter in your arrays has been replaced by a semicolon.

 

 

  • Like 1

Share this post


Link to post
Share on other sites
6 hours ago, Dedmen said:

 

wat, as the message says, you have semicolons in your arrays. For some reason every comma delimiter in your arrays has been replaced by a semicolon.

 

 

 

Aaaaand I feel like a proper tool. Thanks mate, greatly appreciated. Knew it'd be something crazy obvious. Worse thing is I tried this last night and it didn't work.. Realised this morning I've been editing a copy of the config instead of my actual one... D'Oh.. Maybe sleep ain't all that bad.

 

 

  • Haha 1

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

×