• 0
BetterDeadThanZed

Community trader not selling anything

Question

I've got a "community trader" and when I go to him, there's nothing for sale. Here's the config.cpp section that defines the categories:

Spoiler

	class Exile_Trader_CommunityCustoms
	{
		name = "COMMUNITY";
		showWeaponFilter = 0;
		categories[] = 
		{
            "Headgear",
            "Uniforms",
            "Vests",
            "Backpacks",
            "FirstAid",
            "Food",
            "Drinks",
            "Hardware",
            "Tools"	
		};
	};

 

Here's the list of items sold by him:

Spoiler

   class Community
    {
        name = "Community Items";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] = 
        {
            "H_Cap_blk",
            "H_Cap_blk_Raven",
            "H_Cap_blu",
            "H_Cap_brn_SPECOPS",
            "H_Cap_grn",
            "H_Cap_headphones",
            "H_Cap_khaki_specops_UK",
            "H_Cap_oli",
            "H_Cap_press",
            "H_Cap_red",
            "H_Cap_tan",
            "H_Cap_tan_specops_US",
            "H_Watchcap_blk",
            "H_Watchcap_camo",
            "H_Watchcap_khk",
            "H_Watchcap_sgg",
            "H_MilCap_blue",
            "H_MilCap_dgtl",
            "H_MilCap_mcamo",
            "H_MilCap_ocamo",
            "H_MilCap_oucamo",
            "H_MilCap_rucamo",
            "H_Bandanna_camo",
            "H_Bandanna_cbr",
            "H_Bandanna_gry",
            "H_Bandanna_khk",
            "H_Bandanna_khk_hs",
            "H_Bandanna_mcamo",
            "H_Bandanna_sgg",
            "H_Bandanna_surfer",
            "H_Booniehat_dgtl",
            "H_Booniehat_dirty",
            "H_Booniehat_grn",
            "H_Booniehat_indp",
            "H_Booniehat_khk",
            "H_Booniehat_khk_hs",
            "H_Booniehat_mcamo",
            "H_Booniehat_tan",
            "H_Hat_blue",
            "H_Hat_brown",
            "H_Hat_camo",
            "H_Hat_checker",
            "H_Hat_grey",
            "H_Hat_tan",
            "H_StrawHat",
            "H_StrawHat_dark",
            "H_Beret_02",
            "H_Beret_blk",
            "H_Beret_blk_POLICE",
            "H_Beret_brn_SF",
            "H_Beret_Colonel",
            "H_Beret_grn",
            "H_Beret_grn_SF",
            "H_Beret_ocamo",
            "H_Beret_red",
            "H_Shemag_khk",
            "H_Shemag_olive",
            "H_Shemag_olive_hs",
            "H_Shemag_tan",
            "H_ShemagOpen_khk",
            "H_ShemagOpen_tan",
            "H_TurbanO_blk",
            "H_HelmetB_light",
            "H_HelmetB_light_black",
            "H_HelmetB_light_desert",
            "H_HelmetB_light_grass",
            "H_HelmetB_light_sand",
            "H_HelmetB_light_snakeskin",
            "H_HelmetB_paint",
            "H_HelmetB_plain_blk",
            "H_HelmetB_sand",
            "H_HelmetB_snakeskin",
            "H_HelmetCrew_B",
            "H_HelmetCrew_I",
            "H_HelmetCrew_O",
            "H_CrewHelmetHeli_B",
            "H_CrewHelmetHeli_I",
            "H_CrewHelmetHeli_O",
            "H_HelmetCrew_I",
            "H_HelmetCrew_B",
            "H_HelmetCrew_O",
            "H_PilotHelmetHeli_B",
            "H_PilotHelmetHeli_I",
            "H_PilotHelmetHeli_O",
            "U_C_Journalist",
            "U_C_Poloshirt_blue",
            "U_C_Poloshirt_burgundy",
            "U_C_Poloshirt_salmon",
            "U_C_Poloshirt_stripped",
            "U_C_Poloshirt_tricolour",
            "U_C_Poor_1",
            "U_C_Poor_2",
            "U_C_Poor_shorts_1",
            "U_C_Scientist",
            "U_OrestesBody",
            "U_Rangemaster",
            "U_NikosAgedBody",
            "U_NikosBody",
            "U_Competitor",
            "U_B_CombatUniform_mcam",
            "U_B_CombatUniform_mcam_tshirt",
            "U_B_CombatUniform_mcam_vest",
            "U_B_CombatUniform_mcam_worn",
            "U_B_CTRG_1",
            "U_B_CTRG_2",
            "U_B_CTRG_3",
            "U_I_CombatUniform",
            "U_I_CombatUniform_shortsleeve",
            "U_I_CombatUniform_tshirt",
            "U_I_OfficerUniform",
            "U_O_CombatUniform_ocamo",
            "U_O_CombatUniform_oucamo",
            "U_O_OfficerUniform_ocamo",
            "U_B_SpecopsUniform_sgg",
            "U_O_SpecopsUniform_blk",
            "U_O_SpecopsUniform_ocamo",
            "U_I_G_Story_Protagonist_F",
            "U_C_HunterBody_grn",
            "U_IG_Guerilla1_1",
            "U_IG_Guerilla2_1",
            "U_IG_Guerilla2_2",
            "U_IG_Guerilla2_3",
            "U_IG_Guerilla3_1",
            "U_BG_Guerilla2_1",
            "U_IG_Guerilla3_2",
            "U_BG_Guerrilla_6_1",
            "U_BG_Guerilla1_1",
            "U_BG_Guerilla2_2",
            "U_BG_Guerilla2_3",
            "U_BG_Guerilla3_1",
            "U_BG_leader",
            "U_IG_leader",
            "U_I_G_resistanceLeader_F",
            "U_B_survival_uniform",
            "U_B_HeliPilotCoveralls",
            "U_I_HeliPilotCoveralls",
            "U_B_PilotCoveralls",
            "U_I_pilotCoveralls",
            "U_O_PilotCoveralls",
			"V_Press_F",
            "V_Rangemaster_belt",
            "V_TacVest_blk",
            "V_TacVest_blk_POLICE",
            "V_TacVest_brn",
            "V_TacVest_camo",
            "V_TacVest_khk",
            "V_TacVest_oli",
            "V_TacVestCamo_khk",
            "V_TacVestIR_blk",
            "V_I_G_resistanceLeader_F",
            "V_BandollierB_blk",
            "V_BandollierB_cbr",
            "V_BandollierB_khk",
            "V_BandollierB_oli",
            "V_BandollierB_rgr",
            "V_Chestrig_blk",
            "V_Chestrig_khk",
            "V_Chestrig_oli",
            "V_Chestrig_rgr",
            "V_HarnessO_brn",
            "V_HarnessO_gry",
            "V_HarnessOGL_brn",
            "V_HarnessOGL_gry",
            "V_HarnessOSpec_brn",
            "V_HarnessOSpec_gry",
            "V_PlateCarrier1_blk",
            "V_PlateCarrier1_rgr",
            "V_PlateCarrier2_rgr",
            "V_PlateCarrier3_rgr",
            "V_PlateCarrierGL_blk",
            "V_PlateCarrierGL_mtp",
            "V_PlateCarrierGL_rgr",
            "V_PlateCarrierH_CTRG",
            "V_PlateCarrierIA1_dgtl",
            "V_PlateCarrierIA2_dgtl",
            "V_PlateCarrierIAGL_dgtl",
            "V_PlateCarrierIAGL_oli",
            "V_PlateCarrierL_CTRG",
            "V_PlateCarrierSpec_blk",
            "V_PlateCarrierSpec_mtp",
            "V_PlateCarrierSpec_rgr",			
            "B_AssaultPack_blk",
            "B_AssaultPack_cbr",
            "B_AssaultPack_dgtl",
            "B_AssaultPack_khk",
            "B_AssaultPack_mcamo",
            "B_AssaultPack_rgr",
            "B_AssaultPack_sgg",
            "B_Bergen_blk",
            "B_Bergen_mcamo",
            "B_Bergen_rgr",
            "B_Bergen_sgg",
            "B_FieldPack_blk",
            "B_FieldPack_cbr",
            "B_FieldPack_ocamo",
            "B_FieldPack_oucamo",
            "B_HuntingBackpack",
            "B_Kitbag_cbr",
            "B_Kitbag_mcamo",
            "B_Kitbag_sgg",
            "B_OutdoorPack_blk",
            "B_OutdoorPack_blu",
            "B_OutdoorPack_tan",
            "B_TacticalPack_blk",
            "B_TacticalPack_mcamo",
            "B_TacticalPack_ocamo",
            "B_TacticalPack_oli",
            "B_TacticalPack_rgr",			
            "Exile_Item_InstaDoc",
            "Exile_Item_Bandage",
            "Exile_Item_Vishpirin",			
            "Exile_Item_PlasticBottleCoffee",
            "Exile_Item_PowerDrink",
            "Exile_Item_PlasticBottleFreshWater",
            "Exile_Item_Beer",
            "Exile_Item_EnergyDrink",
            "Exile_Item_MountainDupe",
            "Exile_Item_PlasticBottleEmpty",			
            "Exile_Item_Rope",
            "Exile_Item_DuctTape",
            "Exile_Item_ExtensionCord",
            "Exile_Item_FuelCanisterEmpty",
            "Exile_Item_JunkMetal",
            "Exile_Item_LightBulb",
            "Exile_Item_MetalBoard",
            "Exile_Item_MetalPole",
            "Exile_Item_SafeKit",
            "Exile_Item_CamoTentKit",
            "Exile_Item_CodeLock",
			"Exile_Item_Matches",
            "Exile_Item_CookingPot",
            "Exile_Item_CanOpener",
            "Exile_Item_Handsaw",
            "Exile_Item_Pliers",
            "Binocular",
            "Rangefinder",
            "ItemGPS",
            "ItemMap",
            "ItemCompass",
            "ItemRadio",
            "ItemWatch",
            "Exile_Item_XM8"			
        };
    };

 

