Jump to content

[RELEASE] TradeFromVehicle - Version 2.0 is here!


Csus

Recommended Posts

Can you post your TFV init.sqf file Presumptous.  Preferable in a

 

Here it is:  

waitUntil {!isNil "dayz_animalCheck"};

sleep 1;
 
/*    *******************************************************************************************************************************************   */
/*    Turn debugging functionality on or off.                                                                                                       */
/*    *******************************************************************************************************************************************   */
tfv_DEBUGGING = true;
 
/*    *******************************************************************************************************************************************   */
/*    How many weapons will be sold per cycle.                                                                                                      */
/*    *******************************************************************************************************************************************   */
tfv_SALES_PER_ANIM = 100;
 
/*    *******************************************************************************************************************************************   */
/*    How many magazines will be sold per cycle.                                                                                                      */
/*    *******************************************************************************************************************************************   */
tfv_SALES_PER_ANIM_MAGS = 100;
 
/*    *******************************************************************************************************************************************   */
/*    A list of each trader, along with the weapons they accept.                                                                                    */
/*    *******************************************************************************************************************************************   */
 
tfv_TRADERS_ITEMS = [
        ["UKSF_wdl_jtac_l",["100Rnd_556x45","100Rnd_556x45_BetaCMag","100Rnd_762x51_M240","100Rnd_762x54_PK","10Rnd_762x54_SVD","15Rnd_9x19_M9","15Rnd_9x19_M9SD","15Rnd_W1866_Slug","17Rnd_9x19_glock17","1Rnd_HE_M203","1Rnd_Smoke_M203","200Rnd_556x45_M249","20rnd_762x51_B_SCAR","20Rnd_762x51_FNFAL","20rnd_762x51_SB_SCAR","20Rnd_9x39_SP5_VSS","20Rnd_B_765x17_Ball","30Rnd_545x39_AK","30Rnd_545x39_AKSD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_762x39_AK47","30Rnd_762x39_SA58","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","30Rnd_9x19_UZI_SD","5Rnd_127x108_KSVK","6Rnd_45ACP","75Rnd_545x39_RPK","7Rnd_45ACP_1911","8Rnd_9x18_Makarov","8Rnd_9x18_MakarovSD","8Rnd_B_Beneli_74Slug","8Rnd_B_Beneli_Pellets","AKS_74_kobra","AKS_74_U","AK_107_PSO","AK_47_M","AK_74","BAF_L85A2_RIS_Holo","BAF_L85A2_RIS_SUSAT","BAF_LRR_scoped","bizon","bizon_silenced","Colt1911","Crossbow_DZ","DMR","DZ_ALICE_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Backpack_EP1","DZ_British_ACU","DZ_CivilBackpack_EP1","DZ_Czech_Vest_Puch","DZ_GunBag_EP1","DZ_LargeGunBag_EP1","DZ_TerminalPack_EP1","DZ_TK_Assault_Pack_EP1","FHQ_ACR_BLK_CCO","FHQ_ACR_BLK_CCO_F","FHQ_ACR_BLK_CCO_GL","FHQ_ACR_BLK_CCO_GL_F","FHQ_ACR_BLK_CCO_GL_SD","FHQ_ACR_BLK_CCO_GL_SD_F","FHQ_ACR_BLK_CCO_SD","FHQ_ACR_BLK_CCO_SD_F","FHQ_ACR_BLK_G33","FHQ_ACR_BLK_G33_F","FHQ_ACR_BLK_G33_GL","FHQ_ACR_BLK_G33_GL_F","FHQ_ACR_BLK_G33_GL_SD","FHQ_ACR_BLK_G33_GL_SD_F","FHQ_ACR_BLK_G33_SD","FHQ_ACR_BLK_G33_SD_F","FHQ_ACR_BLK_HAMR","FHQ_ACR_BLK_HAMR_F","FHQ_ACR_BLK_HAMR_GL","FHQ_ACR_BLK_HAMR_GL_F","FHQ_ACR_BLK_HAMR_GL_SD","FHQ_ACR_BLK_HAMR_GL_SD_F","FHQ_ACR_BLK_HAMR_SD","FHQ_ACR_BLK_HAMR_SD_F","FHQ_ACR_BLK_HWS","FHQ_ACR_BLK_HWS_F","FHQ_ACR_BLK_HWS_GL","FHQ_ACR_BLK_HWS_GL_F","FHQ_ACR_BLK_HWS_GL_SD","FHQ_ACR_BLK_HWS_GL_SD_F","FHQ_ACR_BLK_HWS_SD","FHQ_ACR_BLK_HWS_SD_F","FHQ_ACR_BLK_IRN","FHQ_ACR_BLK_IRN_F","FHQ_ACR_BLK_IRN_GL","FHQ_ACR_BLK_IRN_GL_F","FHQ_ACR_BLK_IRN_GL_SD","FHQ_ACR_BLK_IRN_GL_SD_F","FH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_WDL_RCO","FHQ_ACR_WDL_RCO_F","FHQ_ACR_WDL_RCO_GL","FHQ_ACR_WDL_RCO_GL_F","FHQ_ACR_WDL_RCO_GL_SD","FHQ_ACR_WDL_RCO_GL_SD_F","FHQ_ACR_WDL_RCO_SD","FHQ_ACR_WDL_RCO_SD_F","FHQ_MSR_DESERT","FHQ_MSR_NV_DESERT","FHQ_MSR_NV_SD_DESERT","FHQ_MSR_SD_DESERT","FHQ_rem_20Rnd_762x51_PMAG_NT","FHQ_rem_20Rnd_762x51_PMAG_NT_SD","FHQ_rem_30Rnd_680x43_ACR","FHQ_rem_30Rnd_680x43_ACR_SD","FHQ_rem_5Rnd_300Win_XM2010_NT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD","FHQ_rem_7Rnd_338Lapua_MSR_NT","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD","FHQ_RSASS_SD_TAN","FHQ_RSASS_TAN","FHQ_XM2010_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_SD_DESERT","FN_FAL","FN_FAL_ANPVS4","G36A_camo","G36C","G36C_camo","G36K_camo","G36_C_SD_camo","glock17_EP1","gms_k98","gms_k98zf39","gms_k98_knife","gms_k98_rg","huntingrifle","ItemComboLock","ItemLockbox","ItemTankTrap","ItemTentDomed","ItemTentDomed2","ItemTentOld","ItemWire","KSVK_DZE","LeeEnfield","M1014","M14_EP1","M16A2","M16A2GL","M16A4_ACG","M24","M24_des_EP1","M40A3","M4A1","M4A1_Aim","M4A1_AIM_SD_camo","M4A1_HWS_GL_camo","M4A1_HWS_GL_SD_Camo","M4A3_CCO_EP1","M4SPR","m8_carbine","m8_compact","m8_holo_sd","m8_sharpshooter","M9","M9SD","Makarov","MakarovSD","MP5A5","MP5SD","MR43","Remington870","Remington870_lamp","revolver_EP1","revolver_gold_EP1","RH_10Rnd_22LR_mk2","RH_12Rnd_45cal_usp","RH_13Rnd_9x19_bhp","RH_15Rnd_9x19_usp","RH_15Rnd_9x19_uspsd","RH_17Rnd_9x19_g17","RH_17Rnd_9x19_g17SD","RH_19Rnd_9x19_g18","RH_20Rnd_32cal_vz61","RH_20Rnd_762x51_hk417","RH_20Rnd_762x51_SD_hk417","RH_20Rnd_9x19_M93","RH_30Rnd_9x19_tec","RH_32Rnd_9x19_Muzi","RH_6Rnd_357_Mag","RH_6Rnd_44_Mag","RH_7Rnd_32cal_ppk","RH_7Rnd_50_AE","RH_8Rnd_45cal_m1911","RH_8Rnd_762_tt33","RH_8Rnd_9x19_Mk","RH_8Rnd_9x19_Mksd","RH_8Rnd_9x19_P38","RH_anac","RH_anacg","RH_browninghp","RH_bull","RH_ctar21","RH_ctar21glacog","RH_ctar21m","RH_ctar21mgl","RH_deagle","RH_Deagleg","RH_Deaglem","RH_Deaglemz","RH_Deaglemzb","RH_Deagles","RH_g17","RH_g17sd","RH_g18","RH_g19","RH_g19t","RH_hk416","RH_hk416acog","RH_hk416aim","RH_hk416eotech","RH_hk416gl","RH_hk416glacog","RH_hk416glaim","RH_hk416gleotech","RH_hk416s","RH_hk416sacog","RH_hk416saim","RH_hk416sd","RH_hk416sdaim","RH_hk416sdeotech","RH_hk416sdgl","RH_hk416sdglaim","RH_hk416sdgleotech","RH_hk416seotech","RH_hk416sgl","RH_hk416sglacog","RH_hk416sglaim","RH_hk416sgleotech","RH_hk417","RH_hk417acog","RH_hk417aim","RH_hk417eotech","RH_hk417s","RH_hk417sacog","RH_hk417saim","RH_hk417sd","RH_hk417sdacog","RH_hk417sdaim","RH_hk417sdeotech","RH_hk417sdsp","RH_hk417seotech","RH_hk417sgl","RH_hk417sglacog","RH_hk417sglaim","RH_hk417sgleotech","RH_hk417sp","RH_m14","RH_m14acog","RH_m14aim","RH_m14eot","RH_m1911","RH_m1911old","RH_m1911sd","RH_m1s","RH_m1sacog","RH_m1saim","RH_m1seot","RH_m1sshd","RH_m1ssp","RH_m1st","RH_m1stacog","RH_m1staim","RH_m1steot","RH_m1stshd","RH_m1stsp","RH_m21","RH_m9","RH_m93r","RH_m9c","RH_m9csd","RH_m9sd","RH_mas","RH_masacog","RH_masaim","RH_masb","RH_masbacog","RH_masbaim","RH_masbeotech","RH_masbsd","RH_masbsdacog","RH_masbsdaim","RH_masbsdeotech","RH_maseotech","RH_massd","RH_massdacog","RH_massdaim","RH_massdeotech","RH_mk2","RH_mk22","RH_mk22sd","RH_mk22v","RH_mk22vsd","RH_p226","RH_p226s","RH_p38","RH_ppk","RH_python","RH_sc2","RH_sc2acog","RH_sc2aim","RH_sc2eot","RH_sc2shd","RH_sc2sp","RH_star21","RH_tec9","RH_tt33","RH_usp","RH_uspm","RH_uspsd","RH_vz61","Sa58P_EP1","Sa58V_CCO_EP1","Sa58V_EP1","Sa58V_RCO_EP1","Sa61_EP1","Saiga12K","SCAR_H_CQC_CCO","SCAR_H_CQC_CCO_SD","SCAR_H_LNG_Sniper","SCAR_H_LNG_Sniper_SD","SCAR_H_STD_EGLM_Spect","SCAR_L_CQC","SCAR_L_CQC_CCO_SD","SCAR_L_CQC_EGLM_Holo","SCAR_L_CQC_Holo","SCAR_L_STD_EGLM_RCO","SCAR_L_STD_HOLO","SCAR_L_STD_Mk4CQT","skavil_M60","skavil_M60e3","SVD","SVD_CAMO","SVD_des_EP1","USSR_5Rnd_408","USSR_cheytacM200_sd","UZI_EP1","UZI_SD_EP1","vilSKS","vil_10Rnd_762x54_SV","vil_10Rnd_SVDK","vil_20Rnd_762x51_G3","vil_32Rnd_uzi","vil_32Rnd_UZI_SD","vil_9a91","vil_9a91_c","vil_9a91_csd","vil_Abakan","vil_Abakan_gp","vil_Abakan_P29","vil_AEK1","vil_AEK2","vil_AeK_23","vil_AeK_3","vil_AeK_3_K","vil_AEK_GL","vil_AG3","vil_AG36","vil_AG36A2","vil_AG36KA4","vil_AG36KV","vil_AG3EOT","vil_ak12","vil_ak12_ap","vil_ak12_gp","vil_AKM","vil_AKMS","vil_AKMSB","vil_AKMS_GP25","vil_AKM_GL","vil_AKS_47","vil_AKS_74","vil_AKS_74p","vil_AKS_74p_45","vil_AKS_74p_gp","vil_AKS_74_gp","vil_AKs_74_u","vil_AKs_74_u45","Vil_AKS_74_UB","Vil_AKS_74_UN_kobra","vil_AK_101","vil_AK_103","vil_AK_105","Vil_AK_105_c","vil_AK_107","Vil_AK_107_c","vil_AK_47","vil_AK_47_49","vil_AK_47_m1","vil_AK_74","vil_AK_74m","vil_AK_74m_c","vil_AK_74m_EOT","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB_60","vil_AK_74m_gp","vil_AK_74m_gp_29","vil_AK_74m_k","vil_AK_74m_p29","vil_AK_74M_PSO","vil_AK_74P","vil_AK_74_gp","vil_AK_74_N","vil_AK_nato_m1","vil_AK_nato_m80","vil_AMD","vil_AMD63","vil_ASH82","vil_B_HP","vil_G36a2","vil_G36CC","vil_G36E","vil_G36KA4","vil_G36KES","vil_G36KSK","vil_G36KSKdes","vil_G36KSKdesES","vil_G36KSKES","vil_G36KV3","vil_G36KV3Des","vil_G36KVA4","vil_G36KVZ","vil_G36VA4","vil_G36VA4Eot","vil_G3a2","vil_G3a3","vil_G3a4","vil_G3a4b","vil_G3an","vil_G3anb","vil_G3SG1","vil_G3sg1b","vil_G3TGS","vil_G3TGSb","vil_G3ZF","vil_G3zfb","vil_Galil","vil_Galil_arm","vil_Glock","vil_Glock_o","vil_Groza_GL","vil_Groza_HG","vil_Groza_SC","vil_Groza_SD","vil_HK417s","vil_M110","vil_M110sd","vil_M14G","vil_M21G","vil_M240_B","vil_M249_Para","vil_M64","vil_M70","vil_M70B","vil_Mg3","vil_MG4","vil_MG4E","vil_MP5SD_EOTech","vil_MP5_EOTech","vil_MPi","vil_PK","vil_PKP","vil_PKP_EOT","vil_PMI","vil_PMI74S","vil_RPD","vil_RPK","vil_RPK74","vil_RPK74M","vil_RPK74M_P29","vil_RPK75","vil_RPK75_M72","vil_RPK75_Romania","vil_SKS","vil_SR25","vil_SR25SD","vil_SVDK","vil_SVD_63","vil_SVD_M","vil_SVD_N","vil_SVD_P21","vil_SVD_S","vil_SV_98","vil_SV_98_69","vil_SV_98_SD","vil_USP","vil_USP45","vil_USP45SD","vil_USPSD","vil_uzi","vil_uzimini","vil_uzimini_SD","vil_uzi_c","vil_uzi_SD","vil_VAL","vil_VAL_C","vil_Vikhr","vil_vsk94","vil_zastava_m84","VSS_vintorez","Winchester1866"],["weapons","magazines"],0]
];
if (tfv_DEBUGGING) then { diag_log "tfv - Trader weapons loaded in!"; };
 
/*    *******************************************************************************************************************************************   */
/*    List of ALL weapons, regardless of trader, along with the prices.                                                                             */
/*    *******************************************************************************************************************************************   */
 
