• 0
Sign in to follow this  
Followers 0
Damiano20081986

Server start error

Question

hi guys i tried add BWA3 items to traders in config.cpp and after i did it server doesnt start it gaves me error message :

File mpmissions\_cur_mp.Chernarus_Winter\config.cpp, line 2426:
/CfgExileArsenal/:'(' encouered instead of '{'

anyone know solution ??

here is a pastebin of config.cpp 

http://pastebin.com/ByB8eZFk

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted (edited)

    ///////////////////////////////////////////////////////////////////////////////
    // Rifles (equipped)
    ///////////////////////////////////////////////////////////////////////////////
    class BWA3_G36_equipped (ZO4x30 + LLM01)        { quality = 1; price = 4000; };
    class BWA3_G36_cqb_equipped (RSAS + LLM01)        { quality = 1; price = 4000; };
    class BWA3_G36_silencer_equipped (ZO4x30 + LLM01 + Rotex)    { quality = 1; price = 4000; };
    class BWA3_G36_silencer_cqb_equipped (RSAS + LLM01 + Rotex)    { quality = 1; price = 4000; };
    class BWA3_G36K_equipped (ZO4x30 + LLM01)        { quality = 1; price = 4000; };
    class BWA3_G36K_cqb_equipped (RSAS + LLM01)        { quality = 1; price = 4000; };
    class BWA3_G36K_silencer_equipped (ZO4x30 + LLM01 + Rotex)    { quality = 1; price = 4000; };
    class BWA3_G36K_silencer_cqb_equipped (RSAS + LLM01 + Rotex)    { quality = 1; price = 4000; };
    class BWA3_G36_AG_equipped (ZO4x30 + LLM01)        { quality = 1; price = 4000; };
    class BWA3_G36_AG_cqb_equipped (RSAS + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G36K_AG_equipped (ZO4x30 + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G36K_AG_cqb_equipped (RSAS + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G36_LMG_equipped (ZO4x30 + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G36_LMG_silencer_equipped (ZO4x30 + LLM01 + Rotex)    { quality = 1; price = 4000; };
    class BWA3_G28_Standard_equipped (3-20x50 S&B + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G28_Standard_silencer_equipped (3-20x50 S&B + LLM01 + Rotex)    { quality = 1; price = 4000; };
    class BWA3_G28_Assault_equipped (Shortdot + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G28_Assault_cqb_equipped (EOTech + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G27_equipped (EOTech w/ magnifier + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_cqb_equipped (EOTech + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_Tan_equipped (EOTech w/ magnifier + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_Tan_cqb_equipped (EOTech + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_AG_equipped (EOTech w/ magnifier + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_AG_cqb_equipped (EOTech + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_Tan_AG_equipped (EOTech w/ magnifier + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_G27_Tan_AG_cqb_equipped (EOTech + Vario Ray)    { quality = 1; price = 4000; };
    class BWA3_MG4_equipped (ZO4x30 + LLM01)        { quality = 1; price = 4000; };
    class BWA3_MG5_equipped (ZO4x30 + LLM01)        { quality = 1; price = 4000; };
    class BWA3_MG5_Tan_equipped (ZO4x30 + LLM01)    { quality = 1; price = 4000; };
    class BWA3_G82_equipped (6-24x72 Zeiss)            { quality = 1; price = 4000; };

    ///////////////////////////////////////////////////////////////////////////////
    // Pistols (equipped)
    ///////////////////////////////////////////////////////////////////////////////
    class BWA3_P8_equipped (LLM01)                    { quality = 1; price = 400; };
    class BWA3_MP7_equipped (RSAS + LLM01)            { quality = 1; price = 400; };

Maybe? try removing these

Edited by †RiH† StokesMagee

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

You are probably also going to get a error on line 5778 

	class Vests ground holders
	replace with:
	class Vests_ground_holders
class Headgear ground holders
replace with:
class Headgear_ground_holders
class Uniforms ground holders
replace with:
class Uniforms_ground_holders
class Items ground holders
replace with:
class Items_ground_holders
class Tracked vehicles
replace with:
class Tracked_vehicles
class Launchers used
replace with:
class Launchers_used

if you do remove the equiped don't forget to remove their traders.

also fix your names in here aswell! with _ and not spaces also what ever is named inside of here needs to also be EXACTLY the same as above!

	class Exile_Trader_Armory
	{
		name = "ARMORY";
		showWeaponFilter = 1;
		categories[] = 
		{
			"PointerAttachments",
			"BipodAttachments",
			"MuzzleAttachments",
			"OpticAttachments",
			"Ammunition",
			"Pistols",
			"SubMachineGuns",
			"LightMachineGuns",
			"AssaultRifles",
			"SniperRifles",
			"Ammo boxes",
			"Rifles",
			"Rifles equipped",
			"Pistols equipped",
			"Launchers",
			"Launchers used",
			"Rifles (ground holders)",
		};
	};

	/**
	 * Satchels, nades, UAVs, static MGs
	 */
	class Exile_Trader_SpecialOperations
	{
		name = "SPECIAL OPERATIONS";
		showWeaponFilter = 1; // for noob tubes
		categories[] = 
		{
			"Flares",
			"Smokes",
			"UAVs",
			"StaticMGs",
			"Explosives",
			"Navigation",
			"Goggles",
			"Items (ground holders)"
		};
	};

	/**
	 * Uniforms, vests, helmets, backpacks
	 */
	class Exile_Trader_Equipment
	{	
		name = "EQUIPMENT";
		showWeaponFilter = 0;
		categories[] = 
		{
			"Tryks",
			"Headgear",
			"Uniforms",
			"Vests",
			"Backpacks",
			"FirstAid",
			"Soldiers (Fleck)",
			"Soldiers (Tropen)",
			"Soldiers (misc.)",
			"Uniforms (Fleck)",
			"Uniforms (Tropen)",
			"Uniforms (misc.)",
			"Uniforms (ground holders)",
			"Headgear (ground holders)",
			"Vests (ground holders)"
		};
	};

	/**
	 * Cans, cans, cans
	 */
	class Exile_Trader_Food
	{
		name = "FAST FOOD";
		showWeaponFilter = 0;
		categories[] = 
		{
			"Food",
			"Drinks"
		};
	};

	/**
	 * Light bulbs, metal, etc.
	 */
	class Exile_Trader_Hardware
	{
		name = "HARDWARE";
		showWeaponFilter = 0;
		categories[] = 
		{
			"Hardware",
			"Tools"
		};
	};

	/**
	 * Sells cars and general vehicles
	 */
	class Exile_Trader_Vehicle
	{
		name = "VEHICLE";
		showWeaponFilter = 0;
		categories[] = 
		{
			"Bikes",
			"Cars",
			"Trucks",
			"Tracked vehicles"
		};
	};

 

Edited by †RiH† StokesMagee

Share this post


Link to post
Share on other sites
Advertisement
  • 0

also ive noticed the extra comma

"Rifles (ground holders)",

the comma on the end shouldn't be there

	class Exile_Trader_Armory
	{
		name = "ARMORY";
		showWeaponFilter = 1;
		categories[] = 
		{
			"PointerAttachments",
			"BipodAttachments",
			"MuzzleAttachments",
			"OpticAttachments",
			"Ammunition",
			"Pistols",
			"SubMachineGuns",
			"LightMachineGuns",
			"AssaultRifles",
			"SniperRifles",
			"Ammo boxes",
			"Rifles",
			"Rifles equipped",
			"Pistols equipped",
			"Launchers",
			"Launchers used",
			"Rifles (ground holders)",
		};
	};

Share this post


Link to post
Share on other sites
  • 0

ok i changed it and as well found feww others mistakes now its starting. thaks for your help :))

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.