Am I doing something wrong? With these two sections, shouldn't items show up when I go to this trader?

Share this post


Link to post
Share on other sites

7 answers to this question

  • 0

They changed the trader settings.

_trader =
[
    "Exile_Trader_CommunityCustoms2",
    "WhiteHead_13",
    ["LHD_krajPaluby"],
    [6189.2,16846.4,0.202499],
    143
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms2"];

First and last line are new. ;)

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Posted (edited)

Hello, can you explain me what must i change in config.cpp, few hours i try and i don't understand what i must change :)

my actual:   

 /**
     * Sells Community Items
     */ 
    class Exile_Trader_CommunityCustoms
    {
        name = "COMMUNITY";
        showWeaponFilter = 1;
        categories[] = 
        {
            "Community"
        };
    };

 

Thanks for your help, fresh install of Acidy configurable spawn and trade zones.

Edited by streize

Share this post


Link to post
Share on other sites
  • 0

Obviously you have overwritten the original initPlayerLocal.sqf with an older one.

Solution: Use the original one delivered with 0.9.6 and insert the needs from the old one. As said: The format has changed.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

Thanks for your answer, My initPlayerLocal.sqf seems to be ok? This is the 0.9.6 version

I tried many think but i don't understand what i do wrong.

Spoiler

///////////////////////////////////////////////////////////////////////////
// Vehicle Customs Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_VehicleCustoms",
    "WhiteHead_11",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [14617.2, 16888.4, 0],
    269.96
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// Exile_Trader_CommunityCustoms  // TRIED TO ADD THAT AFTER MANY TIMES BUT NO ITEMS ON SELLERS
///////////////////////////////////////////////////////////////////////////
_trader =
[
    "Exile_Trader_CommunityCustoms",
    "Franco",
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms"];

I use Roaming trader script (serverside version)

And my mission.cpp

    class Exile_Trader_CommunityCustoms
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "FirstAid",
            "Food",
            "Drinks"
        };
    };

----------------------------------------------------------------------------------

    class Community
    {
        name = "Community items";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] = 
        {
            "Exile_Item_Defibrillator"
        };
    };

Edited by streize

Share this post


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

 

  Hide contents

///////////////////////////////////////////////////////////////////////////
// Vehicle Customs Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_VehicleCustoms",
    "WhiteHead_11",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [14617.2, 16888.4, 0],
    269.96
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms"];                              << THIS LINE WAS NOT HERE

///////////////////////////////////////////////////////////////////////////
// Exile_Trader_CommunityCustoms
///////////////////////////////////////////////////////////////////////////
_trader =
[
    "Exile_Trader_CommunityCustoms",
    "Franco",
    ["travellingtrader"]   //not sure i try many thing but no result
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms"];

 

Only guessing but maybe because the line i put in was not thier, it froze the whole script?

 

Try it with that extra line...

Share this post


Link to post
Share on other sites
  • 0

Same problem :/

The trader "name" is "Store" not "franco" and inventory is empty.

Makes me crazy ^^

 

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.