tfv_TRADERS_PRICES = [
["100Rnd_556x45",100],
["100Rnd_556x45_BetaCMag",100],
["100Rnd_762x51_M240",100],
["100Rnd_762x54_PK",100],
["10Rnd_762x54_SVD",10],
["15Rnd_9x19_M9",5],
["15Rnd_9x19_M9SD",10],
["15Rnd_W1866_Slug",1],
["17Rnd_9x19_glock17",5],
["1Rnd_HE_M203",200],
["1Rnd_Smoke_M203",100],
["200Rnd_556x45_M249",200],
["20rnd_762x51_B_SCAR",20],
["20Rnd_762x51_FNFAL",20],
["20rnd_762x51_SB_SCAR",20],
["20Rnd_9x39_SP5_VSS",100],
["20Rnd_B_765x17_Ball",10],
["30Rnd_545x39_AK",1],
["30Rnd_545x39_AKSD",4],
["30Rnd_556x45_Stanag",1],
["30Rnd_556x45_StanagSD",2],
["30Rnd_762x39_AK47",10],
["30Rnd_762x39_SA58",2],
["30Rnd_9x19_MP5",10],
["30Rnd_9x19_MP5SD",20],
["30Rnd_9x19_UZI_SD",10],
["5Rnd_127x108_KSVK",10],
["6Rnd_45ACP",1],
["75Rnd_545x39_RPK",10],
["7Rnd_45ACP_1911",1],
["8Rnd_9x18_Makarov",1],
["8Rnd_9x18_MakarovSD",10],
["8Rnd_B_Beneli_74Slug",1],
["8Rnd_B_Beneli_Pellets",1],
["AKS_74_kobra",200],
["AKS_74_U",100],
["AK_107_PSO",100],
["AK_47_M",600],
["AK_74",100],
["BAF_L85A2_RIS_Holo",600],
["BAF_L85A2_RIS_SUSAT",300],
["BAF_LRR_scoped",2000],
["bizon",200],
["bizon_silenced",500],
["Colt1911",10],
["Crossbow_DZ",5],
["DMR",1000],
["DZ_ALICE_Pack_EP1",50],
["DZ_Assault_Pack_EP1",50],
["DZ_Backpack_EP1",400],
["DZ_British_ACU",200],
["DZ_CivilBackpack_EP1",400],
["DZ_Czech_Vest_Puch",1],
["DZ_GunBag_EP1",300],
["DZ_LargeGunBag_EP1",800],
["DZ_TerminalPack_EP1",10],
["DZ_TK_Assault_Pack_EP1",30],
["FHQ_ACR_BLK_CCO",400],
["FHQ_ACR_BLK_CCO_F",400],
["FHQ_ACR_BLK_CCO_GL",400],
["FHQ_ACR_BLK_CCO_GL_F",400],
["FHQ_ACR_BLK_CCO_GL_SD",600],
["FHQ_ACR_BLK_CCO_GL_SD_F",600],
["FHQ_ACR_BLK_CCO_SD",500],
["FHQ_ACR_BLK_CCO_SD_F",500],
["FHQ_ACR_BLK_G33",500],
["FHQ_ACR_BLK_G33_F",500],
["FHQ_ACR_BLK_G33_GL",500],
["FHQ_ACR_BLK_G33_GL_F",500],
["FHQ_ACR_BLK_G33_GL_SD",600],
["FHQ_ACR_BLK_G33_GL_SD_F",600],
["FHQ_ACR_BLK_G33_SD",600],
["FHQ_ACR_BLK_G33_SD_F",600],
["FHQ_ACR_BLK_HAMR",500],
["FHQ_ACR_BLK_HAMR_F",500],
["FHQ_ACR_BLK_HAMR_GL",500],
["FHQ_ACR_BLK_HAMR_GL_F",500],
["FHQ_ACR_BLK_HAMR_GL_SD",600],
["FHQ_ACR_BLK_HAMR_GL_SD_F",600],
["FHQ_ACR_BLK_HAMR_SD",600],
["FHQ_ACR_BLK_HAMR_SD_F",600],
["FHQ_ACR_BLK_HWS",400],
["FHQ_ACR_BLK_HWS_F",400],
["FHQ_ACR_BLK_HWS_GL",500],
["FHQ_ACR_BLK_HWS_GL_F",500],
["FHQ_ACR_BLK_HWS_GL_SD",600],
["FHQ_ACR_BLK_HWS_GL_SD_F",600],
["FHQ_ACR_BLK_HWS_SD",500],
["FHQ_ACR_BLK_HWS_SD_F",500],
["FHQ_ACR_BLK_IRN",400],
["FHQ_ACR_BLK_IRN_F",400],
["FHQ_ACR_BLK_IRN_GL",400],
["FHQ_ACR_BLK_IRN_GL_F",400],
["FHQ_ACR_BLK_IRN_GL_SD",500],
["FHQ_ACR_BLK_IRN_GL_SD_F",500],
["FHQ_ACR_BLK_IRN_SD",500],
["FHQ_ACR_BLK_IRN_SD_F",500],
["FHQ_ACR_BLK_RCO",500],
["FHQ_ACR_BLK_RCO_F",500],
["FHQ_ACR_BLK_RCO_GL",500],
["FHQ_ACR_BLK_RCO_GL_F",500],
["FHQ_ACR_BLK_RCO_GL_SD",600],
["FHQ_ACR_BLK_RCO_GL_SD_F",600],
["FHQ_ACR_BLK_RCO_SD",600],
["FHQ_ACR_BLK_RCO_SD_F",600],
["FHQ_ACR_SNW_CCO",400],
["FHQ_ACR_SNW_CCO_F",400],
["FHQ_ACR_SNW_CCO_GL",400],
["FHQ_ACR_SNW_CCO_GL_F",400],
["FHQ_ACR_SNW_CCO_GL_SD",600],
["FHQ_ACR_SNW_CCO_GL_SD_F",600],
["FHQ_ACR_SNW_CCO_SD",500],
["FHQ_ACR_SNW_CCO_SD_F",500],
["FHQ_ACR_SNW_G33",500],
["FHQ_ACR_SNW_G33_F",500],
["FHQ_ACR_SNW_G33_GL",500],
["FHQ_ACR_SNW_G33_GL_F",500],
["FHQ_ACR_SNW_G33_GL_SD",600],
["FHQ_ACR_SNW_G33_GL_SD_F",600],
["FHQ_ACR_SNW_G33_SD",600],
["FHQ_ACR_SNW_G33_SD_F",600],
["FHQ_ACR_SNW_HAMR",500],
["FHQ_ACR_SNW_HAMR_F",500],
["FHQ_ACR_SNW_HAMR_GL",500],
["FHQ_ACR_SNW_HAMR_GL_F",500],
["FHQ_ACR_SNW_HAMR_GL_SD",600],
["FHQ_ACR_SNW_HAMR_GL_SD_F",600],
["FHQ_ACR_SNW_HAMR_SD",600],
["FHQ_ACR_SNW_HAMR_SD_F",600],
["FHQ_ACR_SNW_HWS",400],
["FHQ_ACR_SNW_HWS_F",400],
["FHQ_ACR_SNW_HWS_GL",500],
["FHQ_ACR_SNW_HWS_GL_F",500],
["FHQ_ACR_SNW_HWS_GL_SD",600],
["FHQ_ACR_SNW_HWS_GL_SD_F",600],
["FHQ_ACR_SNW_HWS_SD",500],
["FHQ_ACR_SNW_HWS_SD_F",500],
["FHQ_ACR_SNW_IRN",400],
["FHQ_ACR_SNW_IRN_F",400],
["FHQ_ACR_SNW_IRN_GL",400],
["FHQ_ACR_SNW_IRN_GL_F",400],
["FHQ_ACR_SNW_IRN_GL_SD",500],
["FHQ_ACR_SNW_IRN_GL_SD_F",500],
["FHQ_ACR_SNW_IRN_SD",500],
["FHQ_ACR_SNW_IRN_SD_F",500],
["FHQ_ACR_SNW_RCO",500],
["FHQ_ACR_SNW_RCO_F",500],
["FHQ_ACR_SNW_RCO_GL",500],
["FHQ_ACR_SNW_RCO_GL_F",500],
["FHQ_ACR_SNW_RCO_GL_SD",600],
["FHQ_ACR_SNW_RCO_GL_SD_F",600],
["FHQ_ACR_SNW_RCO_SD",600],
["FHQ_ACR_SNW_RCO_SD_F",600],
["FHQ_ACR_TAN_CCO",400],
["FHQ_ACR_TAN_CCO_F",400],
["FHQ_ACR_TAN_CCO_GL",400],
["FHQ_ACR_TAN_CCO_GL_F",400],
["FHQ_ACR_TAN_CCO_GL_SD",600],
["FHQ_ACR_TAN_CCO_GL_SD_F",600],
["FHQ_ACR_TAN_CCO_SD",500],
["FHQ_ACR_TAN_CCO_SD_F",500],
["FHQ_ACR_TAN_G33",500],
["FHQ_ACR_TAN_G33_F",500],
["FHQ_ACR_TAN_G33_GL",500],
["FHQ_ACR_TAN_G33_GL_F",500],
["FHQ_ACR_TAN_G33_GL_SD",600],
["FHQ_ACR_TAN_G33_GL_SD_F",600],
["FHQ_ACR_TAN_G33_SD",600],
["FHQ_ACR_TAN_G33_SD_F",600],
["FHQ_ACR_TAN_HAMR",500],
["FHQ_ACR_TAN_HAMR_F",500],
["FHQ_ACR_TAN_HAMR_GL",500],
["FHQ_ACR_TAN_HAMR_GL_F",500],
["FHQ_ACR_TAN_HAMR_GL_SD",600],
["FHQ_ACR_TAN_HAMR_GL_SD_F",600],
["FHQ_ACR_TAN_HAMR_SD",600],
["FHQ_ACR_TAN_HAMR_SD_F",600],
["FHQ_ACR_TAN_HWS",400],
["FHQ_ACR_TAN_HWS_F",400],
["FHQ_ACR_TAN_HWS_GL",500],
["FHQ_ACR_TAN_HWS_GL_F",500],
["FHQ_ACR_TAN_HWS_GL_SD",600],
["FHQ_ACR_TAN_HWS_GL_SD_F",600],
["FHQ_ACR_TAN_HWS_SD",500],
["FHQ_ACR_TAN_HWS_SD_F",500],
["FHQ_ACR_TAN_IRN",400],
["FHQ_ACR_TAN_IRN_F",400],
["FHQ_ACR_TAN_IRN_GL",400],
["FHQ_ACR_TAN_IRN_GL_F",400],
["FHQ_ACR_TAN_IRN_GL_SD",500],
["FHQ_ACR_TAN_IRN_GL_SD_F",500],
["FHQ_ACR_TAN_IRN_SD",500],
["FHQ_ACR_TAN_IRN_SD_F",500],
["FHQ_ACR_TAN_RCO",500],
["FHQ_ACR_TAN_RCO_F",500],
["FHQ_ACR_TAN_RCO_GL",500],
["FHQ_ACR_TAN_RCO_GL_F",500],
["FHQ_ACR_TAN_RCO_GL_SD",600],
["FHQ_ACR_TAN_RCO_GL_SD_F",600],
["FHQ_ACR_TAN_RCO_SD",600],
["FHQ_ACR_TAN_RCO_SD_F",600],
["FHQ_ACR_WDL_CCO",400],
["FHQ_ACR_WDL_CCO_F",400],
["FHQ_ACR_WDL_CCO_GL",400],
["FHQ_ACR_WDL_CCO_GL_F",400],
["FHQ_ACR_WDL_CCO_GL_SD",600],
["FHQ_ACR_WDL_CCO_GL_SD_F",600],
["FHQ_ACR_WDL_CCO_SD",500],
["FHQ_ACR_WDL_CCO_SD_F",500],
["FHQ_ACR_WDL_G33",500],
["FHQ_ACR_WDL_G33_F",500],
["FHQ_ACR_WDL_G33_GL",500],
["FHQ_ACR_WDL_G33_GL_F",500],
["FHQ_ACR_WDL_G33_GL_SD",600],
["FHQ_ACR_WDL_G33_GL_SD_F",600],
["FHQ_ACR_WDL_G33_SD",600],
["FHQ_ACR_WDL_G33_SD_F",600],
["FHQ_ACR_WDL_HAMR",500],
["FHQ_ACR_WDL_HAMR_F",500],
["FHQ_ACR_WDL_HAMR_GL",500],
["FHQ_ACR_WDL_HAMR_GL_F",500],
["FHQ_ACR_WDL_HAMR_GL_SD",600],
["FHQ_ACR_WDL_HAMR_GL_SD_F",600],
["FHQ_ACR_WDL_HAMR_SD",600],
["FHQ_ACR_WDL_HAMR_SD_F",600],
["FHQ_ACR_WDL_HWS",400],
["FHQ_ACR_WDL_HWS_F",400],
["FHQ_ACR_WDL_HWS_GL",500],
["FHQ_ACR_WDL_HWS_GL_F",500],
["FHQ_ACR_WDL_HWS_GL_SD",600],
["FHQ_ACR_WDL_HWS_GL_SD_F",600],
["FHQ_ACR_WDL_HWS_SD",500],
["FHQ_ACR_WDL_HWS_SD_F",500],
["FHQ_ACR_WDL_IRN",400],
["FHQ_ACR_WDL_IRN_F",400],
["FHQ_ACR_WDL_IRN_GL",400],
["FHQ_ACR_WDL_IRN_GL_F",400],
["FHQ_ACR_WDL_IRN_GL_SD",500],
["FHQ_ACR_WDL_IRN_GL_SD_F",500],
["FHQ_ACR_WDL_IRN_SD",500],
["FHQ_ACR_WDL_IRN_SD_F",500],
["FHQ_ACR_WDL_RCO",500],
["FHQ_ACR_WDL_RCO_F",500],
["FHQ_ACR_WDL_RCO_GL",500],
["FHQ_ACR_WDL_RCO_GL_F",500],
["FHQ_ACR_WDL_RCO_GL_SD",600],
["FHQ_ACR_WDL_RCO_GL_SD_F",600],
["FHQ_ACR_WDL_RCO_SD",600],
["FHQ_ACR_WDL_RCO_SD_F",600],
["FHQ_MSR_DESERT",1500],
["FHQ_MSR_NV_DESERT",1500],
["FHQ_MSR_NV_SD_DESERT",1700],
["FHQ_MSR_SD_DESERT",1700],
["FHQ_rem_20Rnd_762x51_PMAG_NT",10],
["FHQ_rem_20Rnd_762x51_PMAG_NT_SD",20],
["FHQ_rem_30Rnd_680x43_ACR",4],
["FHQ_rem_30Rnd_680x43_ACR_SD",10],
["FHQ_rem_5Rnd_300Win_XM2010_NT",10],
["FHQ_rem_5Rnd_300Win_XM2010_NT_SD",20],
["FHQ_rem_7Rnd_338Lapua_MSR_NT",20],
["FHQ_rem_7Rnd_338Lapua_MSR_NT_SD",100],
["FHQ_RSASS_SD_TAN",1500],
["FHQ_RSASS_TAN",1200],
["FHQ_XM2010_DESERT",1400],
["FHQ_XM2010_NV_DESERT",1400],
["FHQ_XM2010_NV_SD_DESERT",1500],
["FHQ_XM2010_SD_DESERT",1700],
["FN_FAL",600],
["FN_FAL_ANPVS4",600],
["G36A_camo",300],
["G36C",200],
["G36C_camo",300],
["G36K_camo",300],
["G36_C_SD_camo",300],
["glock17_EP1",20],
["gms_k98",100],
["gms_k98zf39",100],
["gms_k98_knife",100],
["gms_k98_rg",100],
["huntingrifle",100],
["ItemComboLock",300],
["ItemLockbox",4000],
["ItemTankTrap",10],
["ItemTentDomed",30],
["ItemTentDomed2",30],
["ItemTentOld",20],
["ItemWire",3],
["KSVK_DZE",2000],
["LeeEnfield",10],
["M1014",200],
["M14_EP1",1000],
["M16A2",100],
["M16A2GL",200],
["M16A4_ACG",200],
["M24",600],
["M24_des_EP1",600],
["M40A3",600],
["M4A1",200],
["M4A1_Aim",400],
["M4A1_AIM_SD_camo",500],
["M4A1_HWS_GL_camo",500],
["M4A1_HWS_GL_SD_Camo",1000],
["M4A3_CCO_EP1",600],
["M4SPR",600],
["m8_carbine",200],
["m8_compact",300],
["m8_holo_sd",400],
["m8_sharpshooter",200],
["M9",20],
["M9SD",100],
["Makarov",10],
["MakarovSD",100],
["MP5A5",20],
["MP5SD",300],
["MR43",8],
["Remington870",20],
["Remington870_lamp",100],
["revolver_EP1",10],
["revolver_gold_EP1",200],
["RH_10Rnd_22LR_mk2",1],
["RH_12Rnd_45cal_usp",4],
["RH_13Rnd_9x19_bhp",2],
["RH_15Rnd_9x19_usp",1],
["RH_15Rnd_9x19_uspsd",1],
["RH_17Rnd_9x19_g17",1],
["RH_17Rnd_9x19_g17SD",2],
["RH_19Rnd_9x19_g18",2],
["RH_20Rnd_32cal_vz61",4],
["RH_20Rnd_762x51_hk417",2],
["RH_20Rnd_762x51_SD_hk417",4],
["RH_20Rnd_9x19_M93",1],
["RH_30Rnd_9x19_tec",2],
["RH_32Rnd_9x19_Muzi",3],
["RH_6Rnd_357_Mag",4],
["RH_6Rnd_44_Mag",10],
["RH_7Rnd_32cal_ppk",1],
["RH_7Rnd_50_AE",4],
["RH_8Rnd_45cal_m1911",1],
["RH_8Rnd_762_tt33",1],
["RH_8Rnd_9x19_Mk",1],
["RH_8Rnd_9x19_Mksd",2],
["RH_8Rnd_9x19_P38",1],
["RH_anac",100],
["RH_anacg",100],
["RH_browninghp",100],
["RH_bull",100],
["RH_ctar21",300],
["RH_ctar21glacog",400],
["RH_ctar21m",400],
["RH_ctar21mgl",400],
["RH_deagle",300],
["RH_Deagleg",300],
["RH_Deaglem",300],
["RH_Deaglemz",300],
["RH_Deaglemzb",300],
["RH_Deagles",300],
["RH_g17",100],
["RH_g17sd",100],
["RH_g18",100],
["RH_g19",100],
["RH_g19t",100],
["RH_hk416",300],
["RH_hk416acog",300],
["RH_hk416aim",300],
["RH_hk416eotech",300],
["RH_hk416gl",300],
["RH_hk416glacog",300],
["RH_hk416glaim",300],
["RH_hk416gleotech",300],
["RH_hk416s",300],
["RH_hk416sacog",400],
["RH_hk416saim",300],
["RH_hk416sd",400],
["RH_hk416sdaim",400],
["RH_hk416sdeotech",400],
["RH_hk416sdgl",400],
["RH_hk416sdglaim",500],
["RH_hk416sdgleotech",500],
["RH_hk416seotech",300],
["RH_hk416sgl",300],
["RH_hk416sglacog",300],
["RH_hk416sglaim",300],
["RH_hk416sgleotech",300],
["RH_hk417",700],
["RH_hk417acog",800],
["RH_hk417aim",700],
["RH_hk417eotech",800],
["RH_hk417s",700],
["RH_hk417sacog",800],
["RH_hk417saim",700],
["RH_hk417sd",900],
["RH_hk417sdacog",900],
["RH_hk417sdaim",900],
["RH_hk417sdeotech",900],
["RH_hk417sdsp",1000],
["RH_hk417seotech",800],
["RH_hk417sgl",700],
["RH_hk417sglacog",800],
["RH_hk417sglaim",800],
["RH_hk417sgleotech",700],
["RH_hk417sp",700],
["RH_m14",900],
["RH_m14acog",900],
["RH_m14aim",900],
["RH_m14eot",900],
["RH_m1911",100],
["RH_m1911old",100],
["RH_m1911sd",100],
["RH_m1s",1000],
["RH_m1sacog",1000],
["RH_m1saim",1000],
["RH_m1seot",1000],
["RH_m1sshd",1000],
["RH_m1ssp",1000],
["RH_m1st",1000],
["RH_m1stacog",1000],
["RH_m1staim",1000],
["RH_m1steot",1000],
["RH_m1stshd",1000],
["RH_m1stsp",1000],
["RH_m21",900],
["RH_m9",100],
["RH_m93r",100],
["RH_m9c",100],
["RH_m9csd",100],
["RH_m9sd",100],
["RH_mas",300],
["RH_masacog",300],
["RH_masaim",300],
["RH_masb",300],
["RH_masbacog",300],
["RH_masbaim",300],
["RH_masbeotech",300],
["RH_masbsd",400],
["RH_masbsdacog",400],
["RH_masbsdaim",400],
["RH_masbsdeotech",400],
["RH_maseotech",300],
["RH_massd",400],
["RH_massdacog",400],
["RH_massdaim",400],
["RH_massdeotech",400],
["RH_mk2",100],
["RH_mk22",100],
["RH_mk22sd",100],
["RH_mk22v",100],
["RH_mk22vsd",100],
["RH_p226",100],
["RH_p226s",100],
["RH_p38",100],
["RH_ppk",100],
["RH_python",100],
["RH_sc2",1000],
["RH_sc2acog",1000],
["RH_sc2aim",1000],
["RH_sc2eot",1000],
["RH_sc2shd",1000],
["RH_sc2sp",1000],
["RH_star21",400],
["RH_tec9",200],
["RH_tt33",100],
["RH_usp",100],
["RH_uspm",100],
["RH_uspsd",100],
["RH_vz61",100],
["Sa58P_EP1",100],
["Sa58V_CCO_EP1",400],
["Sa58V_EP1",100],
["Sa58V_RCO_EP1",400],
["Sa61_EP1",100],
["Saiga12K",400],
["SCAR_H_CQC_CCO",200],
["SCAR_H_CQC_CCO_SD",1000],
["SCAR_H_LNG_Sniper",1000],
["SCAR_H_LNG_Sniper_SD",1000],
["SCAR_H_STD_EGLM_Spect",1000],
["SCAR_L_CQC",200],
["SCAR_L_CQC_CCO_SD",1000],
["SCAR_L_CQC_EGLM_Holo",1000],
["SCAR_L_CQC_Holo",500],
["SCAR_L_STD_EGLM_RCO",1000],
["SCAR_L_STD_HOLO",500],
["SCAR_L_STD_Mk4CQT",1000],
["skavil_M60",1000],
["skavil_M60e3",1000],
["SVD",600],
["SVD_CAMO",600],
["SVD_des_EP1",600],
["USSR_5Rnd_408",300],
["USSR_cheytacM200_sd",5000],
["UZI_EP1",20],
["UZI_SD_EP1",20],
["vilSKS",100],
["vil_10Rnd_762x54_SV",10],
["vil_10Rnd_SVDK",10],
["vil_20Rnd_762x51_G3",3],
["vil_32Rnd_uzi",4],
["vil_32Rnd_UZI_SD",10],
["vil_9a91",200],
["vil_9a91_c",300],
["vil_9a91_csd",300],
["vil_Abakan",100],
["vil_Abakan_gp",100],
["vil_Abakan_P29",100],
["vil_AEK1",100],
["vil_AEK2",100],
["vil_AeK_23",200],
["vil_AeK_3",200],
["vil_AeK_3_K",200],
["vil_AEK_GL",100],
["vil_AG3",800],
["vil_AG36",200],
["vil_AG36A2",200],
["vil_AG36KA4",200],
["vil_AG36KV",200],
["vil_AG3EOT",800],
["vil_ak12",100],
["vil_ak12_ap",100],
["vil_ak12_gp",100],
["vil_AKM",200],
["vil_AKMS",200],
["vil_AKMSB",200],
["vil_AKMS_GP25",200],
["vil_AKM_GL",200],
["vil_AKS_47",200],
["vil_AKS_74",100],
["vil_AKS_74p",100],
["vil_AKS_74p_45",300],
["vil_AKS_74p_gp",100],
["vil_AKS_74_gp",100],
["vil_AKs_74_u",100],
["vil_AKs_74_u45",300],
["Vil_AKS_74_UB",100],
["Vil_AKS_74_UN_kobra",100],
["vil_AK_101",300],
["vil_AK_103",200],
["vil_AK_105",100],
["Vil_AK_105_c",100],
["vil_AK_107",100],
["Vil_AK_107_c",100],
["vil_AK_47",200],
["vil_AK_47_49",200],
["vil_AK_47_m1",200],
["vil_AK_74",100],
["vil_AK_74m",100],
["vil_AK_74m_c",100],
["vil_AK_74m_EOT",100],
["vil_AK_74m_EOT_Alfa",100],
["vil_AK_74m_EOT_FSB",100],
["vil_AK_74m_EOT_FSB_45",300],
["vil_AK_74m_EOT_FSB_60",400],
["vil_AK_74m_gp",100],
["vil_AK_74m_gp_29",100],
["vil_AK_74m_k",100],
["vil_AK_74m_p29",100],
["vil_AK_74M_PSO",200],
["vil_AK_74P",100],
["vil_AK_74_gp",100],
["vil_AK_74_N",100],
["vil_AK_nato_m1",300],
["vil_AK_nato_m80",300],
["vil_AMD",200],
["vil_AMD63",200],
["vil_ASH82",200],
["vil_B_HP",100],
["vil_G36a2",200],
["vil_G36CC",200],
["vil_G36E",200],
["vil_G36KA4",200],
["vil_G36KES",200],
["vil_G36KSK",200],
["vil_G36KSKdes",200],
["vil_G36KSKdesES",200],
["vil_G36KSKES",200],
["vil_G36KV3",200],
["vil_G36KV3Des",200],
["vil_G36KVA4",200],
["vil_G36KVZ",200],
["vil_G36VA4",200],
["vil_G36VA4Eot",200],
["vil_G3a2",800],
["vil_G3a3",800],
["vil_G3a4",800],
["vil_G3a4b",800],
["vil_G3an",800],
["vil_G3anb",800],
["vil_G3SG1",800],
["vil_G3sg1b",800],
["vil_G3TGS",800],
["vil_G3TGSb",800],
["vil_G3ZF",800],
["vil_G3zfb",800],
["vil_Galil",300],
["vil_Galil_arm",300],
["vil_Glock",100],
["vil_Glock_o",100],
["vil_Groza_GL",200],
["vil_Groza_HG",200],
["vil_Groza_SC",200],
["vil_Groza_SD",200],
["vil_HK417s",700],
["vil_M110",1000],
["vil_M110sd",1000],
["vil_M14G",900],
["vil_M21G",900],
["vil_M240_B",800],
["vil_M249_Para",300],
["vil_M64",200],
["vil_M70",200],
["vil_M70B",200],
["vil_Mg3",800],
["vil_MG4",800],
["vil_MG4E",800],
["vil_MP5SD_EOTech",20],
["vil_MP5_EOTech",20],
["vil_MPi",200],
["vil_PK",400],
["vil_PKP",1000],
["vil_PKP_EOT",1300],
["vil_PMI",200],
["vil_PMI74S",100],
["vil_RPD",1000],
["vil_RPK",600],
["vil_RPK74",600],
["vil_RPK74M",600],
["vil_RPK74M_P29",600],
["vil_RPK75",600],
["vil_RPK75_M72",600],
["vil_RPK75_Romania",600],
["vil_SKS",100],
["vil_SR25",1000],
["vil_SR25SD",1000],
["vil_SVDK",1000],
["vil_SVD_63",800],
["vil_SVD_M",800],
["vil_SVD_N",800],
["vil_SVD_P21",800],
["vil_SVD_S",800],
["vil_SV_98",1000],
["vil_SV_98_69",1000],
["vil_SV_98_SD",1000],
["vil_USP",100],
["vil_USP45",100],
["vil_USP45SD",100],
["vil_USPSD",100],
["vil_uzi",20],
["vil_uzimini",20],
["vil_uzimini_SD",20],
["vil_uzi_c",20],
["vil_uzi_SD",20],
["vil_VAL",300],
["vil_VAL_C",400],
["vil_Vikhr",200],
["vil_vsk94",300],
["vil_zastava_m84",1000],
["VSS_vintorez",1000],
["Winchester1866",10]
]; if (tfv_DEBUGGING) then { { diag_log format ["tfv - Price loaded - %1",_x]; } forEach tfv_TRADERS_PRICES; };
 
