krita

Duplicated traders

10 posts in this topic

Hello, I'm quite new with Exile servers.

You look at the picture below you see my problem. I know there are several threads in this forum about this but none of them have helped me.

Tell me if you need something more files.

lnitPlayerLocal.sqf:

/**
 * Created with Exile Mod 3DEN Plugin
 * exile.majormittens.co.uk
 */
 
 eXpochClientPlayerLastBaseSpawn = diag_tickTime;		// Do not change this
eXpochBaseRespawnTimeLimit = 200;					// How long before the players can respawn at their base since the last death or joining server  - default: 900
eXpochBaseSpawnLevelRequired = 4; 					// Required Level of Base for Allowing Spawn - default: 4
eXpochBaseSpawnAllowedType = "ExileTerritoryBuildRights"; // If only owners can spawn change this to "ExileOwnerUID" - default: "ExileTerritoryBuildRights"
eXpochBaseSpawnDeadBodyDistLimit = 500;		// If the players dead body is within 500m of their own base, they will not get the option to spawn there


if (!hasInterface || isServer) exitWith {};
 
// 25 NPCs

private _npcs = [
["Exile_Trader_Aircraft", [], "Exile_Trader_Aircraft", "WhiteHead_20", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Beret_Colonel","G_Aviator",[],["","","","","",""]], [6341, 12901.1, 315.885], [0.8833, -0.468809, 0], [0, 0, 1]],
["Exile_Trader_AircraftCustoms", [], "Exile_Trader_AircraftCustoms", "WhiteHead_08", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Cap_blk_CMMG","G_Aviator",[],["","","","","",""]], [6341.98, 12903, 315.885], [0.902533, -0.430622, 0], [0, 0, 1]],
["Exile_Trader_SpecialOperations", [], "Exile_Trader_SpecialOperations", "WhiteHead_04", [[],[],[],["U_B_T_Soldier_SL_F",[]],["V_PlateCarrierGL_tna_F",[]],[],"H_HelmetB_Enh_tna_F","G_Combat",[],["","","","","",""]], [6356.1, 12935.1, 312.097], [-0.91835, 0.39577, 0], [0, 0, 1]],
["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "WhiteHead_09", [[],[],[],["U_B_T_Soldier_AR_F",[]],["V_PlateCarrier1_tna_F",[]],["B_AssaultPack_tna_F",[]],"H_HelmetB_Light_tna_F","G_Aviator",[],["","","","","",""]], [6354.24, 12932.6, 312.098], [-0.874128, 0.485695, 0], [0, 0, 1]],
["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_09", [[],[],[],["U_I_CombatUniform_shortsleeve",[]],["V_PlateCarrier2_rgr_noflag_F",[]],[],"H_HelmetB","G_Aviator",[],["","","","","","NVGogglesB_grn_F"]], [6346.05, 12942, 312.097], [0.849681, -0.527297, 0], [0, 0, 1]],
["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_02", [[],[],[],["U_Marshal",[]],[],[],"H_Cap_White_IDAP_F","G_Aviator",[],["","","","","",""]], [6339.21, 12946.1, 312.076], [-0.580873, -0.813994, 0], [0, 0, 1]],
["Exile_Trader_Food", [], "Exile_Trader_Food", "WhiteHead_19", [[],[],[],["U_C_IDAP_Man_casual_F",[]],["V_Pocketed_coyote_F",[]],[],"H_Hat_Safari_sand_F","G_Aviator",[],["","","","","",""]], [6332.34, 12948.2, 311.347], [-0.473212, -0.880949, 0], [0, 0, 1]],
["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_08", [[],[],[],["U_I_C_Soldier_Bandit_5_F",[]],[],[],"H_Bandanna_gry","",[],["","","","","",""]], [6315.19, 12963.1, 311.354], [-0.414169, -0.9102, 0], [0, 0, 1]],
["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "AfricanHead_01", [[],[],[],["U_Competitor",[]],[],[],"H_Cap_oli","",[],["","","","","",""]], [6301.43, 12967.1, 311.884], [-0.518236, -0.855238, 0], [0, 0, 1]],
["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_20", [[],[],[],["U_I_C_Soldier_Bandit_2_F",[]],[],[],"H_Cap_blk","",[],["","","","","",""]], [6294.18, 12965.1, 311.885], [0.016318, -0.999867, 0], [0, 0, 1]],
["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "AfricanHead_02", [[],[],[],["U_C_ConstructionCoverall_Red_F",[]],["V_Safety_yellow_F",[]],[],"H_Construction_basic_yellow_F","G_EyeProtectors_Earpiece_F",[],["","","","","",""]], [6344.44, 12938.9, 312.097], [0.846667, -0.532123, 0], [0, 0, 1]],
["Exile_Trader_Food", [], "Exile_Trader_Food", "WhiteHead_10", [["srifle_CZ550_shit_1","","","",["5x_22_LR_17_HMR_M",5],[],""],[],[],["U_C_IDAP_Man_casual_F",[["5x_22_LR_17_HMR_M",3,5]]],["V_Pocketed_coyote_F",[]],["B_Messenger_Coyote_F",[]],"H_Hat_Safari_sand_F","G_Aviator",[],["","","","","",""]], [11484.1, 16466.4, 317.312], [-0.999211, 0.0397134, 0], [0, 0, 1]],
["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_06", [["srifle_CZ550_shit_1","","","",["5x_22_LR_17_HMR_M",5],[],""],[],[],["U_C_IDAP_Man_Tee_F",[["5x_22_LR_17_HMR_M",3,5]]],[],[],"H_Cap_Black_IDAP_F","",[],["","","","","",""]], [11469.1, 16483.1, 317.35], [-0.463172, -0.886268, 0], [0, 0, 1]],
["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "WhiteHead_09", [["srifle_CZ550_shit_2","","","",["5x_22_LR_17_HMR_M",5],[],""],[],[],["U_C_ConstructionCoverall_Blue_F",[["5x_22_LR_17_HMR_M",3,5]]],["V_Safety_orange_F",[]],[],"H_Construction_headset_red_F","G_EyeProtectors_F",[],["","","","","",""]], [11480, 16476.2, 317.318], [-0.819232, -0.573462, 0], [0, 0, 1]],
["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_09", [["Exile_Weapon_AK107","","acc_pointer_IR","optic_Aco_smg",[],[],"bipod_01_F_blk"],["launch_RPG32_F","","","",[],[],""],["hgun_Pistol_heavy_01_F","","","",[],[],""],["U_B_CTRG_3",[]],["V_Chestrig_rgr",[]],[],"H_Watchcap_camo","G_Aviator",[],["","","","","",""]], [11469.6, 16451.6, 317.274], [-0.288614, 0.957446, 0], [0, 0, 1]],
["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "GreekHead_A3_07", [["Exile_Weapon_AK107","","","optic_Aco_smg",["Exile_Magazine_30Rnd_545x39_AK",30],[],""],[],[],["U_C_IDAP_Man_cargo_F",[["Exile_Magazine_30Rnd_545x39_AK",1,30]]],["V_EOD_blue_F",[["Exile_Magazine_30Rnd_545x39_AK",2,30]]],["B_Messenger_Black_F",[]],"H_PASGT_basic_blue_F","G_Aviator",[],["","","","","",""]], [11456.9, 16453.8, 317.243], [0.414328, 0.910128, 0], [0, 0, 1]],
["Exile_Trader_SpecialOperations", [], "Exile_Trader_SpecialOperations", "WhiteHead_08", [["LMG_Zafir_F","","","",["150Rnd_762x54_Box",150],[],""],[],[],["U_I_G_resistanceLeader_F",[]],["V_PlateCarrierGL_blk",[["150Rnd_762x54_Box",1,150]]],["B_TacticalPack_blk",[["150Rnd_762x54_Box",2,150]]],"H_HelmetSpecB_blk","G_Balaclava_combat",[],["","","","","","NVGogglesB_blk_F"]], [11449.5, 16464.2, 317.252], [0.938854, 0.344315, 0], [0, 0, 1]],
["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_17", [[],[],[],["U_C_IDAP_Man_Tee_F",[]],[],[],"H_Cap_Orange_IDAP_F","G_Aviator",[],["","","","","",""]], [11428.8, 16508.3, 316.629], [-0.956274, -0.292472, 0], [0, 0, 1]],
["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_11", [[],[],[],["U_C_IDAP_Man_Tee_F",[]],[],[],"H_Bandanna_cbr","",[],["","","","","",""]], [11438.3, 16504.2, 317.94], [0.696977, -0.717093, 0], [0, 0, 1]],
["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "WhiteHead_15", [[],[],[],["U_C_IDAP_Man_TeeShorts_F",[]],[],[],"H_Cap_blu","G_Aviator",[],["","","","","",""]], [11448.2, 16500.9, 317.604], [-0.602163, -0.798373, 0], [0, 0, 1]],
["Exile_Trader_Aircraft", [], "Exile_Trader_Aircraft", "WhiteHead_09", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Cap_blk_CMMG","G_Aviator",[],["","","","","",""]], [11433.8, 16471.7, 317.876], [-0.856988, 0.515337, 0], [0, 0, 1]],
["Exile_Trader_AircraftCustoms", [], "Exile_Trader_AircraftCustoms", "WhiteHead_17", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Beret_02","G_Aviator",[],["","","","","",""]], [11435.7, 16477.4, 317.173], [-0.893238, 0.449584, 0], [0, 0, 1]],
["Exile_Trader_Boat", [], "Exile_Trader_Boat", "WhiteHead_21", [[],[],[],["U_OrestesBody",[]],[],[],"H_Cap_surfer","",[],["","","","","",""]], [3613.98, 7176.68, 4.18304], [-0.998686, 0.051238, 0], [0, 0, 1]],
["Exile_Trader_BoatCustoms", [], "Exile_Trader_BoatCustoms", "GreekHead_A3_09", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","",[],["","","","","",""]], [3607.97, 7176.9, 4.18354], [0.999458, -0.0329284, 0], [0, 0, 1]],
["Exile_Trader_Diving", [], "Exile_Trader_Diving", "WhiteHead_03", [["arifle_SDAR_F","","","",[],[],""],[],[],["U_I_Wetsuit",[]],["V_RebreatherIA",[]],[],"","G_I_Diving",[],["","","","","",""]], [3621.95, 7236.68, 4.38068], [-0.983306, 0.181961, 0], [0, 0, 1]]



];

{
    private _logic = "Logic" createVehicleLocal [0, 0, 0];
    private _trader = (_x select 0) createVehicleLocal [0, 0, 0];
    private _animations = _x select 1;
   
    _logic setPosWorld (_x select 5);
    _logic setVectorDirAndUp [_x select 6, _x select 7];
   
    _trader setVariable ["BIS_enableRandomization", false];
    _trader setVariable ["BIS_fnc_animalBehaviour_disable", true];
    _trader setVariable ["ExileAnimations", _animations];
    _trader setVariable ["ExileTraderType", _x select 2];
    _trader disableAI "ANIM";
    _trader disableAI "MOVE";
    _trader disableAI "FSM";
    _trader disableAI "AUTOTARGET";
    _trader disableAI "TARGET";
    _trader disableAI "CHECKVISIBLE";
    _trader allowDamage false;
    _trader setFace (_x select 3);
    _trader setUnitLoadOut (_x select 4);
    _trader setPosWorld (_x select 5);
    _trader setVectorDirAndUp [_x select 6, _x select 7];
    _trader reveal _logic;
    _trader attachTo [_logic, [0, 0, 0]];
    _trader switchMove (_animations select 0);
    _trader addEventHandler ["AnimDone", {_this call ExileClient_object_trader_event_onAnimationDone}];
}
forEach _npcs;

 

20171021120443_1.jpg

Share this post


Link to post
Share on other sites
Advertisement

Some of your traders have duplicate positions and stances, causing you too see two traders.

Try this instead..

// 14 NPCs
private _npcs = [
["Exile_Trader_Aircraft", [], "Exile_Trader_Aircraft", "WhiteHead_20", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Beret_Colonel","G_Aviator",[],["","","","","",""]], [6341, 12901.1, 315.885], [0.8833, -0.468809, 0], [0, 0, 1]],
["Exile_Trader_AircraftCustoms", [], "Exile_Trader_AircraftCustoms", "WhiteHead_08", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Cap_blk_CMMG","G_Aviator",[],["","","","","",""]], [6341.98, 12903, 315.885], [0.902533, -0.430622, 0], [0, 0, 1]],
["Exile_Trader_SpecialOperations", [], "Exile_Trader_SpecialOperations", "WhiteHead_04", [[],[],[],["U_B_T_Soldier_SL_F",[]],["V_PlateCarrierGL_tna_F",[]],[],"H_HelmetB_Enh_tna_F","G_Combat",[],["","","","","",""]], [6356.1, 12935.1, 312.097], [-0.91835, 0.39577, 0], [0, 0, 1]],
["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "WhiteHead_09", [[],[],[],["U_B_T_Soldier_AR_F",[]],["V_PlateCarrier1_tna_F",[]],["B_AssaultPack_tna_F",[]],"H_HelmetB_Light_tna_F","G_Aviator",[],["","","","","",""]], [6354.24, 12932.6, 312.098], [-0.874128, 0.485695, 0], [0, 0, 1]],
["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_09", [[],[],[],["U_I_CombatUniform_shortsleeve",[]],["V_PlateCarrier2_rgr_noflag_F",[]],[],"H_HelmetB","G_Aviator",[],["","","","","","NVGogglesB_grn_F"]], [6346.05, 12942, 312.097], [0.849681, -0.527297, 0], [0, 0, 1]],
["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_02", [[],[],[],["U_Marshal",[]],[],[],"H_Cap_White_IDAP_F","G_Aviator",[],["","","","","",""]], [6339.21, 12946.1, 312.076], [-0.580873, -0.813994, 0], [0, 0, 1]],
["Exile_Trader_Food", [], "Exile_Trader_Food", "WhiteHead_19", [[],[],[],["U_C_IDAP_Man_casual_F",[]],["V_Pocketed_coyote_F",[]],[],"H_Hat_Safari_sand_F","G_Aviator",[],["","","","","",""]], [6332.34, 12948.2, 311.347], [-0.473212, -0.880949, 0], [0, 0, 1]],
["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_08", [[],[],[],["U_I_C_Soldier_Bandit_5_F",[]],[],[],"H_Bandanna_gry","",[],["","","","","",""]], [6315.19, 12963.1, 311.354], [-0.414169, -0.9102, 0], [0, 0, 1]],
["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "AfricanHead_01", [[],[],[],["U_Competitor",[]],[],[],"H_Cap_oli","",[],["","","","","",""]], [6301.43, 12967.1, 311.884], [-0.518236, -0.855238, 0], [0, 0, 1]],
["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_20", [[],[],[],["U_I_C_Soldier_Bandit_2_F",[]],[],[],"H_Cap_blk","",[],["","","","","",""]], [6294.18, 12965.1, 311.885], [0.016318, -0.999867, 0], [0, 0, 1]],
["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "AfricanHead_02", [[],[],[],["U_C_ConstructionCoverall_Red_F",[]],["V_Safety_yellow_F",[]],[],"H_Construction_basic_yellow_F","G_EyeProtectors_Earpiece_F",[],["","","","","",""]], [6344.44, 12938.9, 312.097], [0.846667, -0.532123, 0], [0, 0, 1]],
["Exile_Trader_Boat", [], "Exile_Trader_Boat", "WhiteHead_21", [[],[],[],["U_OrestesBody",[]],[],[],"H_Cap_surfer","",[],["","","","","",""]], [3613.98, 7176.68, 4.18304], [-0.998686, 0.051238, 0], [0, 0, 1]],
["Exile_Trader_BoatCustoms", [], "Exile_Trader_BoatCustoms", "GreekHead_A3_09", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","",[],["","","","","",""]], [3607.97, 7176.9, 4.18354], [0.999458, -0.0329284, 0], [0, 0, 1]],
["Exile_Trader_Diving", [], "Exile_Trader_Diving", "WhiteHead_03", [["arifle_SDAR_F","","","",[],[],""],[],[],["U_I_Wetsuit",[]],["V_RebreatherIA",[]],[],"","G_I_Diving",[],["","","","","",""]], [3621.95, 7236.68, 4.38068], [-0.983306, 0.181961, 0], [0, 0, 1]]

 

Share this post


Link to post
Share on other sites
22 hours ago, MetalHead said:

Some of your traders have duplicate positions and stances, causing you too see two traders.

Try this instead..


// 14 NPCs
private _npcs = [
["Exile_Trader_Aircraft", [], "Exile_Trader_Aircraft", "WhiteHead_20", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Beret_Colonel","G_Aviator",[],["","","","","",""]], [6341, 12901.1, 315.885], [0.8833, -0.468809, 0], [0, 0, 1]],
["Exile_Trader_AircraftCustoms", [], "Exile_Trader_AircraftCustoms", "WhiteHead_08", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_Cap_blk_CMMG","G_Aviator",[],["","","","","",""]], [6341.98, 12903, 315.885], [0.902533, -0.430622, 0], [0, 0, 1]],
["Exile_Trader_SpecialOperations", [], "Exile_Trader_SpecialOperations", "WhiteHead_04", [[],[],[],["U_B_T_Soldier_SL_F",[]],["V_PlateCarrierGL_tna_F",[]],[],"H_HelmetB_Enh_tna_F","G_Combat",[],["","","","","",""]], [6356.1, 12935.1, 312.097], [-0.91835, 0.39577, 0], [0, 0, 1]],
["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "WhiteHead_09", [[],[],[],["U_B_T_Soldier_AR_F",[]],["V_PlateCarrier1_tna_F",[]],["B_AssaultPack_tna_F",[]],"H_HelmetB_Light_tna_F","G_Aviator",[],["","","","","",""]], [6354.24, 12932.6, 312.098], [-0.874128, 0.485695, 0], [0, 0, 1]],
["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_09", [[],[],[],["U_I_CombatUniform_shortsleeve",[]],["V_PlateCarrier2_rgr_noflag_F",[]],[],"H_HelmetB","G_Aviator",[],["","","","","","NVGogglesB_grn_F"]], [6346.05, 12942, 312.097], [0.849681, -0.527297, 0], [0, 0, 1]],
["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_02", [[],[],[],["U_Marshal",[]],[],[],"H_Cap_White_IDAP_F","G_Aviator",[],["","","","","",""]], [6339.21, 12946.1, 312.076], [-0.580873, -0.813994, 0], [0, 0, 1]],
["Exile_Trader_Food", [], "Exile_Trader_Food", "WhiteHead_19", [[],[],[],["U_C_IDAP_Man_casual_F",[]],["V_Pocketed_coyote_F",[]],[],"H_Hat_Safari_sand_F","G_Aviator",[],["","","","","",""]], [6332.34, 12948.2, 311.347], [-0.473212, -0.880949, 0], [0, 0, 1]],
["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_08", [[],[],[],["U_I_C_Soldier_Bandit_5_F",[]],[],[],"H_Bandanna_gry","",[],["","","","","",""]], [6315.19, 12963.1, 311.354], [-0.414169, -0.9102, 0], [0, 0, 1]],
["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "AfricanHead_01", [[],[],[],["U_Competitor",[]],[],[],"H_Cap_oli","",[],["","","","","",""]], [6301.43, 12967.1, 311.884], [-0.518236, -0.855238, 0], [0, 0, 1]],
["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_20", [[],[],[],["U_I_C_Soldier_Bandit_2_F",[]],[],[],"H_Cap_blk","",[],["","","","","",""]], [6294.18, 12965.1, 311.885], [0.016318, -0.999867, 0], [0, 0, 1]],
["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "AfricanHead_02", [[],[],[],["U_C_ConstructionCoverall_Red_F",[]],["V_Safety_yellow_F",[]],[],"H_Construction_basic_yellow_F","G_EyeProtectors_Earpiece_F",[],["","","","","",""]], [6344.44, 12938.9, 312.097], [0.846667, -0.532123, 0], [0, 0, 1]],
["Exile_Trader_Boat", [], "Exile_Trader_Boat", "WhiteHead_21", [[],[],[],["U_OrestesBody",[]],[],[],"H_Cap_surfer","",[],["","","","","",""]], [3613.98, 7176.68, 4.18304], [-0.998686, 0.051238, 0], [0, 0, 1]],
["Exile_Trader_BoatCustoms", [], "Exile_Trader_BoatCustoms", "GreekHead_A3_09", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","",[],["","","","","",""]], [3607.97, 7176.9, 4.18354], [0.999458, -0.0329284, 0], [0, 0, 1]],
["Exile_Trader_Diving", [], "Exile_Trader_Diving", "WhiteHead_03", [["arifle_SDAR_F","","","",[],[],""],[],[],["U_I_Wetsuit",[]],["V_RebreatherIA",[]],[],"","G_I_Diving",[],["","","","","",""]], [3621.95, 7236.68, 4.38068], [-0.983306, 0.181961, 0], [0, 0, 1]]

 

Well that workt not so good, some traders are not duplicated. But the traders who not is duplicated have no trader menu.

I tested to remove "//" in "//25 NPCs" and all the duplicated traders got removed, but no trader menu. 

Share this post


Link to post
Share on other sites

its because you have the same traders in initserver.sqf and it initplayerlocal.sqf.

traders must be only in initplayerlocal.sqf file.

open initserver.sqf, find all traders there and delete them, save, repbo your mission and start the server. it will be ok. 

Edited by Sna[KE]

Share this post


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

@GolovaRaoul I tried your solution but it didnt helped. The output file is exactly the same.

1 hour ago, Sna[KE] said:

its because you have the same traders in initserver.sqf and it initplayerlocal.sqf.

traders must be only in initplayerlocal.sqf file.

open initserver.sqf, find all traders there and delete them, save, repbo your mission and start the server. it will be ok. 

@Sna[KE] Here is my initserver.sqf and I cant find any traders there. https://pastebin.com/CjYB5s0c

I find a topic about the initPlayerLocal.sqf and i change it to this: https://pastebin.com/e5hBVPGX

So I loaded with that new file and no dublicates , and the trader menu didnt work. I set all trader to the same clothing in the new InitPlayerLocal.sqf but all traders have exactly the same clothing as in my old sqf. So somewhere in my pbo i have a copy maby, can i be wrong guys ?

Share this post


Link to post
Share on other sites

Weird, that tool I gave you the link from worked perfect for me.

13 hours ago, krita said:

I tested to remove "//" in "//25 NPCs" and all the duplicated traders got removed, but no trader menu. 

That should not make any difference. it really should not. Basically, that // means a comment in arma coding language.
So you can put // KSADJFSA;FJSK;LFJSDALFKS;FJSDALKFJKLJ;DSALFJ 48U54W98TUJWOPGJURSG ()J; ASDFJAOWEIJFAE;OFIJ
And Arma won't even look at it, because it's a comment.

I'm not sure where your problem is m8. Maybe your running some kind of weird... script? Idk. Try posting your server RPT file

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.