/*    *******************************************************************************************************************************************   */
/*    Anything below this line was not intended to be modified.                                                                                     */
/*    *******************************************************************************************************************************************   */
 
tfv_TRADERS = [];
{ tfv_TRADERS set [(count tfv_TRADERS),(_x select 0)]; } forEach tfv_TRADERS_ITEMS;
tfv_TRADERS_TYPES = [];
{ tfv_TRADERS_TYPES set [(count tfv_TRADERS_TYPES),(_x select 2)]; } forEach tfv_TRADERS_ITEMS;
if (tfv_DEBUGGING) then { { diag_log format ["tfv - Trader loaded - %1",_x]; } forEach tfv_TRADERS; };
tfv_SALE_SUCCESS_STRING = "Sold %1 weapons from your vehicle";
tfv_SALE_SUCCESS_STRING_MAGS = "Sold %1 items from your vehicle";
tfv_PREP_FOR_TRADE = "Starting trade in %1 seconds, move to cancel";
tfv_CANCELLED_TRADE = "Trade cancelled";
tfv_STARTING_TRADE = "Starting trade";
tfv_TRADE_STEPS = "Trading, stage %1 of %2";
tfv_TRADE_CANCELLED_END = "Trade cancelled\nMake sure your vehicle is empty and isn't moving";
tfv_SIDENOTE = "You were paid an %1";
tfv_VEHICLE_CONFIRM = "Trading from %1";
tfv_NO_WEAPONS = "There is no weapons inside your vehicle (%1)";
tfv_NO_MAGAZINES = "There is no items inside your vehicle (%1)";
tfv_ACTION_INDEX = -1;
tfv_ACTION = 0;
tfv_ACTION_INDEX_MAGS = -1;
tfv_ACTION_MAGS = 0;
tfv_IS_TRADING = false;
tfv_EXCHANGE = [
["ItemBriefcase100oz",10000],
["ItemBriefcase90oz",9000],
["ItemBriefcase80oz",8000],
["ItemBriefcase70oz",7000],
["ItemBriefcase60oz",6000],
["ItemBriefcase50oz",5000],
["ItemBriefcase40oz",4000],
["ItemBriefcase30oz",3000],
["ItemBriefcase20oz",2000],
["ItemGoldBar10oz",1000],
["ItemGoldBar9oz",900],
["ItemGoldBar8oz",800],
["ItemGoldBar7oz",700],
["ItemGoldBar6oz",600],
["ItemGoldBar5oz",500],
["ItemGoldBar4oz",400],
["ItemGoldBar3oz",300],
["ItemGoldBar2oz",200],
["ItemGoldBar",100],
["ItemBriefcaseS90oz",90],
["ItemBriefcaseS80oz",80],
["ItemBriefcaseS70oz",70],
["ItemBriefcaseS60oz",60],
["ItemBriefcaseS50oz",50],
["ItemBriefcaseS40oz",40],
["ItemBriefcaseS30oz",30],
["ItemBriefcaseS20oz",20],
["ItemSilverBar10oz",10],
["ItemSilverBar9oz",9],
["ItemSilverBar8oz",8],
["ItemSilverBar7oz",7],
["ItemSilverBar6oz",6],
["ItemSilverBar5oz",5],
["ItemSilverBar4oz",4],
["ItemSilverBar3oz",3],
["ItemSilverBar2oz",2],
["ItemSilverBar",1]
]; if (tfv_DEBUGGING) then { { diag_log format ["tfv - Exchange loaded - %1",_x]; } forEach tfv_EXCHANGE; };
 
/*    *******************************************************************************************************************************************   */
/*    Functions.                                                                                                                                    */
/*    *******************************************************************************************************************************************   */
 
tfv_fnc_aConcat =        compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_aConcat.sqf";
tfv_fnc_checkTrade =     compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_checkTrade.sqf";
tfv_fnc_Convert =        compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_Convert.sqf";
tfv_fnc_findPrices =     compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_findPrices.sqf";
tfv_fnc_findTrWeapons =  compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_findTrWeapons.sqf";
tfv_fnc_getSteps =       compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_getSteps.sqf";
tfv_fnc_payTrade =       compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_payTrade.sqf";
tfv_fnc_wCount =         compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_wCount.sqf";
tfv_fnc_mCount =         compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_mCount.sqf";
tfv_fnc_checkTradeMags = compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_checkTradeMags.sqf";
tfv_fnc_aConcatMags =    compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_aConcatMags.sqf";
tfv_fnc_getStepsMags =   compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_getStepsMags.sqf";
tfv_fnc_payTradem =      compile preprocessFileLineNumbers "TradeFromVehicle\functions\fnc_payTradem.sqf";
 
/*    *******************************************************************************************************************************************   */
/*    Init file finished. Start monitor script.    */    [] ExecVM "TradeFromVehicle\monitor.sqf";

/*    *******************************************************************************************************************************************   */

Link to comment
Share on other sites

I just found this mod and, hating manual configuration, adapted the nice sql call into traders_data.

 

So, here a version generating only the list of prices, including ItemBriefcase100oz and uniquely sorted:

    SELECT case SPLIT_STR(sell,',',2)
    when '\"ItemBriefcase100oz\"' then
    (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*10000,'],') )
    when '\"ItemGoldBar10oz\"' then
    (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*1000,'],') )
    when '\"ItemGoldBar\"' then
    (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*100,'],') )
    when '\"ItemSilverBar10oz\"' then
    (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*10,'],') )
    when '\"ItemSilverBar\"' then
    (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[',''),'],') )
    end as list
    FROM traders_data where afile in ('trade_weapons','trade_items')
    group by list 

Works with PhpMyAdmin, lets you choose 'show all' and copy the whole list (only thing to do is to remove the headers 'list' that occur every 100 lines).

Nice way to spot inconsistent pricing, too ;-)

How exactly would I use something like this? Via phpMyAdmin or Navicat (or some other sql thing, I try to stick to those two though)

 

Trying to learn more about sql, but I suppose trying to create a simple function isn't a good start...

Link to comment
Share on other sites

I simply paste it into the codebox you get when you press the SQL-button in phpMyAdmin.

 

Beware that I'm not sure if it makes a difference if you use the SQL button you get on the entry level of <servername> (where you define the functions) or the one on the level of the dayz_epoch tables. The last one works for me.

 

Naturally you'll have to define the function SPLIT_STR first, as per manual.

 

I know nearly nothing about sql; I'm trying to generate the list of 'items by trader-skin' but didn't manage it, so far. That's a far more complicated problem; I already can generate a list of skins, the list of tids and a properly formatted list of items for a given tid.

Merging those eludes me....it isn't made easier by the facts that I cannot use loops (loop over list of tids would be nice) and that the output of a select statement is not shown on the screen when the select is part of a procedure. I'll have to fiddle with temporary tables populated in a procedure and selected from on the main script. 

Link to comment
Share on other sites

Have a look at Mugzy's post:

 

 

  • Connect to your database using phpMyAdmin.
  • Press the SQL button on the top level (default: 'dayz_epoch') of the db (do not click on 'tables', before), a page will open where you can drop sql statements.
  • Copy the definition of SPLIT_STR from the link above (or from the installation instructions readme.md) and paste it into the sql input window, click ok. Under dayz_epoch/functions you'll now find SPLIT_STR.
  • Press the SQL-button again (maybe you have to click on 'tables', first, but I don't think so) to open another input window.
  • Copy either Mugzy's sql statement or mine into the window and press ok. In both cases you'll get a result displayed on your screen. Mugzy's has 2 columns instead of the one you need for the tfv_TRADERS_PRICES array and does not handle sell prices in the briefcase range.
  • As the list will have more than 25 entries press 'show all' and copy/paste the whole output into tfv_TRADERS_PRICES in your TFV init.sqf. Be sure to delete the last ',' and close the bracket correctly.
  • Also look for the column header 'list' that phpMyAdmin will place every 100 lines of output, delete those occurrences.
Link to comment
Share on other sites

Still have problems that not all Traders are working.

I dont get the Trade From Vehicle option on the medical, food & Drink, Building supplys, and Bandit trader.

My Traders Part from the TFV inti.sqf:


tfv_TRADERS_ITEMS = [
        ["GUE_Soldier_Crew_DZ",["vil_type88_1","vil_SKS","vil_sg542f","vil_sg542","vil_sg540","vil_Rak74sgl","vil_PMIS","vil_PMI74S","vil_PMI","vil_MPi","vil_M70B","vil_M70","vil_M64","vil_M4_EOT","vil_Insas_lmg","vil_Insas","vil_HK416_IS","vil_HK416_GL","vil_HK416_EOT","VIL_HK416_EDR","vil_HK416_Aim","vil_HK33","vil_Galil_arm","vil_Galil","vil_G3zfb","vil_G3ZF","vil_G3TGSb","vil_G3TGS","vil_G3sg1b","vil_G3SG1","vil_G3anb","vil_G3an","vil_G3a4b","vil_G3a4","vil_G3a3","vil_G3a2","vil_G36VA4Eot","vil_G36VA4","vil_G36KVZ","vil_G36KVA4","vil_G36KV3Des","vil_G36KV3","vil_G36KSKES","vil_G36KSKdesES","vil_G36KSKdes","vil_G36KSK","vil_G36KES","vil_G36KA4","vil_G36E","vil_G36CC","vil_G36a2","vil_Fal_Para","vil_Fal","vil_ASH82","vil_AMD63","vil_AMD","vil_AK_nato_m80","vil_AK_nato_m1","vil_AK_74m_p29","vil_AK_74m_k","vil_AK_74m_gp_29","vil_AK_74m_gp","vil_AK_74m_EOT_FSB_60","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT","vil_AK_74m_c","vil_AK_47_m1","vil_AK_47_49","vil_AK_47","vil_AKS_BASE","vil_AKS_47","vil_AKM_GL","vil_AKM_BASE","vil_AKMS_GP25","vil_AKMSB","vil_AKMS","vil_AKM","vil_AK47_BASE","vil_ak12_gp","vil_ak12_ap","vil_ak12","vil_AG3EOT","vil_AG36KV","vil_AG36KA4","vil_AG36A2","vil_AG36","vil_AG3","vil_AEK_GL","vil_AeK_3_K","vil_AeK_3","vil_AeK_23","vil_AEK2","vil_AEK1","vil_Abakan_P29","vil_Abakan_gp","vil_Abakan","Sa58V_RCO_EP1","Sa58V_EP1","Sa58V_CCO_EP1","Sa58P_EP1","RPK_47","RH_star21","RH_massdeotech","RH_massdaim","RH_massdacog","RH_massd","RH_maseotech","RH_masbsdeotech","RH_masbsdaim","RH_masbsdacog","RH_masbsd","RH_masbeotech","RH_masbaim","RH_masbacog","RH_masb","RH_masaim","RH_masacog","RH_mas","RH_m14aim","RH_m14","RH_hk417sp","RH_hk417sgleotech","RH_hk417sglaim","RH_hk417sglacog","RH_hk417sgl","RH_hk417seotech","RH_hk417sdsp","RH_hk417sdeotech","RH_hk417sdaim","RH_hk417sdacog","RH_hk417sd","RH_hk417saim","RH_hk417sacog","RH_hk417s","RH_hk417eotech","RH_hk417aim","RH_hk417acog","RH_hk417","RH_hk416sgleotech","RH_hk416sglaim","RH_hk416sglacog","RH_hk416sgl","RH_hk416seotech","RH_hk416sdgleotech","RH_hk416sdglaim","RH_hk416sdgl","RH_hk416sdeotech","RH_hk416sdaim","RH_hk416sd","RH_hk416saim","RH_hk416sacog","RH_hk416s","RH_hk416gleotech","RH_hk416glaim","RH_hk416glacog","RH_hk416gl","RH_hk416eotech","RH_hk416aim","RH_hk416acog","RH_hk416","RH_ctar21mgl","RH_ctar21m","RH_ctar21glacog","RH_ctar21","RH_acrgleotech","RH_acrglaim","RH_acrglacog","RH_acrgl","RH_acreotech","RH_acrbgleotech","RH_acrbglaim","RH_acrbglacog","RH_acrbgl","RH_acrbaim","RH_acrbacog","RH_acrb","RH_acraim","RH_acracog","RH_acr","M4A3_CCO_EP1","M4A1_HWS_GL_camo","M4A1_AIM_SD_camo","M4A1_Aim","M4A1","M16A4_GL","M16A4_ACG_GL","M16A4_ACG","M16A2GL","M16A2","G36K_camo","G36C_camo","G36C","G36A_camo","FN_FAL","FHQ_ACR_WDL_RCO_SD_F","FHQ_ACR_WDL_RCO_SD","FHQ_ACR_WDL_RCO_GL_SD_F","FHQ_ACR_WDL_RCO_GL_SD","FHQ_ACR_WDL_RCO_GL_F","FHQ_ACR_WDL_RCO_GL","FHQ_ACR_WDL_RCO_F","FHQ_ACR_WDL_RCO","FHQ_ACR_WDL_IRN_SD_F","FHQ_ACR_WDL_IRN_SD","FHQ_ACR_WDL_IRN_GL_SD_F","FHQ_ACR_WDL_IRN_GL_SD","FHQ_ACR_WDL_IRN_GL_F","FHQ_ACR_WDL_IRN_GL","FHQ_ACR_WDL_IRN_F","FHQ_ACR_WDL_IRN","FHQ_ACR_WDL_HWS_SD_F","FHQ_ACR_WDL_HWS_SD","FHQ_ACR_WDL_HWS_GL_SD_F","FHQ_ACR_WDL_HWS_GL_SD","FHQ_ACR_WDL_HWS_GL_F","FHQ_ACR_WDL_HWS_GL","FHQ_ACR_WDL_HWS_F","FHQ_ACR_WDL_HWS","FHQ_ACR_WDL_HAMR_SD_F","FHQ_ACR_WDL_HAMR_SD","FHQ_ACR_WDL_HAMR_GL_SD_F","FHQ_ACR_WDL_HAMR_GL_SD","FHQ_AC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GL","FHQ_ACR_BLK_HAMR","FHQ_ACR_BLK_G33_SD","FHQ_ACR_BLK_G33_GL_SD","FHQ_ACR_BLK_G33_GL","FHQ_ACR_BLK_G33","FHQ_ACR_BLK_CCO_SD_F","FHQ_ACR_BLK_CCO_SD","FHQ_ACR_BLK_CCO_GL_SD_F","FHQ_ACR_BLK_CCO_GL_SD","FHQ_ACR_BLK_CCO_GL_F","FHQ_ACR_BLK_CCO_GL","FHQ_ACR_BLK_CCO_F","FHQ_ACR_BLK_CCO","FHQ_ACR_BASE_L","FHQ_ACR_BASE_F","FHQ_ACR_BASE","BAF_L85A2_RIS_SUSAT","BAF_L85A2_RIS_Holo","AK_74","AK_47_M","AKS_74_U","AKS_74_kobra","FHQ_ACR_TAN_G33_GL","FHQ_ACR_SNW_HAMR_GL","Winchester1866","Remington870_lamp","MR43","M1014","LeeEnfield","Crossbow_DZ","vil_G3TGS","vil_G36KSKdesES","vil_SV_98","vil_SV_98_SD","vil_SV_98_69","vil_SV_98","vil_SVD_P21","vil_SVD_N","vil_SVD_63","vil_SVDK","vil_SR25SD","vil_SR25","vil_M91","vil_M76","vil_M24b","vil_M21G","vil_M21","vil_M14G","vil_M14","vil_M110sd","vil_M110","vil_HK417s","USSR_cheytacM200_sd","USSR_cheytacM200","SVD_des_EP1","SVD_CAMO","SVD","RH_sc2sp","RH_sc2shd","RH_sc2eot","RH_sc2aim","RH_sc2acog","RH_sc2","RH_m21","RH_m1stsp","RH_m1stshd","RH_m1steot","RH_m1staim","RH_m1stacog","RH_m1st","RH_m1ssp","RH_m1sshd","RH_m1seot","RH_m1saim","RH_m1sacog","RH_m1s","M4SPR","M40A3","M24_des_EP1","M24","M14_EP1","huntingrifle","FHQ_XM2010_WDL_CAMO","FHQ_XM2010_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_DESERT","FHQ_XM2010_BASE","FHQ_RSASS_TAN","FHQ_RSASS_SD_BASE","FHQ_RSASS_BASE","DMR_DZ","FHQ_ACR_TAN_HAMR","M4SPR","vil_zastava_m84","vil_RPK75_Romania","vil_RPK75_M72","vil_RPK74M_P29","vil_RPK74M_N","vil_RPK74M","vil_RPK74","vil_RPK","vil_RPD","vil_PKP_EOT","vil_PKP","vil_PKM_N","vil_PKM","vil_PK","vil_Minimi","vil_MG4E","vil_MG4","vil_Mg3","vil_M249_Para","vil_M240_B","vil_FnMag","USSOF_Mk_48","skavil_M60e3","skavil_M60","Pecheneg_DZ","Mk_48_DZ","Mk_48_DES_EP1","M249_EP1_DZ","M249_DZ","M240_DZ","vil_M21","vil_M24b","vil_uzi_SD","vil_uzi_c","vil_uzimini_SD","vil_uzimini","vil_uzi","vil_MP5_EOTech","vil_MP5SD_EOTech","vil_9a91_csd","vil_9a91_c","vil_9a91","UZI_SD_EP1","UZI_EP1","Sa61_EP1","RH_vz61","RH_tec9","RH_muzi","MP5SD","MP5A5","bizon_silenced","bizon_DZ","vil_M14","vil_USPSD","vil_USP45SD","vil_USP45","vil_USP","vil_Tt33","Vil_PYA","vil_Glock_o","vil_Glock","vil_B_HP","vil_apssd","vil_APS","RH_uspsd","RH_uspm","RH_usp","RH_tt33","RH_python","RH_ppk","RH_p38","RH_p226s","RH_p226","RH_mk22vsd","RH_mk22v","RH_mk22sd","RH_mk22","RH_mk2","RH_m9sd","RH_m9csd","RH_m9c","RH_m93r","RH_m9","RH_m1911sd","RH_m1911old","RH_m1911","RH_g19t","RH_g19","RH_g18","RH_g17sd","RH_g17","RH_Deagles","RH_Deaglemzb","RH_Deaglemz","RH_Deaglem","RH_Deagleg","RH_deagle","RH_bull","RH_browninghp","RH_anacg","RH_anac","revolver_gold_EP1","revolver_EP1","MakarovSD","Makarov","M9SD","M9","glock17_EP1","DDOPP_X3_b","DDOPP_X3","DDOPP_X26_b","DDOPP_X26","Colt1911","vil_75Rnd_762x39_AK47","vil_45Rnd_545x39_AK","vil_40Rnd_762x39_AK47","Vil_35Rnd_556x45_G","Vil_30Rnd_556x45_HK","vil_20Rnd_762x51_G3","vil_20Rnd_556x45_SG","vil_20Rnd_556x45_IN","vil_10Rnd_762x39_SKS","RH_20Rnd_762x51_SD_hk417","RH_20Rnd_762x51_hk417","FHQ_rem_30Rnd_680x43_ACR_SD","FHQ_rem_30Rnd_680x43_ACR","FHQ_rem_20Rnd_762x51_PMAG_NT_SD","FHQ_rem_20Rnd_762x51_PMAG_NT","30Rnd_762x39_SA58","30Rnd_762x39_AK47","30Rnd_556x45_StanagSD","30Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_545x39_AKSD","30Rnd_545x39_AK","20Rnd_762x51_FNFAL","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","2Rnd_shotgun_74Slug","2Rnd_shotgun_74Pellets","15Rnd_W1866_Slug","10x_303","vil_100Rnd_762x39_RPD","75Rnd_545x39_RPK","200Rnd_556x45_M249","100Rnd_762x54_PK","100Rnd_762x51_M240","100Rnd_556x45_BetaCMag","vil_10Rnd_762x54_SV","USSR_5Rnd_408","gms_k98_mag","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD","FHQ_rem_7Rnd_338Lapua_MSR_NT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD","FHQ_rem_5Rnd_300Win_XM2010_NT","5x_22_LR_17_HMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","10Rnd_762x54_SVD","vil_32Rnd_UZI_SD","vil_32Rnd_uzi","RH_32Rnd_9x19_Muzi","RH_30Rnd_9x19_tec","RH_20Rnd_32cal_vz61","64Rnd_9x19_SD_Bizon","30Rnd_9x19_UZI_SD","30Rnd_9x19_UZI","30Rnd_9x19_MP5SD","30rnd_9x19_MP5","20Rnd_B_765x17_Ball","vil_usp45_mag","vil_usp45sd_mag","vil_bhp_mag","vil_8Rnd_TT","vil_20Rnd_9x39_SP6ns_OC","vil_20Rnd_9x18_apsSD","vil_20Rnd_9x18_aps","vil_17Rnd_9x19_PYA","vil_10Rnd_PSL","vil_10Rnd_Mauser","RH_8Rnd_9x19_P38","RH_8Rnd_9x19_Mksd","RH_8Rnd_9x19_Mk","RH_8Rnd_762_tt33","RH_8Rnd_45cal_m1911","RH_7Rnd_50_AE","RH_7Rnd_32cal_ppk","RH_6Rnd_44_Mag","RH_6Rnd_357_Mag","RH_20Rnd_9x19_M93","RH_19Rnd_9x19_g18","RH_17Rnd_9x19_g17SD","RH_17Rnd_9x19_g17","RH_15Rnd_9x19_uspsd","RH_15Rnd_9x19_usp","RH_13Rnd_9x19_bhp","RH_12Rnd_45cal_usp","RH_10Rnd_22LR_mk2","DDOPP_3Rnd_X3","DDOPP_1Rnd_X26","8Rnd_9x18_MakarovSD","8Rnd_9x18_Makarov","7Rnd_45ACP_1911","6Rnd_45ACP","17Rnd_9x19_glock17","15Rnd_9x19_M9SD","15Rnd_9x19_M9"],["weapons","items"],0],
        ["Soldier_Sniper_PMC_DZ",["vil_type88_1","vil_SKS","vil_sg542f","vil_sg542","vil_sg540","vil_Rak74sgl","vil_PMIS","vil_PMI74S","vil_PMI","vil_MPi","vil_M70B","vil_M70","vil_M64","vil_M4_EOT","vil_Insas_lmg","vil_Insas","vil_HK416_IS","vil_HK416_GL","vil_HK416_EOT","VIL_HK416_EDR","vil_HK416_Aim","vil_HK33","vil_Galil_arm","vil_Galil","vil_G3zfb","vil_G3ZF","vil_G3TGSb","vil_G3TGS","vil_G3sg1b","vil_G3SG1","vil_G3anb","vil_G3an","vil_G3a4b","vil_G3a4","vil_G3a3","vil_G3a2","vil_G36VA4Eot","vil_G36VA4","vil_G36KVZ","vil_G36KVA4","vil_G36KV3Des","vil_G36KV3","vil_G36KSKES","vil_G36KSKdesES","vil_G36KSKdes","vil_G36KSK","vil_G36KES","vil_G36KA4","vil_G36E","vil_G36CC","vil_G36a2","vil_Fal_Para","vil_Fal","vil_ASH82","vil_AMD63","vil_AMD","vil_AK_nato_m80","vil_AK_nato_m1","vil_AK_74m_p29","vil_AK_74m_k","vil_AK_74m_gp_29","vil_AK_74m_gp","vil_AK_74m_EOT_FSB_60","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT","vil_AK_74m_c","vil_AK_47_m1","vil_AK_47_49","vil_AK_47","vil_AKS_BASE","vil_AKS_47","vil_AKM_GL","vil_AKM_BASE","vil_AKMS_GP25","vil_AKMSB","vil_AKMS","vil_AKM","vil_AK47_BASE","vil_ak12_gp","vil_ak12_ap","vil_ak12","vil_AG3EOT","vil_AG36KV","vil_AG36KA4","vil_AG36A2","vil_AG36","vil_AG3","vil_AEK_GL","vil_AeK_3_K","vil_AeK_3","vil_AeK_23","vil_AEK2","vil_AEK1","vil_Abakan_P29","vil_Abakan_gp","vil_Abakan","Sa58V_RCO_EP1","Sa58V_EP1","Sa58V_CCO_EP1","Sa58P_EP1","RPK_47","RH_star21","RH_massdeotech","RH_massdaim","RH_massdacog","RH_massd","RH_maseotech","RH_masbsdeotech","RH_masbsdaim","RH_masbsdacog","RH_masbsd","RH_masbeotech","RH_masbaim","RH_masbacog","RH_masb","RH_masaim","RH_masacog","RH_mas","RH_m14aim","RH_m14","RH_hk417sp","RH_hk417sgleotech","RH_hk417sglaim","RH_hk417sglacog","RH_hk417sgl","RH_hk417seotech","RH_hk417sdsp","RH_hk417sdeotech","RH_hk417sdaim","RH_hk417sdacog","RH_hk417sd","RH_hk417saim","RH_hk417sacog","RH_hk417s","RH_hk417eotech","RH_hk417aim","RH_hk417acog","RH_hk417","RH_hk416sgleotech","RH_hk416sglaim","RH_hk416sglacog","RH_hk416sgl","RH_hk416seotech","RH_hk416sdgleotech","RH_hk416sdglaim","RH_hk416sdgl","RH_hk416sdeotech","RH_hk416sdaim","RH_hk416sd","RH_hk416saim","RH_hk416sacog","RH_hk416s","RH_hk416gleotech","RH_hk416glaim","RH_hk416glacog","RH_hk416gl","RH_hk416eotech","RH_hk416aim","RH_hk416acog","RH_hk416","RH_ctar21mgl","RH_ctar21m","RH_ctar21glacog","RH_ctar21","RH_acrgleotech","RH_acrglaim","RH_acrglacog","RH_acrgl","RH_acreotech","RH_acrbgleotech","RH_acrbglaim","RH_acrbglacog","RH_acrbgl","RH_acrbaim","RH_acrbacog","RH_acrb","RH_acraim","RH_acracog","RH_acr","M4A3_CCO_EP1","M4A1_HWS_GL_camo","M4A1_AIM_SD_camo","M4A1_Aim","M4A1","M16A4_GL","M16A4_ACG_GL","M16A4_ACG","M16A2GL","M16A2","G36K_camo","G36C_camo","G36C","G36A_camo","FN_FAL","FHQ_ACR_WDL_RCO_SD_F","FHQ_ACR_WDL_RCO_SD","FHQ_ACR_WDL_RCO_GL_SD_F","FHQ_ACR_WDL_RCO_GL_SD","FHQ_ACR_WDL_RCO_GL_F","FHQ_ACR_WDL_RCO_GL","FHQ_ACR_WDL_RCO_F","FHQ_ACR_WDL_RCO","FHQ_ACR_WDL_IRN_SD_F","FHQ_ACR_WDL_IRN_SD","FHQ_ACR_WDL_IRN_GL_SD_F","FHQ_ACR_WDL_IRN_GL_SD","FHQ_ACR_WDL_IRN_GL_F","FHQ_ACR_WDL_IRN_GL","FHQ_ACR_WDL_IRN_F","FHQ_ACR_WDL_IRN","FHQ_ACR_WDL_HWS_SD_F","FHQ_ACR_WDL_HWS_SD","FHQ_ACR_WDL_HWS_GL_SD_F","FHQ_ACR_WDL_HWS_GL_SD","FHQ_ACR_WDL_HWS_GL_F","FHQ_ACR_WDL_HWS_GL","FHQ_ACR_WDL_HWS_F","FHQ_ACR_WDL_HWS","FHQ_ACR_WDL_HAMR_SD_F","FHQ_ACR_WDL_HAMR_SD","FHQ_ACR_WDL_HAMR_GL_SD_F","FHQ_ACR_WDL_HAMR_GL_SD","FHQ_ACR_WDL_HAMR_GL_F","FHQ_ACR_WDL_HAMR_GL","FHQ_ACR_WDL_HAMR_F","FHQ_ACR_WDL_HAMR","FHQ_ACR_WDL_G33_SD_F","FHQ_ACR_WDL_G33_SD","FHQ_ACR_WDL_G33_GL_SD_F","FHQ_ACR_W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LK_CCO_GL_SD_F","FHQ_ACR_BLK_CCO_GL_SD","FHQ_ACR_BLK_CCO_GL_F","FHQ_ACR_BLK_CCO_GL","FHQ_ACR_BLK_CCO_F","FHQ_ACR_BLK_CCO","FHQ_ACR_BASE_L","FHQ_ACR_BASE_F","FHQ_ACR_BASE","BAF_L85A2_RIS_SUSAT","BAF_L85A2_RIS_Holo","AK_74","AK_47_M","AKS_74_U","AKS_74_kobra","FHQ_ACR_TAN_G33_GL","FHQ_ACR_SNW_HAMR_GL","Winchester1866","Remington870_lamp","MR43","M1014","LeeEnfield","Crossbow_DZ","vil_G3TGS","vil_G36KSKdesES","vil_SV_98","vil_SV_98_SD","vil_SV_98_69","vil_SV_98","vil_SVD_P21","vil_SVD_N","vil_SVD_63","vil_SVDK","vil_SR25SD","vil_SR25","vil_M91","vil_M76","vil_M24b","vil_M21G","vil_M21","vil_M14G","vil_M14","vil_M110sd","vil_M110","vil_HK417s","USSR_cheytacM200_sd","USSR_cheytacM200","SVD_des_EP1","SVD_CAMO","SVD","RH_sc2sp","RH_sc2shd","RH_sc2eot","RH_sc2aim","RH_sc2acog","RH_sc2","RH_m21","RH_m1stsp","RH_m1stshd","RH_m1steot","RH_m1staim","RH_m1stacog","RH_m1st","RH_m1ssp","RH_m1sshd","RH_m1seot","RH_m1saim","RH_m1sacog","RH_m1s","M4SPR","M40A3","M24_des_EP1","M24","M14_EP1","huntingrifle","FHQ_XM2010_WDL_CAMO","FHQ_XM2010_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_DESERT","FHQ_XM2010_BASE","FHQ_RSASS_TAN","FHQ_RSASS_SD_BASE","FHQ_RSASS_BASE","DMR_DZ","FHQ_ACR_TAN_HAMR","M4SPR","vil_zastava_m84","vil_RPK75_Romania","vil_RPK75_M72","vil_RPK74M_P29","vil_RPK74M_N","vil_RPK74M","vil_RPK74","vil_RPK","vil_RPD","vil_PKP_EOT","vil_PKP","vil_PKM_N","vil_PKM","vil_PK","vil_Minimi","vil_MG4E","vil_MG4","vil_Mg3","vil_M249_Para","vil_M240_B","vil_FnMag","USSOF_Mk_48","skavil_M60e3","skavil_M60","Pecheneg_DZ","Mk_48_DZ","Mk_48_DES_EP1","M249_EP1_DZ","M249_DZ","M240_DZ","vil_M21","vil_M24b","vil_uzi_SD","vil_uzi_c","vil_uzimini_SD","vil_uzimini","vil_uzi","vil_MP5_EOTech","vil_MP5SD_EOTech","vil_9a91_csd","vil_9a91_c","vil_9a91","UZI_SD_EP1","UZI_EP1","Sa61_EP1","RH_vz61","RH_tec9","RH_muzi","MP5SD","MP5A5","bizon_silenced","bizon_DZ","vil_M14","vil_USPSD","vil_USP45SD","vil_USP45","vil_USP","vil_Tt33","Vil_PYA","vil_Glock_o","vil_Glock","vil_B_HP","vil_apssd","vil_APS","RH_uspsd","RH_uspm","RH_usp","RH_tt33","RH_python","RH_ppk","RH_p38","RH_p226s","RH_p226","RH_mk22vsd","RH_mk22v","RH_mk22sd","RH_mk22","RH_mk2","RH_m9sd","RH_m9csd","RH_m9c","RH_m93r","RH_m9","RH_m1911sd","RH_m1911old","RH_m1911","RH_g19t","RH_g19","RH_g18","RH_g17sd","RH_g17","RH_Deagles","RH_Deaglemzb","RH_Deaglemz","RH_Deaglem","RH_Deagleg","RH_deagle","RH_bull","RH_browninghp","RH_anacg","RH_anac","revolver_gold_EP1","revolver_EP1","MakarovSD","Makarov","M9SD","M9","glock17_EP1","DDOPP_X3_b","DDOPP_X3","DDOPP_X26_b","DDOPP_X26","Colt1911","vil_75Rnd_762x39_AK47","vil_45Rnd_545x39_AK","vil_40Rnd_762x39_AK47","Vil_35Rnd_556x45_G","Vil_30Rnd_556x45_HK","vil_20Rnd_762x51_G3","vil_20Rnd_556x45_SG","vil_20Rnd_556x45_IN","vil_10Rnd_762x39_SKS","RH_20Rnd_762x51_SD_hk417","RH_20Rnd_762x51_hk417","FHQ_rem_30Rnd_680x43_ACR_SD","FHQ_rem_30Rnd_680x43_ACR","FHQ_rem_20Rnd_762x51_PMAG_NT_SD","FHQ_rem_20Rnd_762x51_PMAG_NT","30Rnd_762x39_SA58","30Rnd_762x39_AK47","30Rnd_556x45_StanagSD","30Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_545x39_AKSD","30Rnd_545x39_AK","20Rnd_762x51_FNFAL","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","2Rnd_shotgun_74Slug","2Rnd_shotgun_74Pellets","15Rnd_W1866_Slug","10x_303","vil_100Rnd_762x39_RPD","75Rnd_545x39_RPK","200Rnd_556x45_M249","100Rnd_762x54_PK","100Rnd_762x51_M240","100Rnd_556x45_BetaCMag","vil_10Rnd_762x54_SV","USSR_5Rnd_408","gms_k98_mag","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD","FHQ_rem_7Rnd_338Lapua_MSR_NT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD","FHQ_rem_5Rnd_300Win_XM2010_NT","5x_22_LR_17_HMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","10Rnd_762x54_SVD","vil_32Rnd_UZI_SD","vil_32Rnd_uzi","RH_32Rnd_9x19_Muzi","RH_30Rnd_9x19_tec","RH_20Rnd_32cal_vz61","64Rnd_9x19_SD_Bizon","30Rnd_9x19_UZI_SD","30Rnd_9x19_UZI","30Rnd_9x19_MP5SD","30rnd_9x19_MP5","20Rnd_B_765x17_Ball","vil_usp45_mag","vil_usp45sd_mag","vil_bhp_mag","vil_8Rnd_TT","vil_20Rnd_9x39_SP6ns_OC","vil_20Rnd_9x18_apsSD","vil_20Rnd_9x18_aps","vil_17Rnd_9x19_PYA","vil_10Rnd_PSL","vil_10Rnd_Mauser","RH_8Rnd_9x19_P38","RH_8Rnd_9x19_Mksd","RH_8Rnd_9x19_Mk","RH_8Rnd_762_tt33","RH_8Rnd_45cal_m1911","RH_7Rnd_50_AE","RH_7Rnd_32cal_ppk","RH_6Rnd_44_Mag","RH_6Rnd_357_Mag","RH_20Rnd_9x19_M93","RH_19Rnd_9x19_g18","RH_17Rnd_9x19_g17SD","RH_17Rnd_9x19_g17","RH_15Rnd_9x19_uspsd","RH_15Rnd_9x19_usp","RH_13Rnd_9x19_bhp","RH_12Rnd_45cal_usp","RH_10Rnd_22LR_mk2","DDOPP_3Rnd_X3","DDOPP_1Rnd_X26","8Rnd_9x18_MakarovSD","8Rnd_9x18_Makarov","7Rnd_45ACP_1911","6Rnd_45ACP","17Rnd_9x19_glock17","15Rnd_9x19_M9SD","15Rnd_9x19_M9"],["weapons","items"],0],
        ["US_Delta_Force_AR_EP1",["vil_type88_1","vil_SKS","vil_sg542f","vil_sg542","vil_sg540","vil_Rak74sgl","vil_PMIS","vil_PMI74S","vil_PMI","vil_MPi","vil_M70B","vil_M70","vil_M64","vil_M4_EOT","vil_Insas_lmg","vil_Insas","vil_HK416_IS","vil_HK416_GL","vil_HK416_EOT","VIL_HK416_EDR","vil_HK416_Aim","vil_HK33","vil_Galil_arm","vil_Galil","vil_G3zfb","vil_G3ZF","vil_G3TGSb","vil_G3TGS","vil_G3sg1b","vil_G3SG1","vil_G3anb","vil_G3an","vil_G3a4b","vil_G3a4","vil_G3a3","vil_G3a2","vil_G36VA4Eot","vil_G36VA4","vil_G36KVZ","vil_G36KVA4","vil_G36KV3Des","vil_G36KV3","vil_G36KSKES","vil_G36KSKdesES","vil_G36KSKdes","vil_G36KSK","vil_G36KES","vil_G36KA4","vil_G36E","vil_G36CC","vil_G36a2","vil_Fal_Para","vil_Fal","vil_ASH82","vil_AMD63","vil_AMD","vil_AK_nato_m80","vil_AK_nato_m1","vil_AK_74m_p29","vil_AK_74m_k","vil_AK_74m_gp_29","vil_AK_74m_gp","vil_AK_74m_EOT_FSB_60","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT","vil_AK_74m_c","vil_AK_47_m1","vil_AK_47_49","vil_AK_47","vil_AKS_BASE","vil_AKS_47","vil_AKM_GL","vil_AKM_BASE","vil_AKMS_GP25","vil_AKMSB","vil_AKMS","vil_AKM","vil_AK47_BASE","vil_ak12_gp","vil_ak12_ap","vil_ak12","vil_AG3EOT","vil_AG36KV","vil_AG36KA4","vil_AG36A2","vil_AG36","vil_AG3","vil_AEK_GL","vil_AeK_3_K","vil_AeK_3","vil_AeK_23","vil_AEK2","vil_AEK1","vil_Abakan_P29","vil_Abakan_gp","vil_Abakan","Sa58V_RCO_EP1","Sa58V_EP1","Sa58V_CCO_EP1","Sa58P_EP1","RPK_47","RH_star21","RH_massdeotech","RH_massdaim","RH_massdacog","RH_massd","RH_maseotech","RH_masbsdeotech","RH_masbsdaim","RH_masbsdacog","RH_masbsd","RH_masbeotech","RH_masbaim","RH_masbacog","RH_masb","RH_masaim","RH_masacog","RH_mas","RH_m14aim","RH_m14","RH_hk417sp","RH_hk417sgleotech","RH_hk417sglaim","RH_hk417sglacog","RH_hk417sgl","RH_hk417seotech","RH_hk417sdsp","RH_hk417sdeotech","RH_hk417sdaim","RH_hk417sdacog","RH_hk417sd","RH_hk417saim","RH_hk417sacog","RH_hk417s","RH_hk417eotech","RH_hk417aim","RH_hk417acog","RH_hk417","RH_hk416sgleotech","RH_hk416sglaim","RH_hk416sglacog","RH_hk416sgl","RH_hk416seotech","RH_hk416sdgleotech","RH_hk416sdglaim","RH_hk416sdgl","RH_hk416sdeotech","RH_hk416sdaim","RH_hk416sd","RH_hk416saim","RH_hk416sacog","RH_hk416s","RH_hk416gleotech","RH_hk416glaim","RH_hk416glacog","RH_hk416gl","RH_hk416eotech","RH_hk416aim","RH_hk416acog","RH_hk416","RH_ctar21mgl","RH_ctar21m","RH_ctar21glacog","RH_ctar21","RH_acrgleotech","RH_acrglaim","RH_acrglacog","RH_acrgl","RH_acreotech","RH_acrbgleotech","RH_acrbglaim","RH_acrbglacog","RH_acrbgl","RH_acrbaim","RH_acrbacog","RH_acrb","RH_acraim","RH_acracog","RH_acr","M4A3_CCO_EP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ACR_BASE","BAF_L85A2_RIS_SUSAT","BAF_L85A2_RIS_Holo","AK_74","AK_47_M","AKS_74_U","AKS_74_kobra","FHQ_ACR_TAN_G33_GL","FHQ_ACR_SNW_HAMR_GL","Winchester1866","Remington870_lamp","MR43","M1014","LeeEnfield","Crossbow_DZ","vil_G3TGS","vil_G36KSKdesES","vil_SV_98","vil_SV_98_SD","vil_SV_98_69","vil_SV_98","vil_SVD_P21","vil_SVD_N","vil_SVD_63","vil_SVDK","vil_SR25SD","vil_SR25","vil_M91","vil_M76","vil_M24b","vil_M21G","vil_M21","vil_M14G","vil_M14","vil_M110sd","vil_M110","vil_HK417s","USSR_cheytacM200_sd","USSR_cheytacM200","SVD_des_EP1","SVD_CAMO","SVD","RH_sc2sp","RH_sc2shd","RH_sc2eot","RH_sc2aim","RH_sc2acog","RH_sc2","RH_m21","RH_m1stsp","RH_m1stshd","RH_m1steot","RH_m1staim","RH_m1stacog","RH_m1st","RH_m1ssp","RH_m1sshd","RH_m1seot","RH_m1saim","RH_m1sacog","RH_m1s","M4SPR","M40A3","M24_des_EP1","M24","M14_EP1","huntingrifle","FHQ_XM2010_WDL_CAMO","FHQ_XM2010_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_DESERT","FHQ_XM2010_BASE","FHQ_RSASS_TAN","FHQ_RSASS_SD_BASE","FHQ_RSASS_BASE","DMR_DZ","FHQ_ACR_TAN_HAMR","M4SPR","vil_zastava_m84","vil_RPK75_Romania","vil_RPK75_M72","vil_RPK74M_P29","vil_RPK74M_N","vil_RPK74M","vil_RPK74","vil_RPK","vil_RPD","vil_PKP_EOT","vil_PKP","vil_PKM_N","vil_PKM","vil_PK","vil_Minimi","vil_MG4E","vil_MG4","vil_Mg3","vil_M249_Para","vil_M240_B","vil_FnMag","USSOF_Mk_48","skavil_M60e3","skavil_M60","Pecheneg_DZ","Mk_48_DZ","Mk_48_DES_EP1","M249_EP1_DZ","M249_DZ","M240_DZ","vil_M21","vil_M24b","vil_uzi_SD","vil_uzi_c","vil_uzimini_SD","vil_uzimini","vil_uzi","vil_MP5_EOTech","vil_MP5SD_EOTech","vil_9a91_csd","vil_9a91_c","vil_9a91","UZI_SD_EP1","UZI_EP1","Sa61_EP1","RH_vz61","RH_tec9","RH_muzi","MP5SD","MP5A5","bizon_silenced","bizon_DZ","vil_M14","vil_USPSD","vil_USP45SD","vil_USP45","vil_USP","vil_Tt33","Vil_PYA","vil_Glock_o","vil_Glock","vil_B_HP","vil_apssd","vil_APS","RH_uspsd","RH_uspm","RH_usp","RH_tt33","RH_python","RH_ppk","RH_p38","RH_p226s","RH_p226","RH_mk22vsd","RH_mk22v","RH_mk22sd","RH_mk22","RH_mk2","RH_m9sd","RH_m9csd","RH_m9c","RH_m93r","RH_m9","RH_m1911sd","RH_m1911old","RH_m1911","RH_g19t","RH_g19","RH_g18","RH_g17sd","RH_g17","RH_Deagles","RH_Deaglemzb","RH_Deaglemz","RH_Deaglem","RH_Deagleg","RH_deagle","RH_bull","RH_browninghp","RH_anacg","RH_anac","revolver_gold_EP1","revolver_EP1","MakarovSD","Makarov","M9SD","M9","glock17_EP1","DDOPP_X3_b","DDOPP_X3","DDOPP_X26_b","DDOPP_X26","Colt1911"],["weapons"],0],
        ["CZ_Special_Forces_GL_DES_EP1_DZ",["vil_type88_1","vil_SKS","vil_sg542f","vil_sg542","vil_sg540","vil_Rak74sgl","vil_PMIS","vil_PMI74S","vil_PMI","vil_MPi","vil_M70B","vil_M70","vil_M64","vil_M4_EOT","vil_Insas_lmg","vil_Insas","vil_HK416_IS","vil_HK416_GL","vil_HK416_EOT","VIL_HK416_EDR","vil_HK416_Aim","vil_HK33","vil_Galil_arm","vil_Galil","vil_G3zfb","vil_G3ZF","vil_G3TGSb","vil_G3TGS","vil_G3sg1b","vil_G3SG1","vil_G3anb","vil_G3an","vil_G3a4b","vil_G3a4","vil_G3a3","vil_G3a2","vil_G36VA4Eot","vil_G36VA4","vil_G36KVZ","vil_G36KVA4","vil_G36KV3Des","vil_G36KV3","vil_G36KSKES","vil_G36KSKdesES","vil_G36KSKdes","vil_G36KSK","vil_G36KES","vil_G36KA4","vil_G36E","vil_G36CC","vil_G36a2","vil_Fal_Para","vil_Fal","vil_ASH82","vil_AMD63","vil_AMD","vil_AK_nato_m80","vil_AK_nato_m1","vil_AK_74m_p29","vil_AK_74m_k","vil_AK_74m_gp_29","vil_AK_74m_gp","vil_AK_74m_EOT_FSB_60","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT","vil_AK_74m_c","vil_AK_47_m1","vil_AK_47_49","vil_AK_47","vil_AKS_BASE","vil_AKS_47","vil_AKM_GL","vil_AKM_BASE","vil_AKMS_GP25","vil_AKMSB","vil_AKMS","vil_AKM","vil_AK47_BASE","vil_ak12_gp","vil_ak12_ap","vil_ak12","vil_AG3EOT","vil_AG36KV","vil_AG36KA4","vil_AG36A2","vil_AG36","vil_AG3","vil_AEK_GL","vil_AeK_3_K","vil_AeK_3","vil_AeK_23","vil_AEK2","vil_AEK1","vil_Abakan_P29","vil_Abakan_gp","vil_Abakan","Sa58V_RCO_EP1","Sa58V_EP1","Sa58V_CCO_EP1","Sa58P_EP1","RPK_47","RH_star21","RH_massdeotech","RH_massdaim","RH_massdacog","RH_massd","RH_maseotech","RH_masbsdeotech","RH_masbsdaim","RH_masbsdacog","RH_masbsd","RH_masbeotech","RH_masbaim","RH_masbacog","RH_masb","RH_masaim","RH_masacog","RH_mas","RH_m14aim","RH_m14","RH_hk417sp","RH_hk417sgleotech","RH_hk417sglaim","RH_hk417sglacog","RH_hk417sgl","RH_hk417seotech","RH_hk417sdsp","RH_hk417sdeotech","RH_hk417sdaim","RH_hk417sdacog","RH_hk417sd","RH_hk417saim","RH_hk417sacog","RH_hk417s","RH_hk417eotech","RH_hk417aim","RH_hk417acog","RH_hk417","RH_hk416sgleotech","RH_hk416sglaim","RH_hk416sglacog","RH_hk416sgl","RH_hk416seotech","RH_hk416sdgleotech","RH_hk416sdglaim","RH_hk416sdgl","RH_hk416sdeotech","RH_hk416sdaim","RH_hk416sd","RH_hk416saim","RH_hk416sacog","RH_hk416s","RH_hk416gleotech","RH_hk416glaim","RH_hk416glacog","RH_hk416gl","RH_hk416eotech","RH_hk416aim","RH_hk416acog","RH_hk416","RH_ctar21mgl","RH_ctar21m","RH_ctar21glacog","RH_ctar21","RH_acrgleotech","RH_acrglaim","RH_acrglacog","RH_acrgl","RH_acreotech","RH_acrbgleotech","RH_acrbglaim","RH_acrbglacog","RH_acrbgl","RH_acrbaim","RH_acrbacog","RH_acrb","RH_acraim","RH_acracog","RH_acr","M4A3_CCO_EP1","M4A1_HWS_GL_camo","M4A1_AIM_SD_camo","M4A1_Aim","M4A1","M16A4_GL","M16A4_ACG_GL","M16A4_ACG","M16A2GL","M16A2","G36K_camo","G36C_camo","G36C","G36A_camo","FN_FAL","FHQ_ACR_WDL_RCO_SD_F","FHQ_ACR_WDL_RCO_SD","FHQ_ACR_WDL_RCO_GL_SD_F","FHQ_ACR_WDL_RCO_GL_SD","FHQ_ACR_WDL_RCO_GL_F","FHQ_ACR_WDL_RCO_GL","FHQ_ACR_WDL_RCO_F","FHQ_ACR_WDL_RCO","FHQ_ACR_WDL_IRN_SD_F","FHQ_ACR_WDL_IRN_SD","FHQ_ACR_WDL_IRN_GL_SD_F","FHQ_ACR_WDL_IRN_GL_SD","FHQ_ACR_WDL_IRN_GL_F","FHQ_ACR_WDL_IRN_GL","FHQ_ACR_WDL_IRN_F","FHQ_ACR_WDL_IRN","FHQ_ACR_WDL_HWS_SD_F","FHQ_ACR_WDL_HWS_SD","FHQ_ACR_WDL_HWS_GL_SD_F","FHQ_ACR_WDL_HWS_GL_SD","FHQ_ACR_WDL_HWS_GL_F","FHQ_ACR_WDL_HWS_GL","FHQ_ACR_WDL_HWS_F","FHQ_ACR_WDL_HWS","FHQ_ACR_WDL_HAMR_SD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","FHQ_ACR_BLK_HWS","FHQ_ACR_BLK_HAMR_SD","FHQ_ACR_BLK_HAMR_GL_SD","FHQ_ACR_BLK_HAMR_GL","FHQ_ACR_BLK_HAMR","FHQ_ACR_BLK_G33_SD","FHQ_ACR_BLK_G33_GL_SD","FHQ_ACR_BLK_G33_GL","FHQ_ACR_BLK_G33","FHQ_ACR_BLK_CCO_SD_F","FHQ_ACR_BLK_CCO_SD","FHQ_ACR_BLK_CCO_GL_SD_F","FHQ_ACR_BLK_CCO_GL_SD","FHQ_ACR_BLK_CCO_GL_F","FHQ_ACR_BLK_CCO_GL","FHQ_ACR_BLK_CCO_F","FHQ_ACR_BLK_CCO","FHQ_ACR_BASE_L","FHQ_ACR_BASE_F","FHQ_ACR_BASE","BAF_L85A2_RIS_SUSAT","BAF_L85A2_RIS_Holo","AK_74","AK_47_M","AKS_74_U","AKS_74_kobra","FHQ_ACR_TAN_G33_GL","FHQ_ACR_SNW_HAMR_GL","Winchester1866","Remington870_lamp","MR43","M1014","LeeEnfield","Crossbow_DZ","vil_G3TGS","vil_G36KSKdesES","vil_SV_98","vil_SV_98_SD","vil_SV_98_69","vil_SV_98","vil_SVD_P21","vil_SVD_N","vil_SVD_63","vil_SVDK","vil_SR25SD","vil_SR25","vil_M91","vil_M76","vil_M24b","vil_M21G","vil_M21","vil_M14G","vil_M14","vil_M110sd","vil_M110","vil_HK417s","USSR_cheytacM200_sd","USSR_cheytacM200","SVD_des_EP1","SVD_CAMO","SVD","RH_sc2sp","RH_sc2shd","RH_sc2eot","RH_sc2aim","RH_sc2acog","RH_sc2","RH_m21","RH_m1stsp","RH_m1stshd","RH_m1steot","RH_m1staim","RH_m1stacog","RH_m1st","RH_m1ssp","RH_m1sshd","RH_m1seot","RH_m1saim","RH_m1sacog","RH_m1s","M4SPR","M40A3","M24_des_EP1","M24","M14_EP1","huntingrifle","FHQ_XM2010_WDL_CAMO","FHQ_XM2010_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_DESERT","FHQ_XM2010_BASE","FHQ_RSASS_TAN","FHQ_RSASS_SD_BASE","FHQ_RSASS_BASE","DMR_DZ","FHQ_ACR_TAN_HAMR","M4SPR","vil_zastava_m84","vil_RPK75_Romania","vil_RPK75_M72","vil_RPK74M_P29","vil_RPK74M_N","vil_RPK74M","vil_RPK74","vil_RPK","vil_RPD","vil_PKP_EOT","vil_PKP","vil_PKM_N","vil_PKM","vil_PK","vil_Minimi","vil_MG4E","vil_MG4","vil_Mg3","vil_M249_Para","vil_M240_B","vil_FnMag","USSOF_Mk_48","skavil_M60e3","skavil_M60","Pecheneg_DZ","Mk_48_DZ","Mk_48_DES_EP1","M249_EP1_DZ","M249_DZ","M240_DZ","vil_M21","vil_M24b","vil_uzi_SD","vil_uzi_c","vil_uzimini_SD","vil_uzimini","vil_uzi","vil_MP5_EOTech","vil_MP5SD_EOTech","vil_9a91_csd","vil_9a91_c","vil_9a91","UZI_SD_EP1","UZI_EP1","Sa61_EP1","RH_vz61","RH_tec9","RH_muzi","MP5SD","MP5A5","bizon_silenced","bizon_DZ","vil_M14","vil_USPSD","vil_USP45SD","vil_USP45","vil_USP","vil_Tt33","Vil_PYA","vil_Glock_o","vil_Glock","vil_B_HP","vil_apssd","vil_APS","RH_uspsd","RH_uspm","RH_usp","RH_tt33","RH_python","RH_ppk","RH_p38","RH_p226s","RH_p226","RH_mk22vsd","RH_mk22v","RH_mk22sd","RH_mk22","RH_mk2","RH_m9sd","RH_m9csd","RH_m9c","RH_m93r","RH_m9","RH_m1911sd","RH_m1911old","RH_m1911","RH_g19t","RH_g19","RH_g18","RH_g17sd","RH_g17","RH_Deagles","RH_Deaglemzb","RH_Deaglemz","RH_Deaglem","RH_Deagleg","RH_deagle","RH_bull","RH_browninghp","RH_anacg","RH_anac","revolver_gold_EP1","revolver_EP1","MakarovSD","Makarov","M9SD","M9","glock17_EP1","DDOPP_X3_b","DDOPP_X3","DDOPP_X26_b","DDOPP_X26","Colt1911"],["weapons"],0],
        ["Soldier_GL_PMC",["vil_75Rnd_762x39_AK47","vil_45Rnd_545x39_AK","vil_40Rnd_762x39_AK47","Vil_35Rnd_556x45_G","Vil_30Rnd_556x45_HK","vil_20Rnd_762x51_G3","vil_20Rnd_556x45_SG","vil_20Rnd_556x45_IN","vil_10Rnd_762x39_SKS","RH_20Rnd_762x51_SD_hk417","RH_20Rnd_762x51_hk417","FHQ_rem_30Rnd_680x43_ACR_SD","FHQ_rem_30Rnd_680x43_ACR","FHQ_rem_20Rnd_762x51_PMAG_NT_SD","FHQ_rem_20Rnd_762x51_PMAG_NT","30Rnd_762x39_SA58","30Rnd_762x39_AK47","30Rnd_556x45_StanagSD","30Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_545x39_AKSD","30Rnd_545x39_AK","20Rnd_762x51_FNFAL","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","2Rnd_shotgun_74Slug","2Rnd_shotgun_74Pellets","15Rnd_W1866_Slug","10x_303","vil_100Rnd_762x39_RPD","75Rnd_545x39_RPK","200Rnd_556x45_M249","100Rnd_762x54_PK","100Rnd_762x51_M240","100Rnd_556x45_BetaCMag","vil_10Rnd_762x54_SV","USSR_5Rnd_408","gms_k98_mag","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD","FHQ_rem_7Rnd_338Lapua_MSR_NT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD","FHQ_rem_5Rnd_300Win_XM2010_NT","5x_22_LR_17_HMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","10Rnd_762x54_SVD","vil_32Rnd_UZI_SD","vil_32Rnd_uzi","RH_32Rnd_9x19_Muzi","RH_30Rnd_9x19_tec","RH_20Rnd_32cal_vz61","64Rnd_9x19_SD_Bizon","30Rnd_9x19_UZI_SD","30Rnd_9x19_UZI","30Rnd_9x19_MP5SD","30rnd_9x19_MP5","20Rnd_B_765x17_Ball","vil_usp45_mag","vil_usp45sd_mag","vil_bhp_mag","vil_8Rnd_TT","vil_20Rnd_9x39_SP6ns_OC","vil_20Rnd_9x18_apsSD","vil_20Rnd_9x18_aps","vil_17Rnd_9x19_PYA","vil_10Rnd_PSL","vil_10Rnd_Mauser","RH_8Rnd_9x19_P38","RH_8Rnd_9x19_Mksd","RH_8Rnd_9x19_Mk","RH_8Rnd_762_tt33","RH_8Rnd_45cal_m1911","RH_7Rnd_50_AE","RH_7Rnd_32cal_ppk","RH_6Rnd_44_Mag","RH_6Rnd_357_Mag","RH_20Rnd_9x19_M93","RH_19Rnd_9x19_g18","RH_17Rnd_9x19_g17SD","RH_17Rnd_9x19_g17","RH_15Rnd_9x19_uspsd","RH_15Rnd_9x19_usp","RH_13Rnd_9x19_bhp","RH_12Rnd_45cal_usp","RH_10Rnd_22LR_mk2","DDOPP_3Rnd_X3","DDOPP_1Rnd_X26","8Rnd_9x18_MakarovSD","8Rnd_9x18_Makarov","7Rnd_45ACP_1911","6Rnd_45ACP","17Rnd_9x19_glock17","15Rnd_9x19_M9SD","15Rnd_9x19_M9"],["items"],0],
        ["Graves_Light_DZ",["vil_75Rnd_762x39_AK47","vil_45Rnd_545x39_AK","vil_40Rnd_762x39_AK47","Vil_35Rnd_556x45_G","Vil_30Rnd_556x45_HK","vil_20Rnd_762x51_G3","vil_20Rnd_556x45_SG","vil_20Rnd_556x45_IN","vil_10Rnd_762x39_SKS","RH_20Rnd_762x51_SD_hk417","RH_20Rnd_762x51_hk417","FHQ_rem_30Rnd_680x43_ACR_SD","FHQ_rem_30Rnd_680x43_ACR","FHQ_rem_20Rnd_762x51_PMAG_NT_SD","FHQ_rem_20Rnd_762x51_PMAG_NT","30Rnd_762x39_SA58","30Rnd_762x39_AK47","30Rnd_556x45_StanagSD","30Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_545x39_AKSD","30Rnd_545x39_AK","20Rnd_762x51_FNFAL","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","2Rnd_shotgun_74Slug","2Rnd_shotgun_74Pellets","15Rnd_W1866_Slug","10x_303","vil_100Rnd_762x39_RPD","75Rnd_545x39_RPK","200Rnd_556x45_M249","100Rnd_762x54_PK","100Rnd_762x51_M240","100Rnd_556x45_BetaCMag","vil_10Rnd_762x54_SV","USSR_5Rnd_408","gms_k98_mag","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD","FHQ_rem_7Rnd_338Lapua_MSR_NT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD","FHQ_rem_5Rnd_300Win_XM2010_NT","5x_22_LR_17_HMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","10Rnd_762x54_SVD","vil_32Rnd_UZI_SD","vil_32Rnd_uzi","RH_32Rnd_9x19_Muzi","RH_30Rnd_9x19_tec","RH_20Rnd_32cal_vz61","64Rnd_9x19_SD_Bizon","30Rnd_9x19_UZI_SD","30Rnd_9x19_UZI","30Rnd_9x19_MP5SD","30rnd_9x19_MP5","20Rnd_B_765x17_Ball","vil_usp45_mag","vil_usp45sd_mag","vil_bhp_mag","vil_8Rnd_TT","vil_20Rnd_9x39_SP6ns_OC","vil_20Rnd_9x18_apsSD","vil_20Rnd_9x18_aps","vil_17Rnd_9x19_PYA","vil_10Rnd_PSL","vil_10Rnd_Mauser","RH_8Rnd_9x19_P38","RH_8Rnd_9x19_Mksd","RH_8Rnd_9x19_Mk","RH_8Rnd_762_tt33","RH_8Rnd_45cal_m1911","RH_7Rnd_50_AE","RH_7Rnd_32cal_ppk","RH_6Rnd_44_Mag","RH_6Rnd_357_Mag","RH_20Rnd_9x19_M93","RH_19Rnd_9x19_g18","RH_17Rnd_9x19_g17SD","RH_17Rnd_9x19_g17","RH_15Rnd_9x19_uspsd","RH_15Rnd_9x19_usp","RH_13Rnd_9x19_bhp","RH_12Rnd_45cal_usp","RH_10Rnd_22LR_mk2","DDOPP_3Rnd_X3","DDOPP_1Rnd_X26","8Rnd_9x18_MakarovSD","8Rnd_9x18_Makarov","7Rnd_45ACP_1911","6Rnd_45ACP","17Rnd_9x19_glock17","15Rnd_9x19_M9SD","15Rnd_9x19_M9"],["items"],0],
        ["CIV_EuroWoman01_EP1",["ItemWaterbottleUnfilled","ItemSodaRbull","ItemSodaPepsi","ItemSodaOrangeSherbet","ItemSodaMdew","ItemSodaCoke","ItemTunaCooked","ItemTroutCooked","ItemSeaBassCooked","FoodrabbitCooked","FoodmuttonCooked","FoodchickenCooked","FoodbeefCooked","FoodbaconCooked","FoodPistachio","FoodNutmix","FoodMRE","FoodCanSardines","FoodCanPasta","FoodCanFrankBeans","FoodCanBakedBeans"],["items"],0],
        ["Damsel3",["ItemWaterbottleUnfilled","ItemSodaRbull","ItemSodaPepsi","ItemSodaOrangeSherbet","ItemSodaMdew","ItemSodaCoke","ItemTunaCooked","ItemTroutCooked","ItemSeaBassCooked","FoodrabbitCooked","FoodmuttonCooked","FoodchickenCooked","FoodbeefCooked","FoodbaconCooked","FoodPistachio","FoodNutmix","FoodMRE","FoodCanSardines","FoodCanPasta","FoodCanFrankBeans","FoodCanBakedBeans"],["items"],0],
        ["Dr_Annie_Baker_EP1",["ItemPainkiller","ItemMorphine","ItemHeatPack","ItemEpinephrine","ItemBloodbag","ItemBandage","ItemAntibiotic","HandRoadFlare","HandChemRed","HandChemGreen","HandChemBlue","FlareWhite_M203","FlareGreen_M203","SmokeShellRed","SmokeShellGreen","SmokeShell"],["items"],0],
        ["Dr_Hladik_EP1",["ItemPainkiller","ItemMorphine","ItemHeatPack","ItemEpinephrine","ItemBloodbag","ItemBandage","ItemAntibiotic","HandRoadFlare","HandChemRed","HandChemGreen","HandChemBlue","FlareWhite_M203","FlareGreen_M203","SmokeShellRed","SmokeShellGreen","SmokeShell"],["items"],0],
        ["GUE_Villager3",["ItemWire","ItemVault","ItemTentOld","ItemTentDomed2","ItemTentDomed","ItemTankTrap","ItemSandbag","ItemPole","ItemLightBulb","ItemGenerator","ItemCorrugated","30m_plot_kit","PartWheel","PartVRotor","PartGlass","PartGeneric","PartFueltank","PartEngine","ItemJerrycanEmpty","ItemJerrycan","ItemFuelBarrel","NVGoggles","ItemWatch","ItemToolbox","ItemMatchbox_DZE","ItemMap","ItemMachete","ItemKnife","ItemHatchet_DZE","ItemGPS","ItemFlashlightRed","ItemFlashlight","ItemFishingPole","ItemEtool","ItemCrowbar","ItemCompass","Binocular_Vector","Binocular"],["items","weapons"],0]
];
if (tfv_DEBUGGING) then { diag_log "tfv - Traders and their weapons loaded in!"; };

/*    *******************************************************************************************************************************************   */
/*    List of ALL weapons, regardless of trader, along with the prices.                                                                             */
/*    *******************************************************************************************************************************************   */

 

Maybe i done something wrong with the ["items","weapons"],0] section?

 

Thanks in Advance!

Ace
 

Link to comment
Share on other sites

Hi there,

 

I finally started configuring this on my server and wanted to share the pitfalls I've managed to climb out of after several hours ;-)

 

1) "items" -> "magazines" (ace, that will be (part of) your problem).

 

In the documentation.txt it says to add "weapons" and/or "items" as as type into tfv_TRADERS_ITEMS.

That's incorrect, monitor.sqf looks for the string "magazines" just as the example in the init.sqf states.

Any trader you have configured with "items" only, won't get any menu, any trader with ["weapons","items"] only the one for weapons.

 

2) canBuild

 

With 1.0.5 the definition canBuild=false has been moved out of the mission.sqm. For Cherno that means that e.g. the Wholesalers won't get a sell from vehicle menu unless you change something. I myself went the easy way and modified monitor.sqf. There you not only need to comment out the waituntil {!canBuild}; but disable both if clauses handling "removing action from player" (or your menu entry is deleted, created, deleted, ...). I did both introducing a local variable _canBuildLocal, set to false:


if (tfv_DEBUGGING) then { diag_log "tfv - monitor.sqf - starting"; };
private ["_vehicle","_crew","_driver","_ownsCar","_trader","_trader_obj","_traderIdx","_humanity","_canTrade","_canBuildLocal"];
_ownsCar = false;
_vehicle = objNull;
_canBuildLocal = false;

while {true} do {

if ((tfv_ACTION == 1) && (_canBuildLocal)) then {    //Remove the action if player is not in the trader and the action exists.
    diag_log "Player not in trade zone, removing action from player";
	player removeAction tfv_ACTION_INDEX;
	tfv_ACTION_INDEX = -1;
    tfv_ACTION = 0;
};

if ((tfv_ACTION_MAGS == 1) && (_canBuildLocal)) then {    //Remove the action if player is not in the trader and the action exists.
    diag_log "Player not in trade zone, removing action from player";
	player removeAction tfv_ACTION_INDEX_MAGS;
	tfv_ACTION_INDEX_MAGS = -1;
    tfv_ACTION_MAGS = 0;
};

waitUntil {!_canBuildLocal};
_humanity = player getVariable ["humanity",0];
_canTrade = false;

    if (vehicle player != player) then {    //Check if the player was in the driver seat.
		_vehicle = vehicle player;
	    _crew = crew _vehicle;
		_driver = _crew select 0;
		if (player == _driver) then {
		    _ownsCar = true;
		} else {
		    _ownsCar = false;
		};
	};
	
	if ((vehicle player == player) && !(isNull _vehicle)) then {    //Check to see if the owned vehicle is empty
	    if ((count (crew _vehicle)) != 0) then {
		    _ownsCar = false;
		};
	};
	
	if ((vehicle player == player) && (_ownsCar)) then {    //Check if what the player is looking at is a trader, that they were the driver and that the action hasn't already been added.
		if (typeOf cursorTarget in tfv_TRADERS) then {
		    {
			    if (typeOf cursorTarget == _x select 0) then {
				    if (_x select 3 > 0) then {					
						if (_humanity >= _x select 3) exitWith {
					        _canTrade = true;
					    };
					};
					if (_x select 3 < 0) then {
						if (_humanity <= _x select 3) exitWith {
					        _canTrade = true;
					    };					
					};
					if (_x select 3 == 0) then {
					    _canTrade = true;
					};
				};
			} forEach tfv_TRADERS_ITEMS;
		    if (_canTrade) then {        
					_traderIdx = tfv_TRADERS find (typeOf cursorTarget);
		            _trader = typeOf cursorTarget;
			        _trader_obj = cursorTarget;
			        if ((player distance _trader_obj < 5) && (tfv_ACTION == 0) && (_vehicle distance _trader_obj < 30)) then {
				    if (!tfv_IS_TRADING) then {    
					    if ("weapons" in (tfv_TRADERS_TYPES select _traderIdx)) then {    
						    if (tfv_ACTION != 1) then {    
							    tfv_ACTION_INDEX = player addAction ["<t color='#7CFC00'>Trade Weapons From Vehicle</t>","TradeFromVehicle\trade.sqf",[_trader,_vehicle],400,true,true];
				                tfv_ACTION = 1;
						    };
					    };
					    if ("magazines" in (tfv_TRADERS_TYPES select _traderIdx)) then {
					        if (tfv_ACTION_MAGS != 1) then {    
							    tfv_ACTION_INDEX_MAGS = player addAction ["<t color='#7CFC00'>Trade Items From Vehicle</t>","TradeFromVehicle\trade_magazines.sqf",[_trader,_vehicle],399,true,true];
				                tfv_ACTION_MAGS = 1;
						    };
					    };
				    };
			    };
		    };
		};
	};
	
    if !(typeOf cursorTarget in tfv_TRADERS) then {    //Check to see what the player is looking at and if it is a supported trader.
		if (tfv_ACTION == 1) then {
		    player removeAction tfv_ACTION_INDEX;
			tfv_ACTION_INDEX = -1;
            tfv_ACTION = 0;
		};
		if (tfv_ACTION_MAGS == 1) then {
		    player removeAction tfv_ACTION_INDEX_MAGS;
			tfv_ACTION_INDEX_MAGS = -1;
            tfv_ACTION_MAGS = 0;
		};
		
	};	
sleep 1;
};

 

3)  be driver!

When testing your config: don't forget that you must have been driver of your vehicle before the trader menu appears ;-)

 

4) some SQL, shortcuts

 

Remember that you can put a list of weapons into a variable and use this, later. My tfv_TRADERS_ITEMS is quite short:

tfv_TRADERS_ITEMS = [
["RU_Citizen4", tfv_ALL_ITEMS, ["weapons","magazines"],0],
["RU_Citizen1", tfv_ALL_ITEMS, ["weapons","magazines"],0]
];

using the variable tfv_ALL_ITEMS defined as

tfv_ALL_ITEMS = [
"100Rnd_127x99_M2",
<many many lines>,
"WoodenArrow"];

and filled mostly automatically using the sql statement

select concat('"',SPLIT_STR(item,'"',2), '",') as itemlist
 from traders_data 
 where tid in (
   select tid from traders_data where afile in ('trade_weapons','trade_items') group by tid
 ) 
 group by item
Link to comment
Share on other sites

Hi there,

 

I finally started configuring this on my server and wanted to share the pitfalls I've managed to climb out of after several hours ;-)

 

1) "items" -> "magazines" (ace, that will be (part of) your problem).

 

In the documentation.txt it says to add "weapons" and/or "items" as as type into tfv_TRADERS_ITEMS.

That's incorrect, monitor.sqf looks for the string "magazines" just as the example in the init.sqf states.

Any trader you have configured with "items" only, won't get any menu, any trader with ["weapons","items"] only the one for weapons.

 

2) canBuild

 

With 1.0.5 the definition canBuild=false has been moved out of the mission.sqm. For Cherno that means that e.g. the Wholesalers won't get a sell from vehicle menu unless you change something. I myself went the easy way and modified monitor.sqf. There you not only need to comment out the waituntil {!canBuild}; but disable both if clauses handling "removing action from player" (or your menu entry is deleted, created, deleted, ...). I did both introducing a local variable _canBuildLocal, set to false:


if (tfv_DEBUGGING) then { diag_log "tfv - monitor.sqf - starting"; };
private ["_vehicle","_crew","_driver","_ownsCar","_trader","_trader_obj","_traderIdx","_humanity","_canTrade","_canBuildLocal"];
_ownsCar = false;
_vehicle = objNull;
_canBuildLocal = false;

while {true} do {

if ((tfv_ACTION == 1) && (_canBuildLocal)) then {    //Remove the action if player is not in the trader and the action exists.
    diag_log "Player not in trade zone, removing action from player";
	player removeAction tfv_ACTION_INDEX;
	tfv_ACTION_INDEX = -1;
    tfv_ACTION = 0;
};

if ((tfv_ACTION_MAGS == 1) && (_canBuildLocal)) then {    //Remove the action if player is not in the trader and the action exists.
    diag_log "Player not in trade zone, removing action from player";
	player removeAction tfv_ACTION_INDEX_MAGS;
	tfv_ACTION_INDEX_MAGS = -1;
    tfv_ACTION_MAGS = 0;
};

waitUntil {!_canBuildLocal};
_humanity = player getVariable ["humanity",0];
_canTrade = false;

    if (vehicle player != player) then {    //Check if the player was in the driver seat.
		_vehicle = vehicle player;
	    _crew = crew _vehicle;
		_driver = _crew select 0;
		if (player == _driver) then {
		    _ownsCar = true;
		} else {
		    _ownsCar = false;
		};
	};
	
	if ((vehicle player == player) && !(isNull _vehicle)) then {    //Check to see if the owned vehicle is empty
	    if ((count (crew _vehicle)) != 0) then {
		    _ownsCar = false;
		};
	};
	
	if ((vehicle player == player) && (_ownsCar)) then {    //Check if what the player is looking at is a trader, that they were the driver and that the action hasn't already been added.
		if (typeOf cursorTarget in tfv_TRADERS) then {
		    {
			    if (typeOf cursorTarget == _x select 0) then {
				    if (_x select 3 > 0) then {					
						if (_humanity >= _x select 3) exitWith {
					        _canTrade = true;
					    };
					};
					if (_x select 3 < 0) then {
						if (_humanity <= _x select 3) exitWith {
					        _canTrade = true;
					    };					
					};
					if (_x select 3 == 0) then {
					    _canTrade = true;
					};
				};
			} forEach tfv_TRADERS_ITEMS;
		    if (_canTrade) then {        
					_traderIdx = tfv_TRADERS find (typeOf cursorTarget);
		            _trader = typeOf cursorTarget;
			        _trader_obj = cursorTarget;
			        if ((player distance _trader_obj < 5) && (tfv_ACTION == 0) && (_vehicle distance _trader_obj < 30)) then {
				    if (!tfv_IS_TRADING) then {    
					    if ("weapons" in (tfv_TRADERS_TYPES select _traderIdx)) then {    
						    if (tfv_ACTION != 1) then {    
							    tfv_ACTION_INDEX = player addAction ["<t color='#7CFC00'>Trade Weapons From Vehicle</t>","TradeFromVehicle\trade.sqf",[_trader,_vehicle],400,true,true];
				                tfv_ACTION = 1;
						    };
					    };
					    if ("magazines" in (tfv_TRADERS_TYPES select _traderIdx)) then {
					        if (tfv_ACTION_MAGS != 1) then {    
							    tfv_ACTION_INDEX_MAGS = player addAction ["<t color='#7CFC00'>Trade Items From Vehicle</t>","TradeFromVehicle\trade_magazines.sqf",[_trader,_vehicle],399,true,true];
				                tfv_ACTION_MAGS = 1;
						    };
					    };
				    };
			    };
		    };
		};
	};
	
    if !(typeOf cursorTarget in tfv_TRADERS) then {    //Check to see what the player is looking at and if it is a supported trader.
		if (tfv_ACTION == 1) then {
		    player removeAction tfv_ACTION_INDEX;
			tfv_ACTION_INDEX = -1;
            tfv_ACTION = 0;
		};
		if (tfv_ACTION_MAGS == 1) then {
		    player removeAction tfv_ACTION_INDEX_MAGS;
			tfv_ACTION_INDEX_MAGS = -1;
            tfv_ACTION_MAGS = 0;
		};
		
	};	
sleep 1;
};

Thanks will try this out, but do not know if I still make it today.

Link to comment
Share on other sites

Thanks will try this out, but do not know if I still make it today.

It works, but now when i try to buy normal a item or weapon and click the Trade Menu option, the item lists are all empty.

DOLCh.jpg

The clothing that wear my traders, i removed from the sale.

because if a player has the same clothes as my trader, you could buy things on this Player.

Maybe that's the problem?

Link to comment
Share on other sites

Sorry, no clue, my trader menues are present.

I cannot imagine that having the trader's skins in your config as saleable items would mess up something. The only backside to having them in the gabe is that a player/AI wearing them is getting a trader menu.

 

As far as I understand, this mod does nothing that really interferes with the traders, just adding a menu to anything that is wearing the skins you defined. Normal trader functionality should not be touched. You sure that in your efforts to get this mod working you didn't fiddle at places you shouldn't have?

Link to comment
Share on other sites

Sorry, no clue, my trader menues are present.

I cannot imagine that having the trader's skins in your config as saleable items would mess up something. The only backside to having them in the gabe is that a player/AI wearing them is getting a trader menu.

 

As far as I understand, this mod does nothing that really interferes with the traders, just adding a menu to anything that is wearing the skins you defined. Normal trader functionality should not be touched. You sure that in your efforts to get this mod working you didn't fiddle at places you shouldn't have?

Ya right, was a bit confused today.

I re-installed all my addons fresh, found out it was this VASP script from OtterNas3.

Something was wrong with the compiles.sqf....i already have one by using the Fast Trader Script,

but the VASP already brings a compile.sqf with it so maybe i done there a mistake.

Will try it the next days again to install the VASP, will give feedback then.

 

For now all is working, all traders what i set has the option TFV.

Thank you all for your help!

Ace

Link to comment
Share on other sites

Hi there Csus, I read a few pages back that you wouldn't mind if someone added in backpack functionality and some other people have been requesting it so I went ahead with adding it and I'll put it up on github shortly I hope you don't mind, you did a good job on the original scripts I didn't see any reason to start fresh :)

 

https://github.com/SJossy/Tfvb (Trade from Vehicles and Backpacks)

 

Feel free to check it if you want and make any commits, even if anyone else wants to make changes so it reads from database that would be nice

 

Edit> backpack simulation false wasn't working as intended so I've reverted back to checking counts each cycle.

Link to comment
Share on other sites

Could someone with more sqf knowledge than I have, try to code a case-insensitive match between items from the inventory of the vehicle and items defined in tfv_TRADERS_ITEMS, tfv_TRADERS_PRICES?

 

Reason:

  • The database itself is case insensitive, so when it is defined, there may be classname entries with mismatched upper/lower case that don't throw errors during normal gameplay.
  • When you use sql to extract values from the DB and put it into your init.sqf you copy these errors.
  • Then the script matches trader items vs. items in the vehicle and misses those that differ in case.

So it would be nice when you could do a case insensitive match or cast both arrays to lowercase before matching.

 

Possible?

Link to comment
Share on other sites

Ok, so my trader lines look like the following and when I add the canbuild lines to the ends my server simply hangs up on WAIT FOR HOST.  Any ideas? 

	items=10;
		class Item0
		{
			position[]={8246.3184,15.544708,15485.867};
			activationBy="WEST";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="Lenz";
			expCond="(player distance Lenz) < 50;";
			expActiv="[""trader city Lenzburg"",true,""enter""] spawn player_traderCity;";
			expDesactiv="[""trader city Lenzburg"",true,""leave""] spawn player_traderCity;";
			class Effects
			{
			};
		};
Link to comment
Share on other sites

To the people complaining that it's too much work:

 

With the split function and SQL Query it took me less than 10-15 mins.  Learn Notepad++ if you plan to Admin a server bro...

Would you like to share the SQL-query that enabled you to automatically fetch all trade items for all TIDs for every trader on a given map?

Link to comment
Share on other sites

canbuild is used because, generally it signifies that the player is in a trade zone.

if you look at your mission.sqm file and find the Class Sensors section you will see that on the majority of your trade areas the ExpActv will say canbuild=false and the ExpDesactiv will say canbuild=true;

 

an even simpler method to have this work with dynamic traders, providing the trader models are alwasy the same is just delete the line that says

waitUntil {!canBuild};

it's a little less efficient that way but it will work

 

I delete waitUntil {!canBuild};  working now for all my traders what i need, but menu flashing all the time, how to fix it?

 

 

 

 

 

b_560_95_1.png

Link to comment
Share on other sites

Hi all. Firstof all, thank you Csus for this script and Jossy for the great expansion.

I was trying to figure out how to add the "auto merge" function of the gold/silvers bar the is present for the regulars trades but i'm not really sure about the logic used in the fnc_payTrade:

private ["_bars","_rejects","_vehicle"];

_bars = _this select 0;

_rejects = _this select 1;

_vehicle = _this select 2;

clearWeaponCargoGlobal _vehicle;

{ _vehicle addWeaponCargoGlobal [_x,1]; } forEach _rejects;

{ player addMagazine [_x,1]; } forEach _bars;

    

true

seeing that is just called from this line:

tfv_fnc_payTrade =       compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_payTrade.sqf";

I'm fairly new to the arma/dayz scripting language, so maybe i'm missing something elementary...Anyone can point me in the right direction?

 

Just to be clear i would like to integrate this part of the dayz_code/compile/epoch_returnChange.sqf

// total currency
_total = _return_change;
 
_briefcase_100oz = floor(_total / 10000);
 
_gold_10oz_a = floor(_total / 1000);
_gold_10oz_b = _briefcase_100oz * 10;
_gold_10oz = (_gold_10oz_a - _gold_10oz_;
 
_gold_1oz_a = floor(_total / 100);
_gold_1oz_b = _gold_10oz_a * 10;
_gold_1oz = (_gold_1oz_a - _gold_1oz_;
 
_silver_10oz_a = floor(_total / 10);
_silver_10oz_b = _gold_1oz_a * 10;
_silver_10oz = (_silver_10oz_a - _silver_10oz_;
 
_silver_1oz_a = floor(_total);
_silver_1oz_b = _silver_10oz_a * 10;
_silver_1oz = (_silver_1oz_a - _silver_1oz_;
 
 
if (_briefcase_100oz > 0) then {
for "_x" from 1 to _briefcase_100oz do {
player addMagazine "ItemBriefcase100oz";
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _briefcase_100oz, "ItemBriefcase100oz"];
};
};
if (_gold_10oz > 0) then {
if (_gold_10oz == 1) then {
player addMagazine "ItemGoldBar10oz";
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _gold_10oz, "ItemGoldBar10z"];
} else {
player addMagazine format["ItemBriefcase%1oz",floor(_gold_10oz*10)];
//diag_log format["DEBUG TRADER CHANG MADE: ItemBriefcase%1oz", floor(_gold_10oz*10)];
};
};
if (_gold_1oz > 0) then {
if (_gold_1oz == 1) then {
player addMagazine "ItemGoldBar";
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _gold_1oz, "ItemGoldBar"];
} else {
player addMagazine format["ItemGoldBar%1oz",_gold_1oz];
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _gold_1oz, "ItemGoldBar"];
};
};
if (_silver_10oz > 0) then {
if (_silver_10oz == 1) then {
player addMagazine "ItemSilverBar10oz";
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_10oz, "ItemSilverBar10oz"];
} else {
player addMagazine format["ItemBriefcaseS%1oz",floor(_silver_10oz*10)];
//diag_log format["DEBUG TRADER CHANG MADE: ItemBriefcaseS%1oz", floor(_silver_10oz*10)];
};
};
if (_silver_1oz > 0) then {
if (_silver_1oz == 1) then {
player addMagazine "ItemSilverBar";
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];
} else {
player addMagazine format["ItemSilverBar%1oz",_silver_1oz];
//diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];
};
};

 
Link to comment
Share on other sites

So uhm, i didnt really go thru all the pages, but i imagine noone has done this before.

I created the list for all items/weapons you can buy for vanilla epoch.

 

Pricing list(standart epoch values): 

["100Rnd_556x45_BetaCMag",30],

["100Rnd_762x51_M240",100],
["100Rnd_762x54_PK",100],
["10Rnd_762x54_SVD",10],
["10x_303",1],
["15Rnd_9x19_M9",5],
["15Rnd_9x19_M9SD",10],
["15Rnd_W1866_Slug",1],
["17Rnd_9x19_glock17",5],
["1Rnd_HE_M203",200],
["200Rnd_556x45_M249",200],
["20Rnd_762x51_DMR",10],
["20Rnd_762x51_FNFAL",20],
["20Rnd_762x51_SB_SCAR",50],
["20Rnd_9x39_SP5_VSS",100],
["20Rnd_B_765x17_Ball",10],
["2Rnd_shotgun_74Pellets",1],
["2Rnd_shotgun_74Slug",1],
["30Rnd_545x39_AK",1],
["30Rnd_556x45_Stanag",2],
["30Rnd_556x45_Stanag",3],
["30Rnd_556x45_StanagSD",20],
["30Rnd_762x39_AK47",1],
["30Rnd_762x39_SA58",1],
["30Rnd_9x19_MP5SD",20],
["30Rnd_9x19_UZI",10],
["30Rnd_9x19_UZI_SD",10],
["30m_plot_kit",6000],
["30rnd_9x19_MP5",10],
["5Rnd_127x108_KSVK",10],
["5Rnd_762x51_M24",5],
["5Rnd_86x70_L115A1",200],
["5x_22_LR_17_HMR",50],
["64Rnd_9x19_Bizon",5],
["64Rnd_9x19_SD_Bizon",10],
["6Rnd_45ACP",1],
["75Rnd_545x39_RPK",10],
["7Rnd_45ACP_1911",1],
["8Rnd_9x18_Makarov",1],
["8Rnd_9x18_MakarovSD",10],
["8Rnd_B_Beneli_74Slug",1],
["8Rnd_B_Beneli_Pellets",1],
["8Rnd_B_Saiga12_74Slug",3],
["8Rnd_B_Saiga12_Pellets",3],
["AKS_74_U",100],
["AKS_74_kobra",200],
["AK_47_M",600],
["AK_74",100],
["BAF_L85A2_RIS_Holo",300],
["BAF_L85A2_RIS_SUSAT",300],
["BAF_LRR_scoped",2000],
["Binocular",1],
["Binocular_Vector",100],
["CinderBlocks",500],
["Colt1911",10],
["Crossbow_DZ",5],
["FN_FAL",500],
["FN_FAL_ANPVS4",1000],
["FlareGreen_M203",1],
["FlareWhite_M203",1],
["FoodCanBakedBeans",1],
["FoodCanFrankBeans",1],
["FoodCanPasta",1],
["FoodCanSardines",1],
["FoodMRE",5],
["FoodNutmix",1],
["FoodPistachio",1],
["FoodbaconCooked",2],
["FoodbeefCooked",2],
["FoodchickenCooked",2],
["FoodmuttonCooked",2],
["FoodrabbitCooked",10],
["G36A_camo",300],
["G36C",200],
["G36C_camo",300],
["G36K_camo",300],
["G36_C_SD_camo",500],
["HandChemBlue",1],
["HandChemGreen",1],
["HandChemRed",1],
["HandGrenade_east",200],
["HandGrenade_west",200],
["HandRoadFlare",1],
["ItemAntibiotic",20],
["ItemBandage",1],
["ItemBloodbag",1],
["ItemCompass",3],
["ItemCorrugated",100],
["ItemCrowbar",1],
["ItemEmerald",110000],
["ItemEpinephrine",1],
["ItemEtool",60],
["ItemFishingPole",10],
["ItemFlashlight",1],
["ItemFlashlightRed",5],
["ItemFuelBarrel",100],
["ItemFuelBarrelEmpty",50],
["ItemGPS",100],
["ItemGenerator",300],
["ItemHatchet_DZE",1],
["ItemHeatPack",1],
["ItemJerrycan",2],
["ItemJerrycanEmpty",1],
["ItemKnife",1],
["ItemLightBulb",10],
["ItemMachete",1],
["ItemMachete",1],
["ItemMap",3],
["ItemMatchbox_DZE",1],
["ItemMorphine",1],
["ItemObsidian",110000],
["ItemPainkiller",1],
["ItemPole",5],
["ItemRuby",40000],
["ItemSandbag",200],
["ItemSapphire",40000],
["ItemSeaBassCooked",20],
["ItemSodaCoke",1],
["ItemSodaMdew",300],
["ItemSodaOrangeSherbet",200],
["ItemSodaPepsi",1],
["ItemSodaR4z0r",300],
["ItemSodaRbull",300],
["ItemTankTrap",10],
["ItemTentDomed",30],
["ItemTentDomed2",30],
["ItemTentOld",20],
["ItemToolbox",1],
["ItemTopaz",50000],
["ItemTroutCooked",10],
["ItemTunaCooked",100],
["ItemVault",10000],
["ItemWatch",1],
["ItemWaterbottleUnfilled",1],
["ItemWire",3],
["KSVK_DZE",1000],
["LeeEnfield",10],
["M1014",200],
["M14_EP1",1000],
["M16A2",100],
["M16A2GL",200],
["M16A4_ACG",200],
["M24",600],
["M240_DZ",500],
["M249_EP1_DZ",600],
["M249_m145_EP1_DZE",600],
["M24_des_EP1",600],
["M40A3",600],
["M4A1",200],
["M4A1_AIM_SD_camo",500],
["M4A1_Aim",400],
["M4A1_HWS_GL_SD_Camo",1000],
["M4A1_HWS_GL_camo",400],
["M4A3_CCO_EP1",500],
["M4SPR",600],
["M60A4_EP1_DZE",1000],
["M8_SAW",600],
["M9",20],
["M9SD",100],
["MG36",600],
["MG36_camo",600],
["MP5A5",20],
["MP5SD",300],
["MR43",8],
["Makarov",10],
["MakarovSD",100],
["Mk_48_DZ",1000],
["MortarBucket",500],
["NVGoggles",100],
["PartEngine",10],
["PartFueltank",5],
["PartGeneric",6],
["PartGlass",1],
["PartPlankPack",5],
["PartPlywoodPack",10],
["PartVRotor",10],
["PartWheel",2],
["Pecheneg_DZ",1000],
["PipeBomb",2000],
["Quiver",1],
["RPK_74",600],
["Remington870_lamp",100],
["SCAR_H_LNG_Sniper_SD",1000],
["SVD",600],
["SVD_CAMO",600],
["SVD_des_EP1",600],
["Sa58P_EP1",100],
["Sa58V_CCO_EP1",400],
["Sa58V_EP1",100],
["Sa58V_RCO_EP1",400],
["Sa61_EP1",50],
["Saiga12K",300],
["Skin_Bandit1_DZ",100],
["Skin_Bandit2_DZ",100],
["Skin_BanditW1_DZ",100],
["Skin_BanditW2_DZ",100],
["Skin_CZ_Soldier_Sniper_EP1_DZ",100],
["Skin_CZ_Special_Forces_GL_DES_EP1_DZ",100],
["Skin_Camo1_DZ",100],
["Skin_Drake_Light_DZ",100],
["Skin_FR_OHara_DZ",100],
["Skin_FR_Rodriguez_DZ",100],
["Skin_Functionary1_EP1_DZ",100],
["Skin_GUE_Commander_DZ",100],
["Skin_GUE_Soldier_2_DZ",100],
["Skin_GUE_Soldier_CO_DZ",100],
["Skin_GUE_Soldier_Crew_DZ",100],
["Skin_GUE_Soldier_Sniper_DZ",100],
["Skin_Graves_Light_DZ",100],
["Skin_Haris_Press_EP1_DZ",100],
["Skin_Ins_Soldier_GL_DZ",100],
["Skin_Pilot_EP1_DZ",100],
["Skin_Priest_DZ",100],
["Skin_RU_Policeman_DZ",100],
["Skin_Rocker1_DZ",100],
["Skin_Rocker2_DZ",100],
["Skin_Rocker3_DZ",100],
["Skin_Rocker4_DZ",100],
["Skin_Rocket_DZ",100],
["Skin_Sniper1_DZ",100],
["Skin_Soldier1_DZ",100],
["Skin_Soldier_Bodyguard_AA12_PMC_DZ",100],
["Skin_Soldier_Sniper_PMC_DZ",100],
["Skin_Soldier_TL_PMC_DZ",100],
["Skin_Survivor2_DZ",100],
["Skin_SurvivorW2_DZ",100],
["Skin_SurvivorW3_DZ",100],
["Skin_SurvivorWcombat_DZ",100],
["Skin_SurvivorWdesert_DZ",100],
["Skin_SurvivorWpink_DZ",100],
["Skin_SurvivorWurban_DZ",100],
["Skin_TK_INS_Soldier_EP1_DZ",100],
["Skin_TK_INS_Warlord_EP1_DZ",100],
["SmokeShell",1],
["SmokeShellGreen",1],
["SmokeShellRed",1],
["UZI_EP1",200],
["UZI_SD_EP1",500],
["VSS_vintorez",400],
["Winchester1866",10],
["WoodenArrow",1],
["bizon",500],
["bizon_silenced",500],
["bulk_15Rnd_9x19_M9SD",200],
["bulk_17Rnd_9x19_glock17",200],
["bulk_30Rnd_556x45_StanagSD",200],
["bulk_30Rnd_9x19_MP5SD",200],
["bulk_ItemSandbag",2000],
["bulk_ItemTankTrap",100],
["bulk_ItemWire",30],
["bulk_PartGeneric",60],
["glock17_EP1",50],
["huntingrifle",100],
["m240_scoped_EP1_DZE",600],
["m8_carbine",200],
["m8_compact",200],
["m8_holo_sd",400],
["m8_sharpshooter",300],
["revolver_EP1",10],

["revolver_gold_EP1",200]

The item list for each trader:

"100Rnd_556x45_BetaCMag", "100Rnd_762x51_M240", "100Rnd_762x54_PK", "10Rnd_762x54_SVD", "10x_303", "15Rnd_9x19_M9", "15Rnd_9x19_M9SD", "15Rnd_W1866_Slug", "17Rnd_9x19_glock17", "1Rnd_HE_M203", "200Rnd_556x45_M249", "20Rnd_762x51_DMR", "20Rnd_762x51_FNFAL", "20Rnd_762x51_SB_SCAR", "20Rnd_9x39_SP5_VSS", "20Rnd_B_765x17_Ball", "2Rnd_shotgun_74Pellets", "2Rnd_shotgun_74Slug", "30Rnd_545x39_AK", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "30Rnd_762x39_AK47", "30Rnd_762x39_SA58", "30Rnd_9x19_MP5SD", "30Rnd_9x19_UZI", "30Rnd_9x19_UZI_SD", "30m_plot_kit", "30rnd_9x19_MP5", "5Rnd_127x108_KSVK", "5Rnd_762x51_M24", "5Rnd_86x70_L115A1", "5x_22_LR_17_HMR", "64Rnd_9x19_Bizon", "64Rnd_9x19_SD_Bizon", "6Rnd_45ACP", "75Rnd_545x39_RPK", "7Rnd_45ACP_1911", "8Rnd_9x18_Makarov", "8Rnd_9x18_MakarovSD", "8Rnd_B_Beneli_74Slug", "8Rnd_B_Beneli_Pellets", "8Rnd_B_Saiga12_74Slug", "8Rnd_B_Saiga12_Pellets", "AKS_74_U", "AKS_74_kobra", "AK_47_M", "AK_74", "BAF_L85A2_RIS_Holo", "BAF_L85A2_RIS_SUSAT", "BAF_LRR_scoped", "Binocular", "Binocular_Vector", "CinderBlocks", "Colt1911", "Crossbow_DZ", "FN_FAL", "FN_FAL_ANPVS4", "FlareGreen_M203", "FlareWhite_M203", "FoodCanBakedBeans", "FoodCanFrankBeans", "FoodCanPasta", "FoodCanSardines", "FoodMRE", "FoodNutmix", "FoodPistachio", "FoodbaconCooked", "FoodbeefCooked", "FoodchickenCooked", "FoodmuttonCooked", "FoodrabbitCooked", "G36A_camo", "G36C", "G36C_camo", "G36K_camo", "G36_C_SD_camo", "HandChemBlue", "HandChemGreen", "HandChemRed", "HandGrenade_east", "HandGrenade_west", "HandRoadFlare", "ItemAntibiotic", "ItemBandage", "ItemBloodbag", "ItemCompass", "ItemCorrugated", "ItemCrowbar", "ItemEmerald", "ItemEpinephrine", "ItemEtool", "ItemFishingPole", "ItemFlashlight", "ItemFlashlightRed", "ItemFuelBarrel", "ItemFuelBarrelEmpty", "ItemGPS", "ItemGenerator", "ItemHatchet_DZE", "ItemHeatPack", "ItemJerrycan", "ItemJerrycanEmpty", "ItemKnife", "ItemLightBulb", "ItemMachete", "ItemMap", "ItemMatchbox_DZE", "ItemMorphine", "ItemObsidian", "ItemPainkiller", "ItemPole", "ItemRuby", "ItemSandbag", "ItemSapphire", "ItemSeaBassCooked", "ItemSodaCoke", "ItemSodaMdew", "ItemSodaOrangeSherbet", "ItemSodaPepsi", "ItemSodaR4z0r", "ItemSodaRbull", "ItemTankTrap", "ItemTentDomed", "ItemTentDomed2", "ItemTentOld", "ItemToolbox", "ItemTopaz", "ItemTroutCooked", "ItemTunaCooked", "ItemVault", "ItemWatch", "ItemWaterbottleUnfilled", "ItemWire", "KSVK_DZE", "LeeEnfield", "M1014", "M14_EP1", "M16A2", "M16A2GL", "M16A4_ACG", "M24", "M240_DZ", "M249_EP1_DZ", "M249_m145_EP1_DZE", "M24_des_EP1", "M40A3", "M4A1", "M4A1_AIM_SD_camo", "M4A1_Aim", "M4A1_HWS_GL_SD_Camo", "M4A1_HWS_GL_camo", "M4A3_CCO_EP1", "M4SPR", "M60A4_EP1_DZE", "M8_SAW", "M9", "M9SD", "MG36", "MG36_camo", "MP5A5", "MP5SD", "MR43", "Makarov", "MakarovSD", "Mk_48_DZ", "MortarBucket", "NVGoggles", "PartEngine", "PartFueltank", "PartGeneric", "PartGlass", "PartPlankPack", "PartPlywoodPack", "PartVRotor", "PartWheel", "Pecheneg_DZ", "PipeBomb", "Quiver", "RPK_74", "Remington870_lamp", "SCAR_H_LNG_Sniper_SD", "SVD", "SVD_CAMO", "SVD_des_EP1", "Sa58P_EP1", "Sa58V_CCO_EP1", "Sa58V_EP1", "Sa58V_RCO_EP1", "Sa61_EP1", "Saiga12K", "Skin_Bandit1_DZ", "Skin_Bandit2_DZ", "Skin_BanditW1_DZ", "Skin_BanditW2_DZ", "Skin_CZ_Soldier_Sniper_EP1_DZ", "Skin_CZ_Special_Forces_GL_DES_EP1_DZ", "Skin_Camo1_DZ", "Skin_Drake_Light_DZ", "Skin_FR_OHara_DZ", "Skin_FR_Rodriguez_DZ", "Skin_Functionary1_EP1_DZ", "Skin_GUE_Commander_DZ", "Skin_GUE_Soldier_2_DZ", "Skin_GUE_Soldier_CO_DZ", "Skin_GUE_Soldier_Crew_DZ", "Skin_GUE_Soldier_Sniper_DZ", "Skin_Graves_Light_DZ", "Skin_Haris_Press_EP1_DZ", "Skin_Ins_Soldier_GL_DZ", "Skin_Pilot_EP1_DZ", "Skin_Priest_DZ", "Skin_RU_Policeman_DZ", "Skin_Rocker1_DZ", "Skin_Rocker2_DZ", "Skin_Rocker3_DZ", "Skin_Rocker4_DZ", "Skin_Rocket_DZ", "Skin_Sniper1_DZ", "Skin_Soldier1_DZ", "Skin_Soldier_Bodyguard_AA12_PMC_DZ", "Skin_Soldier_Sniper_PMC_DZ", "Skin_Soldier_TL_PMC_DZ", "Skin_Survivor2_DZ", "Skin_SurvivorW2_DZ", "Skin_SurvivorW3_DZ", "Skin_SurvivorWcombat_DZ", "Skin_SurvivorWdesert_DZ", "Skin_SurvivorWpink_DZ", "Skin_SurvivorWurban_DZ", "Skin_TK_INS_Soldier_EP1_DZ", "Skin_TK_INS_Warlord_EP1_DZ", "SmokeShell", "SmokeShellGreen", "SmokeShellRed", "UZI_EP1", "UZI_SD_EP1", "VSS_vintorez", "Winchester1866", "WoodenArrow", "bizon", "bizon_silenced", "bulk_15Rnd_9x19_M9SD", "bulk_17Rnd_9x19_glock17", "bulk_30Rnd_556x45_StanagSD", "bulk_30Rnd_9x19_MP5SD", "bulk_ItemSandbag", "bulk_ItemTankTrap", "bulk_ItemWire", "bulk_PartGeneric", "glock17_EP1", "huntingrifle", "m240_scoped_EP1_DZE", "m8_carbine", "m8_compact", "m8_holo_sd", "m8_sharpshooter", "revolver_EP1", "revolver_gold_EP1"

Link to comment
Share on other sites

I have at the moment 24 traders listed in the init, 12 + 12 so the first 12 but the same stuff. The 12 last sell the same, so is it possible to shorten the list, so i only got 1 + 1 where i list the 12 induvidial skins like: skin1,skin2,skin3 ,[weapon1],[weapon2]

Link to comment
Share on other sites

As far as I understand it, you need one list entry per trader, you cannot use an array of traders.

Nevertheless you can define variables to hold a list of tradeable items and reference to them, thus avoiding multiple identical entries. Look at my example in post #160:

 

Expanding on this you can even define several disjunct arrays, e.g. ListSniper, ListAssault, ... and then combine them, the syntax should be something like

tfv_TRADERS_ITEMS = [
["RU_Citizen4", ListSniper, ["weapons","magazines"],0],
["RU_Citizen1", [ListSniper, ListAssault], ["weapons","magazines"],0]
];
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...