Rusty Posted August 9, 2014 Report Share Posted August 9, 2014 Hi Jossy, system chat shouldn't affect it. But I used your init, recopied my lists, left everything else alone ( I added in one system chat to tell me it was loaded ) and it works. Thank you for your help! btw will this work for any vehicle? Link to comment Share on other sites More sharing options...
Jossy Posted August 9, 2014 Report Share Posted August 9, 2014 system chat WILL affect it, because it's inside an array, the script looks inside that array for values, and finds code which is an error, and yes it should work for any vehicle Link to comment Share on other sites More sharing options...
Nakama Mind Posted August 9, 2014 Report Share Posted August 9, 2014 Sorry if this is a stupid question but does this work for config based traders ? Link to comment Share on other sites More sharing options...
Jossy Posted August 9, 2014 Report Share Posted August 9, 2014 It runs by itself without really having any real trader interaction so it should, it just needs the init file entered with all the things that the traders buy/sell Sorry for a stupider question but what is config based traders? Lol Nakama Mind 1 Link to comment Share on other sites More sharing options...
Nakama Mind Posted August 9, 2014 Report Share Posted August 9, 2014 It runs by itself without really having any real trader interaction so it should, it just needs the init file entered with all the things that the traders buy/sell Sorry for a stupider question but what is config based traders? Lol <- I'm probably completely wrong lol but does TFV use Database entries for the traders information? I am not sure if it would work the same for having cnfg traders if it does indeed need to use the DB?? *shrugs* Link to comment Share on other sites More sharing options...
Jossy Posted August 9, 2014 Report Share Posted August 9, 2014 <- I'm probably completely wrong lol but does TFV use Database entries for the traders information? I am not sure if it would work the same for having cnfg traders if it does indeed need to use the DB?? *shrugs* No it does not, that is the only downside to this script, it takes a long time to setup because you have to enter all the separate trader data manually Nakama Mind 1 Link to comment Share on other sites More sharing options...
Nakama Mind Posted August 9, 2014 Report Share Posted August 9, 2014 No it does not, that is the only downside to this script, it takes a long time to setup because you have to enter all the separate trader data manually Cool beans...Thanks for the fast reply! Jossy 1 Link to comment Share on other sites More sharing options...
Nakama Mind Posted August 9, 2014 Report Share Posted August 9, 2014 Well I probably have a typo since I can't seem to get it working but I am unsure as to where exactly I messed up. I've looked my TFV init over about 4 times now if someone has any spare time and wants to give it a look. If you find anything wrong, point it out for me or feel free to just edit it and put a comment beside the edit or something!https://code.stypi.com/mindiyh/TFV-init.sql Link to comment Share on other sites More sharing options...
Jossy Posted August 10, 2014 Report Share Posted August 10, 2014 done line 546, not sure how you missed that since the whole block has an extra tab ;) Nakama Mind 1 Link to comment Share on other sites More sharing options...
Nakama Mind Posted August 10, 2014 Report Share Posted August 10, 2014 *Edit* Still having problems getting the trader menu to show up for the vehicles not sure what else could be the issue, any suggestions would be appreciated. Problem #1: Not including the 'canBuild' in the sensor for the trader. <--- Checked this and my sqm is fine Problem #2: Errors in the init.sqf file. <---- Checked this again after you helped me out, I know I missed the coma the first time lol but I am coming up short again for any typos Link to comment Share on other sites More sharing options...
murtashan Posted August 28, 2014 Report Share Posted August 28, 2014 *Edit* Still having problems getting the trader menu to show up for the vehicles not sure what else could be the issue, any suggestions would be appreciated. Problem #1: Not including the 'canBuild' in the sensor for the trader. <--- Checked this and my sqm is fine Problem #2: Errors in the init.sqf file. <---- Checked this again after you helped me out, I know I missed the coma the first time lol but I am coming up short again for any typos Hi I am having the exact same problem. I cannot add the canbuild function to chearnaus 1.0.5.1 mission.sqm. When i do my server just sits at waiting for host. Could someone please point me in the right direction Link to comment Share on other sites More sharing options...
ekroemer Posted August 28, 2014 Report Share Posted August 28, 2014 regarding canBuild, did you look at Link to comment Share on other sites More sharing options...
murtashan Posted August 28, 2014 Report Share Posted August 28, 2014 Hi ekroemer I have used your monitor.sqf. I just noticed something, the part with the traders skins i haven't done. I have them as they were in the download :( i will work on that and thanks for the sql :) 782 items added nicely EDIT: I have tried this without luck. here is my init.sqf file Hopefully you can see something wrong. I have tfv_TRADERS_ITEMS set for the black market trader in stary default skin waitUntil {!isNil "dayz_animalCheck"}; sleep 1; /* ******************************************************************************************************************************************* */ /* Turn debugging functionality on or off. */ /* ******************************************************************************************************************************************* */ tfv_DEBUGGING = false; /* ******************************************************************************************************************************************* */ /* Abilities to sell from vehicle and backpack. */ /* ******************************************************************************************************************************************* */ tfv_VEHICLE = true; tfv_BACKPACK = true; /* ******************************************************************************************************************************************* */ /* How many weapons will be sold per cycle. */ /* ******************************************************************************************************************************************* */ tfv_SALES_PER_ANIM = 1; /* ******************************************************************************************************************************************* */ /* How many magazines will be sold per cycle. */ /* ******************************************************************************************************************************************* */ tfv_SALES_PER_ANIM_MAGS = 1; /* ******************************************************************************************************************************************* */ /* A list of each trader, along with the weapons they accept. */ /* ******************************************************************************************************************************************* */ tfv_TRADERS_ITEMS = [ ["menu_GUE_Woodlander2", tfv_ALL_ITEMS, ["weapons","magazines"],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. */ /* ******************************************************************************************************************************************* */ tfv_ALL_ITEMS = [ "30Rnd_9x19_UZI", "30Rnd_9x19_UZI_SD", "48Rnd_40mm_MK19", "50Rnd_127x107_DSHKM", "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_kobra", "AKS_74_U", "AK_47_M", "AK_74", "BAF_L85A2_RIS_Holo", "BAF_L85A2_RIS_SUSAT", "BAF_LRR_scoped", "Binocular", "Binocular_Vector", "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", "CinderBlocks", "Colt1911", "Crossbow_DZ", "DDOPP_1Rnd_X26", "DDOPP_3Rnd_X3", "DDOPP_X26", "DDOPP_X26_b", "DDOPP_X3", "DDOPP_X3_b", "DMR_DZ", "FHQ_ACR_BASE", "FHQ_ACR_BASE_F", "FHQ_ACR_BASE_L", "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_GL", "FHQ_ACR_BLK_G33_GL_SD", "FHQ_ACR_BLK_G33_SD", "FHQ_ACR_BLK_HAMR", "FHQ_ACR_BLK_HAMR_GL", "FHQ_ACR_BLK_HAMR_GL_SD", "FHQ_ACR_BLK_HAMR_SD", "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_SD", "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", "FHQ_ACR_BLK_IRN_SD", "FHQ_ACR_BLK_IRN_SD_F", "FHQ_ACR_BLK_RCO", "FHQ_ACR_BLK_RCO_F", "FHQ_ACR_BLK_RCO_GL", "FHQ_ACR_BLK_RCO_GL_F", "FHQ_ACR_BLK_RCO_GL_SD", "FHQ_ACR_BLK_RCO_GL_SD_F", "FHQ_ACR_BLK_RCO_SD", "FHQ_ACR_BLK_RCO_SD_F", "FHQ_ACR_GL_BASE", "FHQ_ACR_GL_BASE_F", "FHQ_ACR_GL_BASE_L", "FHQ_ACR_GL_SD_BASE", "FHQ_ACR_GL_SD_BASE_F", "FHQ_ACR_GL_SD_BASE_L", "FHQ_ACR_SD_BASE", "FHQ_ACR_SD_BASE_F", "FHQ_ACR_SD_BASE_L", "FHQ_ACR_SNW_CCO", "FHQ_ACR_SNW_CCO_GL", "FHQ_ACR_SNW_CCO_GL_SD", "FHQ_ACR_SNW_CCO_SD", "FHQ_ACR_SNW_G33", "FHQ_ACR_SNW_G33_GL", "FHQ_ACR_SNW_G33_GL_SD", "FHQ_ACR_SNW_G33_SD", "FHQ_ACR_SNW_HAMR", "FHQ_ACR_SNW_HAMR_GL", "FHQ_ACR_SNW_HAMR_GL_SD", "FHQ_ACR_SNW_HAMR_SD", "FHQ_ACR_SNW_HWS", "FHQ_ACR_SNW_HWS_GL", "FHQ_ACR_SNW_HWS_GL_SD", "FHQ_ACR_SNW_HWS_SD", "FHQ_ACR_SNW_IRN", "FHQ_ACR_SNW_IRN_GL", "FHQ_ACR_SNW_IRN_GL_SD", "FHQ_ACR_SNW_IRN_SD", "FHQ_ACR_SNW_RCO", "FHQ_ACR_SNW_RCO_GL", "FHQ_ACR_SNW_RCO_GL_SD", "FHQ_ACR_SNW_RCO_SD", "FHQ_ACR_TAN_CCO", "FHQ_ACR_TAN_CCO_GL", "FHQ_ACR_TAN_CCO_GL_SD", "FHQ_ACR_TAN_CCO_SD", "FHQ_ACR_TAN_G33", "FHQ_ACR_TAN_G33_GL", "FHQ_ACR_TAN_G33_GL_SD", "FHQ_ACR_TAN_G33_SD", "FHQ_ACR_TAN_HAMR", "FHQ_ACR_TAN_HAMR_GL", "FHQ_ACR_TAN_HAMR_GL_SD", "FHQ_ACR_TAN_HAMR_SD", "FHQ_ACR_TAN_HWS", "FHQ_ACR_TAN_HWS_GL", "FHQ_ACR_TAN_HWS_GL_SD", "FHQ_ACR_TAN_HWS_SD", "FHQ_ACR_TAN_IRN", "FHQ_ACR_TAN_IRN_GL", "FHQ_ACR_TAN_IRN_GL_SD", "FHQ_ACR_TAN_IRN_GL_SD_F", "FHQ_ACR_TAN_IRN_SD", "FHQ_ACR_TAN_RCO", "FHQ_ACR_TAN_RCO_GL", "FHQ_ACR_TAN_RCO_GL_SD", "FHQ_ACR_TAN_RCO_SD", "FHQ_ACR_WDL_CCO", "FHQ_ACR_WDL_CCO_F", "FHQ_ACR_WDL_CCO_GL", "FHQ_ACR_WDL_CCO_GL_F", "FHQ_ACR_WDL_CCO_GL_SD", "FHQ_ACR_WDL_CCO_GL_SD_F", "FHQ_ACR_WDL_CCO_SD", "FHQ_ACR_WDL_CCO_SD_F", "FHQ_ACR_WDL_G33", "FHQ_ACR_WDL_G33_F", "FHQ_ACR_WDL_G33_GL", "FHQ_ACR_WDL_G33_GL_F", "FHQ_ACR_WDL_G33_GL_SD", "FHQ_ACR_WDL_G33_GL_SD_F", "FHQ_ACR_WDL_G33_SD", "FHQ_ACR_WDL_G33_SD_F", "FHQ_ACR_WDL_HAMR", "FHQ_ACR_WDL_HAMR_F", "FHQ_ACR_WDL_HAMR_GL", "FHQ_ACR_WDL_HAMR_GL_F", "FHQ_ACR_WDL_HAMR_GL_SD", "FHQ_ACR_WDL_HAMR_GL_SD_F", "FHQ_ACR_WDL_HAMR_SD", "FHQ_ACR_WDL_HAMR_SD_F", "FHQ_ACR_WDL_HWS", "FHQ_ACR_WDL_HWS_F", "FHQ_ACR_WDL_HWS_GL", "FHQ_ACR_WDL_HWS_GL_F", "FHQ_ACR_WDL_HWS_GL_SD", "FHQ_ACR_WDL_HWS_GL_SD_F", "FHQ_ACR_WDL_HWS_SD", "FHQ_ACR_WDL_HWS_SD_F", "FHQ_ACR_WDL_IRN", "FHQ_ACR_WDL_IRN_F", "FHQ_ACR_WDL_IRN_GL", "FHQ_ACR_WDL_IRN_GL_F", "FHQ_ACR_WDL_IRN_GL_SD", "FHQ_ACR_WDL_IRN_GL_SD_F", "FHQ_ACR_WDL_IRN_SD", "FHQ_ACR_WDL_IRN_SD_F", "FHQ_ACR_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_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_BASE", "FHQ_RSASS_SD_BASE", "FHQ_RSASS_TAN", "FHQ_XM2010_BASE", "FHQ_XM2010_DESERT", "FHQ_XM2010_NV_DESERT", "FHQ_XM2010_NV_SD_DESERT", "FHQ_XM2010_SD_BASE", "FHQ_XM2010_SD_DESERT", "FHQ_XM2010_WDL_CAMO", "FlareGreen_M203", "FlareWhite_M203", "FN_FAL", "FN_FAL_ANPVS4", "FoodbaconCooked", "FoodbeefCooked", "FoodCanBakedBeans", "FoodCanFrankBeans", "FoodCanPasta", "FoodCanSardines", "FoodchickenCooked", "FoodMRE", "FoodmuttonCooked", "FoodNutmix", "FoodPistachio", "FoodrabbitCooked", "G36A_camo", "G36C", "G36C_camo", "G36K_camo", "G36_C_SD_camo", "glock17_EP1", "gms_k98_mag", "HandChemBlue", "HandChemGreen", "HandChemRed", "HandGrenade_west", "HandRoadFlare", "huntingrifle", "ItemAntibiotic", "ItemBandage", "ItemBloodbag", "ItemCompass", "ItemCorrugated", "ItemCrowbar", "ItemEpinephrine", "ItemEtool", "ItemFishingPole", "ItemFlashlight", "ItemFlashlightRed", "ItemFuelBarrel", "ItemGenerator", "ItemGPS", "ItemHatchet_DZE", "ItemHeatPack", "ItemJerrycan", "ItemJerrycanEmpty", "ItemKnife", "ItemLightBulb", "ItemMachete", "ItemMap", "ItemMatchbox_DZE", "ItemMorphine", "ItemPainkiller", "ItemPole", "ItemSandbag", "ItemSeaBassCooked", "ItemSodaCoke", "ItemSodaMdew", "ItemSodaOrangeSherbet", "ItemSodaPepsi", "ItemSodaR4z0r", "ItemSodaRbull", "ItemTankTrap", "ItemTentDomed", "ItemTentDomed2", "ItemTentOld", "ItemToolbox", "ItemTroutCooked", "ItemTunaCooked", "ItemVault", "ItemWatch", "ItemWaterbottleUnfilled", "ItemWire", "KSVK_DZE", "LeeEnfield", "M1014", "M14_EP1", "M16A2", "M16A2GL", "M16A4_ACG", "M16A4_ACG_GL", "M16A4_GL", "M24", "M240_DZ", "m240_scoped_EP1_DZE", "M249_EP1_DZ", "M249_m145_EP1_DZE", "M24_des_EP1", "M40A3", "M4A1", "M4A1_Aim", "M4A1_AIM_SD_camo", "M4A1_HWS_GL_camo", "M4A1_HWS_GL_SD_Camo", "M4A3_CCO_EP1", "M4SPR", "M60A4_EP1_DZE", "m8_carbine", "m8_compact", "m8_holo_sd", "M8_SAW", "m8_sharpshooter", "M9", "M9SD", "Makarov", "MakarovSD", "MG36", "MG36_camo", "Mk_48_DZ", "MortarBucket", "MP5A5", "MP5SD", "MR43", "NVGoggles", "PartEngine", "PartFueltank", "PartGeneric", "PartGlass", "PartPlankPack", "PartPlywoodPack", "PartVRotor", "PartWheel", "Pecheneg_DZ", "PipeBomb", "Quiver", "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_acr", "RH_acracog", "RH_acraim", "RH_acrb", "RH_acrbacog", "RH_acrbaim", "RH_acrbgl", "RH_acrbglacog", "RH_acrbglaim", "RH_acrbgleotech", "RH_acreotech", "RH_acrgl", "RH_acrglacog", "RH_acrglaim", "RH_acrgleotech", "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_m14aim", "RH_m1911", "RH_m1911old", "RH_m1911sd", "RH_m1s", "RH_m1sacog", "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_muzi", "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", "RPK_74", "Sa58P_EP1", "Sa58V_CCO_EP1", "Sa58V_EP1", "Sa58V_RCO_EP1", "Sa61_EP1", "Saiga12K", "SCAR_H_LNG_Sniper_SD", "SCAR_L_CQC_Holo", "skavil_M60", "skavil_M60e3", "Skin_Bandit1_DZ", "Skin_Bandit2_DZ", "Skin_BanditW1_DZ", "Skin_BanditW2_DZ", "Skin_Camo1_DZ", "Skin_CZ_Soldier_Sniper_EP1_DZ", "Skin_Drake_Light_DZ", "Skin_FR_OHara_DZ", "Skin_FR_Rodriguez_DZ", "Skin_Functionary1_EP1_DZ", "Skin_Graves_Light_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_Haris_Press_EP1_DZ", "Skin_Ins_Soldier_GL_DZ", "Skin_Pilot_EP1_DZ", "Skin_Priest_DZ", "Skin_Rocker1_DZ", "Skin_Rocker2_DZ", "Skin_Rocker3_DZ", "Skin_Rocker4_DZ", "Skin_Rocket_DZ", "Skin_RU_Policeman_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", "SVD", "SVD_CAMO", "SVD_des_EP1", "USSOF_Mk_48", "USSR_5Rnd_408", "USSR_cheytacM200", "USSR_cheytacM200", "USSR_cheytacM200_sd", "UZI_EP1", "UZI_SD_EP1", "vil_100Rnd_762x39_RPD", "vil_10Rnd_762x39_SKS", "vil_10Rnd_762x54_SV", "vil_10Rnd_Mauser", "vil_10Rnd_PSL", "vil_17Rnd_9x19_PYA", "vil_20Rnd_556x45_IN", "vil_20Rnd_556x45_SG", "vil_20Rnd_762x51_G3", "vil_20Rnd_9x18_aps", "vil_20Rnd_9x18_apsSD", "vil_20Rnd_9x39_SP6ns_OC", "Vil_30Rnd_556x45_HK", "vil_32Rnd_uzi", "vil_32Rnd_UZI_SD", "Vil_35Rnd_556x45_G", "vil_40Rnd_762x39_AK47", "vil_45Rnd_545x39_AK", "vil_75Rnd_762x39_AK47", "vil_8Rnd_TT", "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_AK47_BASE", "vil_AKM", "vil_AKMS", "vil_AKMSB", "vil_AKMS_GP25", "vil_AKM_BASE", "vil_AKM_GL", "vil_AKS_47", "vil_AKS_BASE", "vil_AK_47", "vil_AK_47_49", "vil_AK_47_m1", "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_nato_m1", "vil_AK_nato_m80", "vil_AMD", "vil_AMD63", "vil_APS", "vil_apssd", "vil_ASH82", "vil_bhp_mag", "vil_B_HP", "vil_Fal", "vil_Fal_Para", "vil_FnMag", "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_HK33", "vil_HK416_Aim", "VIL_HK416_EDR", "vil_HK416_EOT", "vil_HK416_GL", "vil_HK416_IS", "vil_HK417s", "vil_Insas", "vil_Insas_lmg", "vil_M110", "vil_M110sd", "vil_M14", "vil_M14G", "vil_M21", "vil_M21G", "vil_M240_B", "vil_M249_Para", "vil_M24b", "vil_M4_EOT", "vil_M64", "vil_M70", "vil_M70B", "vil_M76", "vil_M91", "vil_Mg3", "vil_MG4", "vil_MG4E", "vil_Minimi", "vil_MP5SD_EOTech", "vil_MP5_EOTech", "vil_MPi", "vil_PK", "vil_PKM", "vil_PKM_N", "vil_PKP", "vil_PKP_EOT", "vil_PMI", "vil_PMI74S", "vil_PMIS", "Vil_PYA", "vil_Rak74sgl", "vil_RPD", "vil_RPK", "vil_RPK74", "vil_RPK74M", "vil_RPK74M_N", "vil_RPK74M_P29", "vil_RPK75_M72", "vil_RPK75_Romania", "vil_sg540", "vil_sg542", "vil_sg542f", "vil_SKS", "vil_SR25", "vil_SR25SD", "vil_SVDK", "vil_SVD_63", "vil_SVD_N", "vil_SVD_P21", "vil_SV_98", "vil_SV_98_69", "vil_SV_98_SD", "vil_Tt33", "vil_type88_1", "vil_USP", "vil_USP45", "vil_USP45SD", "vil_usp45sd_mag", "vil_usp45_mag", "vil_USPSD", "vil_uzi", "vil_uzimini", "vil_uzimini_SD", "vil_uzi_c", "vil_uzi_SD", "vil_zastava_m84", "VSS_vintorez", "Winchester1866", "WoodenArrow"]; tfv_TRADERS_PRICES = [ ["Colt1911",2000], ["Crossbow_DZ",100], ["DDOPP_1Rnd_X26",2000], ["DDOPP_3Rnd_X3",2000], ["DDOPP_X26",2000], ["DDOPP_X26_b",2000], ["DDOPP_X3",2000], ["DDOPP_X3_b",2000], ["DMR_DZ",4000], ["FHQ_ACR_BASE",2000], ["FHQ_ACR_BASE_F",2000], ["FHQ_ACR_BASE_L",2000], ["FHQ_ACR_BLK_CCO",2000], ["FHQ_ACR_BLK_CCO_F",2000], ["FHQ_ACR_BLK_CCO_GL",2000], ["FHQ_ACR_BLK_CCO_GL_F",2000], ["FHQ_ACR_BLK_CCO_GL_SD",6000], ["FHQ_ACR_BLK_CCO_GL_SD_F",6000], ["FHQ_ACR_BLK_CCO_SD",6000], ["FHQ_ACR_BLK_CCO_SD_F",6000], ["FHQ_ACR_BLK_G33",2000], ["FHQ_ACR_BLK_G33_GL",2000], ["FHQ_ACR_BLK_G33_GL_SD",6000], ["FHQ_ACR_BLK_G33_SD",6000], ["FHQ_ACR_BLK_HAMR",2000], ["FHQ_ACR_BLK_HAMR_GL",2000], ["FHQ_ACR_BLK_HAMR_GL_SD",6000], ["FHQ_ACR_BLK_HAMR_SD",6000], ["FHQ_ACR_BLK_HWS",2000], ["FHQ_ACR_BLK_HWS_F",2000], ["FHQ_ACR_BLK_HWS_GL",2000], ["FHQ_ACR_BLK_HWS_GL_F",2000], ["FHQ_ACR_BLK_HWS_GL_SD",6000], ["FHQ_ACR_BLK_HWS_SD",6000], ["FHQ_ACR_BLK_IRN",2000], ["FHQ_ACR_BLK_IRN_F",2000], ["FHQ_ACR_BLK_IRN_GL",2000], ["FHQ_ACR_BLK_IRN_GL_F",2000], ["FHQ_ACR_BLK_IRN_GL_SD",6000], ["FHQ_ACR_BLK_IRN_GL_SD_F",6000], ["FHQ_ACR_BLK_IRN_SD",6000], ["FHQ_ACR_BLK_IRN_SD_F",6000], ["FHQ_ACR_BLK_RCO",2000], ["FHQ_ACR_BLK_RCO_F",2000], ["FHQ_ACR_BLK_RCO_GL",2000], ["FHQ_ACR_BLK_RCO_GL_F",2000], ["FHQ_ACR_BLK_RCO_GL_SD",6000], ["FHQ_ACR_BLK_RCO_GL_SD_F",6000], ["FHQ_ACR_BLK_RCO_SD",6000], ["FHQ_ACR_BLK_RCO_SD_F",6000], ["FHQ_ACR_GL_BASE",2000], ["FHQ_ACR_GL_BASE_F",2000], ["FHQ_ACR_GL_BASE_L",2000], ["FHQ_ACR_GL_SD_BASE",6000], ["FHQ_ACR_GL_SD_BASE_F",6000], ["FHQ_ACR_GL_SD_BASE_L",6000], ["FHQ_ACR_SD_BASE",6000], ["FHQ_ACR_SD_BASE_F",6000], ["FHQ_ACR_SD_BASE_L",6000], ["FHQ_ACR_SNW_CCO",2000], ["FHQ_ACR_SNW_CCO_GL",2000], ["FHQ_ACR_SNW_CCO_GL_SD",6000], ["FHQ_ACR_SNW_CCO_SD",6000], ["FHQ_ACR_SNW_G33",2000], ["FHQ_ACR_SNW_G33_GL",2000], ["FHQ_ACR_SNW_G33_GL_SD",6000], ["FHQ_ACR_SNW_G33_SD",6000], ["FHQ_ACR_SNW_HAMR",2000], ["FHQ_ACR_SNW_HAMR_GL",2000], ["FHQ_ACR_SNW_HAMR_GL_SD",6000], ["FHQ_ACR_SNW_HAMR_SD",6000], ["FHQ_ACR_SNW_HWS",2000], ["FHQ_ACR_SNW_HWS_GL",2000], ["FHQ_ACR_SNW_HWS_GL_SD",6000], ["FHQ_ACR_SNW_HWS_SD",6000], ["FHQ_ACR_SNW_IRN",2000], ["FHQ_ACR_SNW_IRN_GL",2000], ["FHQ_ACR_SNW_IRN_GL_SD",6000], ["FHQ_ACR_SNW_IRN_SD",6000], ["FHQ_ACR_SNW_RCO",2000], ["FHQ_ACR_SNW_RCO_GL",2000], ["FHQ_ACR_SNW_RCO_GL_SD",6000], ["FHQ_ACR_SNW_RCO_SD",6000], ["FHQ_ACR_TAN_CCO",2000], ["FHQ_ACR_TAN_CCO_GL",2000], ["FHQ_ACR_TAN_CCO_GL_SD",6000], ["FHQ_ACR_TAN_CCO_SD",6000], ["FHQ_ACR_TAN_G33",2000], ["FHQ_ACR_TAN_G33_GL",2000], ["FHQ_ACR_TAN_G33_GL_SD",6000], ["FHQ_ACR_TAN_G33_SD",6000], ["FHQ_ACR_TAN_HAMR",2000], ["FHQ_ACR_TAN_HAMR_GL",2000], ["FHQ_ACR_TAN_HAMR_GL_SD",6000], ["FHQ_ACR_TAN_HAMR_SD",6000], ["FHQ_ACR_TAN_HWS",2000], ["FHQ_ACR_TAN_HWS_GL",2000], ["FHQ_ACR_TAN_HWS_GL_SD",6000], ["FHQ_ACR_TAN_HWS_SD",6000], ["FHQ_ACR_TAN_IRN",2000], ["FHQ_ACR_TAN_IRN_GL",2000], ["FHQ_ACR_TAN_IRN_GL_SD",6000], ["FHQ_ACR_TAN_IRN_GL_SD_F",5000], ["FHQ_ACR_TAN_IRN_SD",6000], ["FHQ_ACR_TAN_RCO",2000], ["FHQ_ACR_TAN_RCO_GL",2000], ["FHQ_ACR_TAN_RCO_GL_SD",6000], ["FHQ_ACR_TAN_RCO_SD",6000], ["FHQ_ACR_WDL_CCO",2000], ["FHQ_ACR_WDL_CCO_F",2000], ["FHQ_ACR_WDL_CCO_GL",2000], ["FHQ_ACR_WDL_CCO_GL_F",2000], ["FHQ_ACR_WDL_CCO_GL_SD",6000], ["FHQ_ACR_WDL_CCO_GL_SD_F",6000], ["FHQ_ACR_WDL_CCO_SD",6000], ["FHQ_ACR_WDL_CCO_SD_F",6000], ["FHQ_ACR_WDL_G33",2000], ["FHQ_ACR_WDL_G33_F",2000], ["FHQ_ACR_WDL_G33_GL",2000], ["FHQ_ACR_WDL_G33_GL_F",2000], ["FHQ_ACR_WDL_G33_GL_SD",6000], ["FHQ_ACR_WDL_G33_GL_SD_F",6000], ["FHQ_ACR_WDL_G33_SD",6000], ["FHQ_ACR_WDL_G33_SD_F",6000], ["FHQ_ACR_WDL_HAMR",2000], ["FHQ_ACR_WDL_HAMR_F",2000], ["FHQ_ACR_WDL_HAMR_GL",2000], ["FHQ_ACR_WDL_HAMR_GL_F",2000], ["FHQ_ACR_WDL_HAMR_GL_SD",6000], ["FHQ_ACR_WDL_HAMR_GL_SD_F",6000], ["FHQ_ACR_WDL_HAMR_SD",6000], ["FHQ_ACR_WDL_HAMR_SD_F",6000], ["FHQ_ACR_WDL_HWS",2000], ["FHQ_ACR_WDL_HWS_F",2000], ["FHQ_ACR_WDL_HWS_GL",2000], ["FHQ_ACR_WDL_HWS_GL_F",2000], ["FHQ_ACR_WDL_HWS_GL_SD",6000], ["FHQ_ACR_WDL_HWS_GL_SD_F",6000], ["FHQ_ACR_WDL_HWS_SD",6000], ["FHQ_ACR_WDL_HWS_SD_F",6000], ["FHQ_ACR_WDL_IRN",2000], ["FHQ_ACR_WDL_IRN_F",2000], ["FHQ_ACR_WDL_IRN_GL",2000], ["FHQ_ACR_WDL_IRN_GL_F",2000], ["FHQ_ACR_WDL_IRN_GL_SD",6000], ["FHQ_ACR_WDL_IRN_GL_SD_F",6000], ["FHQ_ACR_WDL_IRN_SD",6000], ["FHQ_ACR_WDL_IRN_SD_F",6000], ["FHQ_ACR_WDL_RCO",2000], ["FHQ_ACR_WDL_RCO_F",2000], ["FHQ_ACR_WDL_RCO_GL",2000], ["FHQ_ACR_WDL_RCO_GL_F",2000], ["FHQ_ACR_WDL_RCO_GL_SD",6000], ["FHQ_ACR_WDL_RCO_GL_SD_F",6000], ["FHQ_ACR_WDL_RCO_SD",6000], ["FHQ_ACR_WDL_RCO_SD_F",6000], ["FHQ_rem_20Rnd_762x51_PMAG_NT",500], ["FHQ_rem_20Rnd_762x51_PMAG_NT_SD",3000], ["FHQ_rem_30Rnd_680x43_ACR",3000], ["FHQ_rem_30Rnd_680x43_ACR_SD",3000], ["FHQ_rem_5Rnd_300Win_XM2010_NT",8000], ["FHQ_rem_5Rnd_300Win_XM2010_NT_SD",8000], ["FHQ_rem_7Rnd_338Lapua_MSR_NT",9000], ["FHQ_rem_7Rnd_338Lapua_MSR_NT_SD",9000], ["FlareGreen_M203",100], ["FlareWhite_M203",100], ["FN_FAL",5000], ["FoodbaconCooked",200], ["FoodbeefCooked",200], ["FoodCanBakedBeans",100], ["FoodCanFrankBeans",100], ["FoodCanPasta",100], ["FoodCanSardines",100], ["FoodchickenCooked",200], ["FoodMRE",500], ["FoodmuttonCooked",200], ["FoodNutmix",100], ["FoodPistachio",100], ["FoodrabbitCooked",1000], ["G36A_camo",3000], ["G36C",2000], ["G36C_camo",3000], ["G36K_camo",3000], ["G36_C_SD_camo",5000], ["glock17_EP1",3000], ["gms_k98_mag",500], ["HandChemBlue",100], ["HandChemGreen",100], ["HandChemRed",100], ["HandGrenade_west",5000], ["HandRoadFlare",100], ["huntingrifle",1000], ["ItemAntibiotic",2000], ["ItemBandage",100], ["ItemBloodbag",100], ["ItemCompass",300], ["ItemCorrugated",1000], ["ItemCrowbar",100], ["ItemEpinephrine",100], ["ItemEtool",6000], ["ItemFishingPole",1000], ["ItemFlashlight",100], ["ItemFlashlightRed",500], ["ItemFuelBarrel",4000], ["ItemGenerator",3000], ["ItemGPS",1000], ["ItemHatchet_DZE",100], ["ItemHeatPack",100], ["ItemJerrycan",200], ["ItemJerrycanEmpty",100], ["ItemKnife",100], ["ItemLightBulb",1000], ["ItemMachete",100], ["ItemMap",300], ["ItemMatchbox_DZE",100], ["ItemMorphine",100], ["ItemPainkiller",100], ["ItemPole",500], ["ItemSandbag",2000], ["ItemSeaBassCooked",2000], ["ItemSodaCoke",100], ["ItemSodaMdew",3000], ["ItemSodaOrangeSherbet",2000], ["ItemSodaPepsi",100], ["ItemSodaR4z0r",3000], ["ItemSodaRbull",3000], ["ItemTankTrap",1000], ["ItemTentDomed",3000], ["ItemTentDomed2",3000], ["ItemTentOld",2000], ["ItemToolbox",100], ["ItemTroutCooked",1000], ["ItemTunaCooked",1000], ["ItemWatch",100], ["ItemWaterbottleUnfilled",100], ["ItemWire",300], ["LeeEnfield",1000], ["M1014",2000], ["M16A2",1000], ["M16A2GL",2000], ["M16A4_ACG",2000], ["M16A4_ACG_GL",2000], ["M16A4_GL",2000], ["M24",6000], ["M240_DZ",5000], ["m240_scoped_EP1_DZE",9000], ["M249_EP1_DZ",6000], ["M249_m145_EP1_DZE",6000], ["M24_des_EP1",6000], ["M40A3",6000], ["M4A1",2000], ["M4A1_Aim",4000], ["M4A1_AIM_SD_camo",5000], ["M4A1_HWS_GL_camo",4000], ["M4A3_CCO_EP1",5000], ["M4SPR",6000], ["m8_carbine",2000], ["m8_compact",2000], ["m8_holo_sd",4000], ["M8_SAW",6000], ["m8_sharpshooter",3000], ["M9",2000], ["M9SD",1000], ["Makarov",1000], ["MakarovSD",1000], ["MG36",6000], ["MG36_camo",6000], ["MortarBucket",5000], ["MP5A5",2000], ["MP5SD",3000], ["MR43",800], ["NVGoggles",1000], ["PartEngine",1000], ["PartFueltank",500], ["PartGeneric",600], ["PartGlass",100], ["PartPlankPack",500], ["PartPlywoodPack",1000], ["PartVRotor",1000], ["PartWheel",200], ["Quiver",100], ["Remington870_lamp",1000], ["revolver_EP1",1000], ["revolver_gold_EP1",2000], ["RH_10Rnd_22LR_mk2",500], ["RH_12Rnd_45cal_usp",500], ["RH_13Rnd_9x19_bhp",500], ["RH_15Rnd_9x19_usp",500], ["RH_15Rnd_9x19_uspsd",1000], ["RH_17Rnd_9x19_g17",500], ["RH_17Rnd_9x19_g17SD",500], ["RH_19Rnd_9x19_g18",500], ["RH_20Rnd_32cal_vz61",500], ["RH_20Rnd_762x51_hk417",500], ["RH_20Rnd_762x51_SD_hk417",1000], ["RH_20Rnd_9x19_M93",500], ["RH_30Rnd_9x19_tec",500], ["RH_32Rnd_9x19_Muzi",500], ["RH_6Rnd_357_Mag",500], ["RH_6Rnd_44_Mag",500], ["RH_7Rnd_32cal_ppk",500], ["RH_7Rnd_50_AE",500], ["RH_8Rnd_45cal_m1911",500], ["RH_8Rnd_762_tt33",500], ["RH_8Rnd_9x19_Mk",500], ["RH_8Rnd_9x19_Mksd",1000], ["RH_8Rnd_9x19_P38",500], ["RH_acr",2000], ["RH_acracog",2000], ["RH_acraim",2000], ["RH_acrb",2000], ["RH_acrbacog",2000], ["RH_acrbaim",2000], ["RH_acrbgl",2000], ["RH_acrbglacog",2000], ["RH_acrbglaim",2000], ["RH_acrbgleotech",2000], ["RH_acreotech",2000], ["RH_acrgl",2000], ["RH_acrglacog",2000], ["RH_acrglaim",2000], ["RH_acrgleotech",2000], ["RH_anac",1000], ["RH_anacg",1000], ["RH_browninghp",1000], ["RH_bull",1000], ["RH_ctar21",2000], ["RH_ctar21glacog",2000], ["RH_ctar21m",2000], ["RH_ctar21mgl",2000], ["RH_deagle",1000], ["RH_Deagleg",1000], ["RH_Deaglem",1000], ["RH_Deaglemz",1000], ["RH_Deaglemzb",1000], ["RH_Deagles",1000], ["RH_g17",1000], ["RH_g17sd",1200], ["RH_g18",1000], ["RH_g19",1000], ["RH_g19t",1000], ["RH_hk416",2000], ["RH_hk416acog",2000], ["RH_hk416aim",2000], ["RH_hk416eotech",2000], ["RH_hk416gl",2000], ["RH_hk416glacog",2000], ["RH_hk416glaim",2000], ["RH_hk416gleotech",2000], ["RH_hk416s",2000], ["RH_hk416sacog",2000], ["RH_hk416saim",2000], ["RH_hk416sd",6000], ["RH_hk416sdaim",6000], ["RH_hk416sdeotech",6000], ["RH_hk416sdgl",6000], ["RH_hk416sdglaim",6000], ["RH_hk416sdgleotech",6000], ["RH_hk416seotech",2000], ["RH_hk416sgl",2000], ["RH_hk416sglacog",2000], ["RH_hk416sglaim",2000], ["RH_hk416sgleotech",2000], ["RH_hk417",2000], ["RH_hk417acog",2000], ["RH_hk417aim",2000], ["RH_hk417eotech",2000], ["RH_hk417s",2000], ["RH_hk417sacog",2000], ["RH_hk417saim",2000], ["RH_hk417sd",6000], ["RH_hk417sdacog",6000], ["RH_hk417sdaim",6000], ["RH_hk417sdeotech",6000], ["RH_hk417sdsp",6000], ["RH_hk417seotech",2000], ["RH_hk417sgl",2000], ["RH_hk417sglacog",2000], ["RH_hk417sglaim",2000], ["RH_hk417sgleotech",2000], ["RH_hk417sp",2000], ["RH_m14",2000], ["RH_m14aim",2000], ["RH_m1911",1000], ["RH_m1911old",1000], ["RH_m1911sd",1200], ["RH_m1sacog",5000], ["RH_m9",1000], ["RH_m93r",1000], ["RH_m9c",1000], ["RH_m9csd",1200], ["RH_m9sd",1200], ["RH_mas",2000], ["RH_masacog",2000], ["RH_masaim",2000], ["RH_masb",2000], ["RH_masbacog",2000], ["RH_masbaim",2000], ["RH_masbeotech",2000], ["RH_masbsd",6000], ["RH_masbsdacog",6000], ["RH_masbsdaim",6000], ["RH_masbsdeotech",6000], ["RH_maseotech",2000], ["RH_massd",6000], ["RH_massdacog",6000], ["RH_massdaim",6000], ["RH_massdeotech",6000], ["RH_mk2",1000], ["RH_mk22",1000], ["RH_mk22sd",1200], ["RH_mk22v",1000], ["RH_mk22vsd",1200], ["RH_muzi",1200], ["RH_p226",1000], ["RH_p226s",1000], ["RH_p38",1000], ["RH_ppk",1000], ["RH_python",1000], ["RH_star21",2000], ["RH_tec9",1200], ["RH_tt33",1000], ["RH_usp",1000], ["RH_uspm",1000], ["RH_uspsd",1200], ["RH_vz61",1200], ["RPK_74",6000], ["Sa58P_EP1",1000], ["Sa58V_CCO_EP1",4000], ["Sa58V_EP1",1000], ["Sa58V_RCO_EP1",4000], ["Sa61_EP1",5000], ["Saiga12K",3000], ["SCAR_L_CQC_Holo",5000], ["skavil_M60",2000], ["skavil_M60e3",2000], ["Skin_Bandit1_DZ",1000], ["Skin_Bandit2_DZ",1000], ["Skin_BanditW1_DZ",1000], ["Skin_BanditW2_DZ",1000], ["Skin_Camo1_DZ",2000], ["Skin_CZ_Soldier_Sniper_EP1_DZ",2000], ["Skin_Drake_Light_DZ",2000], ["Skin_FR_OHara_DZ",2000], ["Skin_FR_Rodriguez_DZ",2000], ["Skin_Functionary1_EP1_DZ",1000], ["Skin_Graves_Light_DZ",2000], ["Skin_GUE_Commander_DZ",1000], ["Skin_GUE_Soldier_2_DZ",1000], ["Skin_GUE_Soldier_CO_DZ",1000], ["Skin_GUE_Soldier_Crew_DZ",1000], ["Skin_GUE_Soldier_Sniper_DZ",1000], ["Skin_Haris_Press_EP1_DZ",1000], ["Skin_Ins_Soldier_GL_DZ",1000], ["Skin_Pilot_EP1_DZ",1000], ["Skin_Priest_DZ",1000], ["Skin_Rocker1_DZ",1000], ["Skin_Rocker2_DZ",1000], ["Skin_Rocker3_DZ",1000], ["Skin_Rocker4_DZ",1000], ["Skin_Rocket_DZ",2000], ["Skin_RU_Policeman_DZ",1000], ["Skin_Sniper1_DZ",2000], ["Skin_Soldier1_DZ",2000], ["Skin_Soldier_Bodyguard_AA12_PMC_DZ",2000], ["Skin_Soldier_Sniper_PMC_DZ",1000], ["Skin_Soldier_TL_PMC_DZ",1000], ["Skin_Survivor2_DZ",1000], ["Skin_SurvivorW2_DZ",1000], ["Skin_SurvivorW3_DZ",1000], ["Skin_SurvivorWcombat_DZ",1000], ["Skin_SurvivorWdesert_DZ",1000], ["Skin_SurvivorWpink_DZ",1000], ["Skin_SurvivorWurban_DZ",1000], ["Skin_TK_INS_Soldier_EP1_DZ",1000], ["Skin_TK_INS_Warlord_EP1_DZ",1000], ["SmokeShell",100], ["SmokeShellGreen",100], ["SmokeShellRed",100], ["SVD",6000], ["SVD_CAMO",6000], ["SVD_des_EP1",6000], ["USSOF_Mk_48",2000], ["USSR_5Rnd_408",500], ["USSR_cheytacM200",5000], ["UZI_EP1",2000], ["UZI_SD_EP1",5000], ["vil_100Rnd_762x39_RPD",500], ["vil_10Rnd_762x39_SKS",500], ["vil_10Rnd_762x54_SV",500], ["vil_10Rnd_Mauser",500], ["vil_10Rnd_PSL",500], ["vil_17Rnd_9x19_PYA",500], ["vil_20Rnd_556x45_IN",500], ["vil_20Rnd_556x45_SG",500], ["vil_20Rnd_762x51_G3",500], ["vil_20Rnd_9x18_aps",500], ["vil_20Rnd_9x18_apsSD",1000], ["vil_20Rnd_9x39_SP6ns_OC",500], ["Vil_30Rnd_556x45_HK",500], ["vil_32Rnd_uzi",500], ["vil_32Rnd_UZI_SD",1000], ["Vil_35Rnd_556x45_G",500], ["vil_40Rnd_762x39_AK47",500], ["vil_45Rnd_545x39_AK",500], ["vil_75Rnd_762x39_AK47",500], ["vil_8Rnd_TT",500], ["vil_9a91",1200], ["vil_9a91_c",1200], ["vil_9a91_csd",300], ["vil_Abakan",2000], ["vil_Abakan_gp",2000], ["vil_Abakan_P29",2000], ["vil_AEK1",2000], ["vil_AEK2",2000], ["vil_AeK_23",2000], ["vil_AeK_3",2000], ["vil_AeK_3_K",2000], ["vil_AEK_GL",2000], ["vil_AG3",2000], ["vil_AG36",2000], ["vil_AG36A2",2000], ["vil_AG36KA4",2000], ["vil_AG36KV",2000], ["vil_AG3EOT",2000], ["vil_ak12",2000], ["vil_ak12_ap",2000], ["vil_ak12_gp",2000], ["vil_AK47_BASE",2000], ["vil_AKM",2000], ["vil_AKMS",2000], ["vil_AKMSB",2000], ["vil_AKMS_GP25",2000], ["vil_AKM_BASE",2000], ["vil_AKM_GL",2000], ["vil_AKS_47",2000], ["vil_AKS_BASE",2000], ["vil_AK_47",2000], ["vil_AK_47_49",2000], ["vil_AK_47_m1",2000], ["vil_AK_74m_c",2000], ["vil_AK_74m_EOT",2000], ["vil_AK_74m_EOT_Alfa",2000], ["vil_AK_74m_EOT_FSB",2000], ["vil_AK_74m_EOT_FSB_45",2000], ["vil_AK_74m_EOT_FSB_60",2000], ["vil_AK_74m_gp",2000], ["vil_AK_74m_gp_29",2000], ["vil_AK_74m_k",2000], ["vil_AK_74m_p29",2000], ["vil_AK_nato_m1",2000], ["vil_AK_nato_m80",2000], ["vil_AMD",2000], ["vil_AMD63",2000], ["vil_APS",1000], ["vil_apssd",1200], ["vil_ASH82",2000], ["vil_bhp_mag",500], ["vil_B_HP",1000], ["vil_Fal",2000], ["vil_Fal_Para",2000], ["vil_FnMag",2000], ["vil_G36a2",2000], ["vil_G36CC",2000], ["vil_G36E",2000], ["vil_G36KA4",2000], ["vil_G36KES",2000], ["vil_G36KSK",2000], ["vil_G36KSKdes",2000], ["vil_G36KSKdesES",2000], ["vil_G36KSKES",2000], ["vil_G36KV3",2000], ["vil_G36KV3Des",2000], ["vil_G36KVA4",2000], ["vil_G36KVZ",2000], ["vil_G36VA4",2000], ["vil_G36VA4Eot",2000], ["vil_G3a2",2000], ["vil_G3a3",2000], ["vil_G3a4",2000], ["vil_G3a4b",2000], ["vil_G3an",2000], ["vil_G3anb",2000], ["vil_G3SG1",2000], ["vil_G3sg1b",2000], ["vil_G3TGS",2000], ["vil_G3TGSb",2000], ["vil_G3ZF",2000], ["vil_G3zfb",2000], ["vil_Galil",2000], ["vil_Galil_arm",2000], ["vil_Glock",1000], ["vil_Glock_o",1000], ["vil_HK33",2000], ["vil_HK416_Aim",2000], ["VIL_HK416_EDR",2000], ["vil_HK416_EOT",2000], ["vil_HK416_GL",2000], ["vil_HK416_IS",2000], ["vil_Insas",2000], ["vil_Insas_lmg",2000], ["vil_M240_B",2000], ["vil_M249_Para",2000], ["vil_M4_EOT",2000], ["vil_M64",2000], ["vil_M70",2000], ["vil_M70B",2000], ["vil_Mg3",2000], ["vil_MG4",2000], ["vil_MG4E",2000], ["vil_Minimi",2000], ["vil_MP5SD_EOTech",300], ["vil_MP5_EOTech",1200], ["vil_MPi",2000], ["vil_PK",2000], ["vil_PKM",2000], ["vil_PKM_N",2000], ["vil_PKP",2000], ["vil_PKP_EOT",2000], ["vil_PMI",2000], ["vil_PMI74S",2000], ["vil_PMIS",2000], ["Vil_PYA",1000], ["vil_Rak74sgl",2000], ["vil_RPD",2000], ["vil_RPK",2000], ["vil_RPK74",2000], ["vil_RPK74M",2000], ["vil_RPK74M_N",2000], ["vil_RPK74M_P29",2000], ["vil_RPK75_M72",2000], ["vil_RPK75_Romania",2000], ["vil_sg540",2000], ["vil_sg542",2000], ["vil_sg542f",2000], ["vil_SKS",2000], ["vil_Tt33",1000], ["vil_type88_1",2000], ["vil_USP",1000], ["vil_USP45",1000], ["vil_USP45SD",1200], ["vil_usp45sd_mag",1000], ["vil_usp45_mag",500], ["vil_USPSD",1200], ["vil_uzi",1200], ["vil_uzimini",1200], ["vil_uzimini_SD",300], ["vil_uzi_c",1200], ["vil_uzi_SD",300], ["vil_zastava_m84",2000], ["Winchester1866",1000], ["WoodenArrow",100] /** Don't include a comma here on the last item **/ ]; 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_BACTION_INDEX = -1; tfv_BACTION = 0; tfv_BACTION_INDEX_MAGS = -1; tfv_BACTION_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 "custom\TradeFromVehicle\functions\fnc_aConcat.sqf"; tfv_fnc_checkTrade = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_checkTrade.sqf"; tfv_fnc_Convert = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_Convert.sqf"; tfv_fnc_findPrices = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_findPrices.sqf"; tfv_fnc_findTrWeapons = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_findTrWeapons.sqf"; tfv_fnc_getSteps = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_getSteps.sqf"; tfv_fnc_payTrade = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_payTrade.sqf"; tfv_fnc_wCount = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_wCount.sqf"; tfv_fnc_mCount = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_mCount.sqf"; tfv_fnc_checkTradeMags = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_checkTradeMags.sqf"; tfv_fnc_aConcatMags = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_aConcatMags.sqf"; tfv_fnc_getStepsMags = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_getStepsMags.sqf"; tfv_fnc_payTradem = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_payTradem.sqf"; /** Sell from Backpack addition **/ tfv_SALE_SUCCESS_BP_STRING = "Sold %1 weapons from your backpack"; tfv_SALE_SUCCESS_BP_STRING_MAGS = "Sold %1 items from your backpack"; tfv_NO_BP_WEAPONS = "There is no weapons inside your backpack (%1)"; tfv_NO_BP_MAGAZINES = "There is no items inside your backpack (%1)"; tfv_fnc_payTradeBpm = compile preprocessFileLineNumbers "custom\TradeFromVehicle\functions\fnc_payTradeBpm.sqf"; // Needed alot more code to count magazine round status [] execVM "custom\TradeFromVehicle\backpack_monitor.sqf"; /** Sell from Backpack addition **/ /* ******************************************************************************************************************************************* */ /* Init file finished. Start monitor script. */ [] ExecVM "custom\TradeFromVehicle\monitor.sqf"; /* ******************************************************************************************************************************************* */ Thanks for your help Link to comment Share on other sites More sharing options...
Nakama Mind Posted August 29, 2014 Report Share Posted August 29, 2014 regarding canBuild, did you look at Much appreciated but I was sure to quadruple check errything here!!! Well except the SQL part since you know config based traders and all! Still can't get it working *shrugs* No biggie my players can live without it ;P Link to comment Share on other sites More sharing options...
ekroemer Posted August 29, 2014 Report Share Posted August 29, 2014 here is my init.sqf file Hopefully you can see something wrong. I have tfv_TRADERS_ITEMS set for the black market trader in stary default skin Now, first of all (I didn't look further ;-), you've made the same mistake as someone some pages back: you have to define/set tfv_ALL_ITEMS before referencing/using it. Your tfv_TRADERS_ITEMS line belongs _after_ the tfv_ALL_ITEMS line. Link to comment Share on other sites More sharing options...
jaspoe30 Posted August 30, 2014 Report Share Posted August 30, 2014 Well I'm not sure what's going on with this script. It was working great but from last night to this morning at some point it stopped working. I currently have WickedAI, TradeFromVehicle, Infinistar Safezone, JAEM and DZAI installed on a Vilayer server. Here are my init scripts for the trade from vehicle and the server init. I've looked them over and I can't see that anything has changed. The last script installed was Wicked AI and the trade from vehicle script was working /* For DayZ Epoch Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz */ startLoadingScreen ["","RscDisplayLoadCustom"]; cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 11; //The instance dayzHiveRequest = []; initialized = false; dayz_previousID = 0; server_name = "[OGG]"; //disable greeting menu player setVariable ["BIS_noCoreConversations", true]; //disable radio messages to be heard and shown in the left lower corner of the screen enableRadio true; // May prevent "how are you civillian?" messages from NPC enableSentences true; // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 DZE_DeathMsgGlobal = true; DZE_DeathMsgSide = true; DZE_DeathMsgTitleTest = true; MaxVehicleLimit = 300; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 dayz_paraSpawn = false; dayz_minpos = -1; dayz_maxpos = 16000; dayz_sellDistance_vehicle = 10; dayz_sellDistance_boat = 30; dayz_sellDistance_air = 40; dayz_maxAnimals = 5; // Default: 8 dayz_tameDogs = true; DynamicVehicleDamageLow = 0; // Default: 0 DynamicVehicleDamageHigh = 100; // Default: 100 DZE_BuildingLimit = 400; //Default = 150, decides how many objects can be built on the server before allowing any others to be built. Change value for more buildings. DZE_BuildOnRoads = false; // Default: False domeAdminsList = ["76561198023362013","76561198019160685","76561198074683055","76561198054255000","76561197980698246","76561198033304877","76561198071159001","76561197997258353","76561198052260656","76561197965323523","76561198119442786","76561198116862580"]; /* PvE1 Admin List {Add or Remove as needed} "76561198023362013"{Tim},"??"{Honeybadger},"76561198019160685"{HeiNRicH},"76561198074683055"{Deadman},"76561198054255000"{Troublesim},"??"{Dane},"76561197980698246"{LilBunnyFooFoo},"76561198033304877"{FoxehFoxeh},"76561198071159001"(TXcowboys),"76561197997258353"{Jaspoe30},"76561198052260656"(KT),"76561197965323523" (Napoleon_Blownapart),"76561198119442786"(Galloria) */ /* Names Must Be Removed in domeAdminsList string */ EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; dayz_fullMoonNights = true; //Load in compiled functions call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) call compile preprocessFileLineNumbers "custom\JAEM\variables.sqf"; progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers progressLoadingScreen 0.2; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile regular functions progressLoadingScreen 0.5; call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs progressLoadingScreen 1.0; fnc_usec_selfActions = compile preprocessFileLineNumbers "custom\fn_selfActions.sqf"; "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf"; //Compile vehicle configs /* Dome/Base Section */ //West Kamenka Enhanced call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildingsepo\epochkamenka.sqf"; //Skalisty Bridge call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildingsepo\SkalistyBridge.sqf"; //North East Airfield call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildingsepo\neaf.sqf"; //Berezino Military Camp call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\berezino.sqf"; //Zelenogorsk Addons call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\zeleno.sqf"; //Cap G. Addons call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\capg.sqf"; //Abandoned camps call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\milicamps.sqf"; //Elektro Addons call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\elektro.sqf"; //Skalisty Military Refuge call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\skalistyrefuge.sqf"; //Troubleism's Base call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\ghostdome.sqf"; //Apples's Base call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\applesdome.sqf"; //newstary call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\newstary.sqf"; //Super AC Dealer call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\superACdealer.sqf"; //Solo Custom call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\solocustom.sqf"; //Neal Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\nealbase.sqf"; //Colt Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\coltbase.sqf"; //Bigred's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\Bigreddome.sqf"; //Troublesim Castle call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\Troublecastle.sqf"; //Elric's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\elricsdome.sqf"; //Easteregg Town call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\easteregg.sqf"; //Bradley's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\bradleydome.sqf"; //Tag's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\tagdome.sqf"; //Slideway's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\slideway.sqf"; //Jason's Base call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\jasonbase.sqf"; //Wicked's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\wickedbase.sqf"; //Fletcher's Base call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\fletcherbase.sqf"; //Nametaker's Dome call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\nametakerdome.sqf"; // Add trader citys _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf"; _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; }; if (!isDedicated) then { [] ExecVM "TradeFromVehicle\init.sqf"; [] ExecVM 'SafeZone.sqf'; /* Welcome Credits */ [] execVM "custom\Server_WelcomeCredits.sqf"; /* Custom Loadouts */ [] ExecVM "custom\loadouts.sqf"; //Conduct map operations 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; //anti Hack //[] execVM "\z\addons\dayz_code\system\antihack.sqf"; //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; /* DZAI Client */ _nul = [] execVM "custom\DZAI_Client\dzai_initclient.sqf"; /* service point Added TPE 6/5/14 */ execVM "custom\service_point\service_point.sqf"; /* DayZ Watermark */ if (!isNil "server_name") then { [] spawn { waitUntil {(!isNull Player) and (alive Player) and (player == player)}; waituntil {!(isNull (findDisplay 46))}; 5 cutRsc ["wm_disp","PLAIN"]; ((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText server_name; _nil = [] execVM "custom\JAEM\EvacChopper_init.sqf"; }; }; }; //#include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf" /* *********************** Custom Addon Section *********************** */ /* Tow and lift */ [] execVM "R3F_ARTY_AND_LOG\init.sqf"; 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 = 5; /* ******************************************************************************************************************************************* */ /* How many magazines will be sold per cycle. */ /* ******************************************************************************************************************************************* */ tfv_SALES_PER_ANIM_MAGS = 10; /* ******************************************************************************************************************************************* */ /* A list of each trader, along with the weapons they accept. */ /* ******************************************************************************************************************************************* */ tfv_NEUTRAL_ITEMS = [ "G36A_camo", "AKS_GOLD", "AK_107_pso", "G36C", "G36C_camo", "G36K_camo", "M16A2", "M16A2GL", "M16A4_ACG", "M4A1", "M4A1_HWS_GL_camo", "M4A3_CCO_EP1", "M4A1_Aim", "Sa58P_EP1", "Sa58V_CCO_EP1", "Sa58V_EP1", "Sa58V_RCO_EP1", "AKS_74_kobra", "AKS_74_U", "AK_47_M", "AK_74", "FN_FAL", "BAF_L85A2_RIS_SUSAT", "BAF_L85A2_RIS_Holo", "M16A4", "SCAR_L_CQC", "SCAR_L_CQC_Holo", "SCAR_L_STD_Mk4CQT", "SCAR_L_STD_HOLO", "M249_EP1_DZ", "M240_DZ", "Mk_48_DZ", "Pecheneg_DZ", "M9SD", "glock17_EP1", "Colt1911", "M9", "MakarovSD", "revolver_gold_EP1", "Makarov", "revolver_EP1", "Winchester1866", "MR43", "Crossbow_DZ", "M1014", "Remington870_lamp", "LeeEnfield", "SVD_CAMO", "M40A3", "M14_EP1", "huntingrifle", "M4SPR", "SVD", "SVD_des_EP1", "M24", "M24_des_EP1", "bizon_silenced", "UZI_EP1", "Sa61_EP1", "MP5A5", "UZI_SD_EP1", "MP5SD"]; tfv_BLACKMARKET_ITEMS = [ "20Rnd_9x39_SP5_VSS", "PK_DZ", "M249_DZ", "8Rnd_B_Beneli_74Slug", "20Rnd_762x51_SB_SCAR", "8Rnd_B_Beneli_Pellets", "8Rnd_B_Saiga12_74Slug", "8Rnd_B_Saiga12_Pellets", "20Rnd_B_765x17_Ball", "10Rnd_762x54_SVD", "5Rnd_762x51_M24", "30Rnd_556x45_Stanag", "20Rnd_762x51_FNFAL", "100Rnd_556x45_BetaCMag", "75Rnd_545x39_RPK", "64Rnd_9x19_Bizon", "5Rnd_127x108_KSVK", "20rnd_762x51_B_SCAR", "Saiga12K","m8_compact", "m8_sharpshooter", "m8_holo_sd", "m8_carbine", "M24_des_EP1", "VSS_vintorez", "SVD_des_EP1", "SVD", "M8_SAW", "MG36", "RPK_74", "M60A4_EP1_DZE", "m240_scoped_EP1_DZE", "M249_m145_EP1_DZE", "MG36_camo", "bizon", "M4A1_HWS_GL_SD_Camo", "KSVK_DZE", "SCAR_H_LNG_Sniper", "SCAR_H_CQC_CCO", "SCAR_H_CQC_CCO_SD", "SCAR_L_CQC_CCO_SD", "DMR_DZ"]; tfv_NEUTRALAMMO_ITEMS = [ "30Rnd_556x45_Stanag", "30Rnd_545x39_AK", "30Rnd_762x39_AK47", "30Rnd_762x39_SA58", "200Rnd_556x45_M249", "100Rnd_762x54_PK", "15Rnd_9x19_M9", "15Rnd_9x19_M9SD", "17Rnd_9x19_glock17", "6Rnd_45ACP", "7Rnd_45ACP_1911", "8Rnd_9x18_Makarov", "8Rnd_9x18_MakarovSD", "15Rnd_W1866_Slug", "2Rnd_shotgun_74Pellets", "2Rnd_shotgun_74Slug", "8Rnd_B_Beneli_74Slug", "8Rnd_B_Beneli_Pellets", "Quiver", "10x_303", "20Rnd_762x51_DMR", "10Rnd_762x54_SVD", "5Rnd_762x51_M24", "5x_22_LR_17_HMR", "30rnd_9x19_MP5", "30Rnd_9x19_MP5SD", "30Rnd_9x19_UZI", "64Rnd_9x19_SD_Bizon", "30Rnd_9x19_UZI_SD", "20Rnd_B_765x17_Ball"]; tfv_HERO_ITEMS = [ "30Rnd_556x45_StanagSD", "5Rnd_86x70_L115A1", "100Rnd_762x51_M240", "20Rnd_762x51_FNFAL", "20Rnd_762x51_SB_SCAR", "20rnd_762x51_B_SCAR", "G36_C_SD_camo", "M4A1_AIM_SD_camo", "FN_FAL_ANPVS4", "SCAR_H_LNG_Sniper_SD", "BAF_LRR_scoped", "FN_FAL", "Mk_48_DZ", "M240_DZ",]; tfv_TRADERS_ITEMS = [ ["TK_CIV_Takistani04_EP1", tfv_NEUTRAL_ITEMS, ["weapons","magazines"],0], ["GUE_Woodlander2", tfv_BLACKMARKET_ITEMS, ["weapons","magazines"],0], ["Pilot_EP1", tfv_NEUTRALAMMO_ITEMS, ["magazines"],0], ["RU_Functionary1", tfv_HERO_ITEMS, ["weapons","magazines"],500] ]; if (tfv_DEBUGGING) then { diag_log "tfv - Traders and their weapons loaded in!"; }; /* ******************************************************************************************************************************************* */ /* List of ALL weapons, regardless of trader, along with the prices. */ /* ******************************************************************************************************************************************* */ tfv_TRADERS_PRICES = [ ["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], ["30m_plot_kit",6000], ["30Rnd_545x39_AK",1], ["30Rnd_556x45_Stanag",2], ["30Rnd_556x45_StanagSD",20], ["30Rnd_762x39_AK47",1], ["30Rnd_762x39_SA58",1], ["30rnd_9x19_MP5",10], ["30Rnd_9x19_MP5SD",20], ["30Rnd_9x19_UZI",10], ["30Rnd_9x19_UZI_SD",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_kobra",200], ["AKS_74_U",100], ["AKS_GOLD",100], ["AK_107_pso",300], ["AK_47_M",600], ["AK_74",100], ["BAF_L85A2_RIS_Holo",600], ["BAF_L85A2_RIS_SUSAT",300], ["BAF_LRR_scoped",2000], ["Binocular",1], ["Binocular_Vector",100], ["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], ["CinderBlocks",20], ["Colt1911",10], ["Crossbow_DZ",5], ["DMR",2000], ["DMR_DZ",2000], ["FlareGreen_M203",1], ["FlareWhite_M203",1], ["FN_FAL",500], ["FN_FAL_ANPVS4",1000], ["FoodbaconCooked",2], ["FoodbeefCooked",2], ["FoodCanBakedBeans",1], ["FoodCanFrankBeans",1], ["FoodCanPasta",1], ["FoodCanSardines",1], ["FoodchickenCooked",2], ["FoodMRE",5], ["FoodmuttonCooked",2], ["FoodNutmix",1], ["FoodPistachio",1], ["FoodrabbitCooked",10], ["G36A_camo",300], ["G36C",200], ["G36C_camo",300], ["G36K_camo",300], ["G36_C_SD_camo",500], ["glock17_EP1",50], ["HandChemBlue",1], ["HandChemGreen",1], ["HandChemRed",1], ["HandGrenade_east",200], ["HandGrenade_west",200], ["HandRoadFlare",1], ["huntingrifle",100], ["ItemAntibiotic",20], ["ItemBandage",1], ["ItemBloodbag",1], ["ItemCompass",3], ["ItemCorrugated",100], ["ItemCrowbar",1], ["ItemEpinephrine",1], ["ItemEtool",60], ["ItemFishingPole",10], ["ItemFlashlight",1], ["ItemFlashlightRed",5], ["ItemFuelBarrel",100], ["ItemFuelBarrelEmpty",50], ["ItemGenerator",300], ["ItemGPS",100], ["ItemHatchet_DZE",1], ["ItemHeatPack",1], ["ItemJerrycan",2], ["ItemJerrycanEmpty",1], ["ItemKnife",1], ["ItemLightBulb",10], ["ItemMachete",1], ["ItemMap",3], ["ItemMatchbox_DZE",1], ["ItemMorphine",1], ["ItemPainkiller",1], ["ItemPole",5], ["ItemSandbag",200], ["ItemSeaBassCooked",20], ["ItemSodaCoke",1], ["ItemSodaMdew",300], ["ItemSodaOrangeSherbet",200], ["ItemSodaPepsi",1], ["ItemSodaR4z0r",300], ["ItemSodaRbull",300], ["ItemTankTrap",10], ["ItemTentDomed",30], ["ItemTentDomed2",30], ["ItemTentOld",20], ["ItemToolbox",1], ["ItemTroutCooked",10], ["ItemTunaCooked",100], ["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], ["m240_scoped_EP1_DZE",600], ["M249_DZ",600], ["M249_EP1_DZ",600], ["M249_m145_EP1_DZE",600], ["M24_des_EP1",600], ["M40A3",600], ["M4A1",200], ["M4A1_Aim",400], ["M4A1_AIM_SD_camo",500], ["M4A1_HWS_GL_camo",400], ["M4A1_HWS_GL_SD_Camo",1000], ["M4A3_CCO_EP1",500], ["M4SPR",600], ["M60A4_EP1_DZE",1000], ["m8_carbine",200], ["m8_compact",200], ["m8_holo_sd",400], ["M8_SAW",600], ["m8_sharpshooter",300], ["M9",20], ["M9SD",100], ["Makarov",10], ["MakarovSD",100], ["MG36",600], ["MG36_camo",600], ["Mk_48_DZ",1000], ["MortarBucket",50], ["MP5A5",20], ["MP5SD",300], ["MR43",8], ["NVGoggles",100], ["PartEngine",10], ["PartFueltank",5], ["PartGeneric",6], ["PartGlass",1], ["PartPlankPack",5], ["PartPlywoodPack",10], ["PartVRotor",10], ["PartWheel",2], ["Pecheneg_DZ",1000], ["PipeBomb",2000], ["PK_DZ",1000], ["Quiver",1], ["Remington870_lamp",100], ["revolver_EP1",10], ["revolver_gold_EP1",200], ["RPK_74",600], ["Sa58P_EP1",100], ["Sa58V_CCO_EP1",400], ["Sa58V_EP1",100], ["Sa58V_RCO_EP1",400], ["Sa61_EP1",50], ["Saiga12K",300], ["SCAR_H_LNG_Sniper_SD",1000], ["Skin_Bandit1_DZ",100], ["Skin_Bandit2_DZ",100], ["Skin_BanditW1_DZ",100], ["Skin_BanditW2_DZ",100], ["Skin_Camo1_DZ",100], ["Skin_CZ_Soldier_Sniper_EP1_DZ",100], ["Skin_CZ_Special_Forces_GL_DES_EP1_DZ",100], ["Skin_Drake_Light_DZ",100], ["Skin_FR_OHara_DZ",100], ["Skin_FR_Rodriguez_DZ",100], ["Skin_Functionary1_EP1_DZ",100], ["Skin_Graves_Light_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_Haris_Press_EP1_DZ",100], ["Skin_Ins_Soldier_GL_DZ",100], ["Skin_Pilot_EP1_DZ",100], ["Skin_Priest_DZ",100], ["Skin_Rocker1_DZ",100], ["Skin_Rocker2_DZ",100], ["Skin_Rocker3_DZ",100], ["Skin_Rocker4_DZ",100], ["Skin_Rocket_DZ",100], ["Skin_RU_Policeman_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], ["SVD",600], ["SVD_CAMO",600], ["SVD_des_EP1",600], ["UZI_EP1",200], ["UZI_SD_EP1",500], ["VSS_vintorez",400], ["Winchester1866",10], ["WoodenArrow",1] ]; 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 More sharing options...
sisquo007 Posted September 2, 2014 Report Share Posted September 2, 2014 Hey! u have an error in your file! in the section with TfV_HERO_ITEMS look at the last line! "M240_DZ",] remove the comma in between ",] <---- thats the one i see! hope there are not other Errors too^^ Link to comment Share on other sites More sharing options...
murtashan Posted September 4, 2014 Report Share Posted September 4, 2014 Hi Ekroemer Thanks for your help working great now :-) i had a few other things to fix but i got that sorted once i found that syntex highlighter for sqf files for notepad++ I noticed a few things :) but thank you i would of never got it working without your help. cheers Link to comment Share on other sites More sharing options...
Externized Posted September 4, 2014 Report Share Posted September 4, 2014 When i scroll on any traders nothing comes up, any ideas? Link to comment Share on other sites More sharing options...
Mates31cz Posted September 18, 2014 Report Share Posted September 18, 2014 Dont Work. stuck on loadscreen. mission init /* For DayZ Epoch Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz */ startLoadingScreen ["","RscDisplayLoadCustom"]; cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 11; //The instance dayzHiveRequest = []; initialized = false; dayz_previousID = 0; //disable greeting menu player setVariable ["BIS_noCoreConversations", true]; //disable radio messages to be heard and shown in the left lower corner of the screen enableRadio true; // May prevent "how are you civillian?" messages from NPC enableSentences false; // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxVehicleLimit = 150; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 dayz_paraSpawn = false; dayz_minpos = -1; dayz_maxpos = 16000; dayz_sellDistance_vehicle = 10; dayz_sellDistance_boat = 30; dayz_sellDistance_air = 40; dayz_maxAnimals = 15; // Default: 8 dayz_tameDogs = true; DynamicVehicleDamageLow = 0; // Default: 0 DynamicVehicleDamageHigh = 75; // Default: 100 DZE_BuildOnRoads = false; // Default: False EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; dayz_fullMoonNights = true; dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout if ((getPlayerUID player) in ["76561198005574540","76561198025218333","76561198056807429"]) then { //Admins: Mates, Atlantis, Alien DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = ""; }; //Moderator Loadout if ((getPlayerUID player) in ["14725836"]) then { //Moderators: ThatOtherGuy DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","Saiga12K","Binocular_Vector","NVGoggles","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_Backpack_EP1"; DefaultBackpackWeapon = ""; }; //Pro-Donator Loadout if ((getPlayerUID player) in ["96385274"]) then { //Pro-Donators: MoneyBags DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; //Donator Loadout if ((getPlayerUID player) in ["456789123"]) then { //Donators: Nobody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemGoldBar","15Rnd_W1866_Slug","15Rnd_W1866_Slug"]; DefaultWeapons = ["glock17_EP1","Winchester1866","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; }; //Load in compiled functions call compile preprocessFileLineNumbers "custom\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) call compile preprocessFileLineNumbers "custom\JAEM\variables.sqf"; progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers progressLoadingScreen 0.2; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions call compile preprocessFileLineNumbers "addons\bike\init.sqf"; progressLoadingScreen 0.5; call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles progressLoadingScreen 1.0; "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf"; //Compile vehicle configs // Add trader citys _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf"; _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; }; if (!isDedicated) then { //Conduct map operations 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; if (isNil 'debugMonitor') then { debugMonitor = true; _nill = execvm "custom\debug_monitor.sqf"; }; // Service Point Rearm+ [] execVM "custom\service_point\service_point.sqf"; [] execvm "AGN\agn_SafeZoneCommander.sqf"; [] execVM "TradeFromVehicle\init.sqf _nul = ["clientradio","zombieenemy"] execVM "DZAI_Client\dzai_initclient.sqf"; _nil = [] execVM "custom\JAEM\EvacChopper_init.sqf"; }; //Start Dynamic Weather execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf" TfV init waitUntil {!isNil "dayz_animalCheck"}; sleep 1; /* ******************************************************************************************************************************************* */ /* Turn debugging functionality on or off. */ /* ******************************************************************************************************************************************* */ tfv_DEBUGGING = false; /* ******************************************************************************************************************************************* */ /* How many weapons will be sold per cycle. */ /* ******************************************************************************************************************************************* */ tfv_SALES_PER_ANIM = 1; /* ******************************************************************************************************************************************* */ /* How many magazines will be sold per cycle. */ /* ******************************************************************************************************************************************* */ tfv_SALES_PER_ANIM_MAGS = 2; /* ******************************************************************************************************************************************* */ /* A list of each trader, along with the weapons they accept. */ /* ******************************************************************************************************************************************* */ tfv_NEUTRAL_ITEMS = [ "G36A_camo", "AKS_GOLD", "AK_107_pso", "G36C", "G36C_camo", "G36K_camo", "M16A2", "M16A2GL", "M16A4_ACG", "M4A1", "M4A1_HWS_GL_camo", "M4A3_CCO_EP1", "M4A1_Aim", "Sa58P_EP1", "Sa58V_CCO_EP1", "Sa58V_EP1", "Sa58V_RCO_EP1", "AKS_74_kobra", "AKS_74_U", "AK_47_M", "AK_74", "FN_FAL", "BAF_L85A2_RIS_SUSAT", "BAF_L85A2_RIS_Holo", "M16A4", "SCAR_L_CQC", "SCAR_L_CQC_Holo", "SCAR_L_STD_Mk4CQT", "SCAR_L_STD_HOLO", "M249_EP1_DZ", "M240_DZ", "Mk_48_DZ", "Pecheneg_DZ", "M9SD", "glock17_EP1", "Colt1911", "M9", "MakarovSD", "revolver_gold_EP1", "Makarov", "revolver_EP1", "Winchester1866", "MR43", "Crossbow_DZ", "M1014", "Remington870_lamp", "LeeEnfield", "SVD_CAMO", "M40A3", "M14_EP1", "huntingrifle", "M4SPR", "SVD", "SVD_des_EP1", "M24", "M24_des_EP1", "bizon_silenced", "UZI_EP1", "Sa61_EP1", "MP5A5", "UZI_SD_EP1", "MP5SD" ]; tfv_BLACKMARKET_ITEMS = [ "20Rnd_9x39_SP5_VSS", "PK_DZ", "M249_DZ", "8Rnd_B_Beneli_74Slug", "20Rnd_762x51_SB_SCAR", "8Rnd_B_Beneli_Pellets", "8Rnd_B_Saiga12_74Slug", "8Rnd_B_Saiga12_Pellets", "20Rnd_B_765x17_Ball", "10Rnd_762x54_SVD", "5Rnd_762x51_M24", "30Rnd_556x45_Stanag", "20Rnd_762x51_FNFAL", "100Rnd_556x45_BetaCMag", "75Rnd_545x39_RPK", "64Rnd_9x19_Bizon", "5Rnd_127x108_KSVK", "20rnd_762x51_B_SCAR", "Saiga12K","m8_compact", "m8_sharpshooter", "m8_holo_sd", "m8_carbine", "M24_des_EP1", "VSS_vintorez", "SVD_des_EP1", "SVD", "M8_SAW", "MG36", "RPK_74", "M60A4_EP1_DZE", "m240_scoped_EP1_DZE", "M249_m145_EP1_DZE", "MG36_camo", "bizon", "M4A1_HWS_GL_SD_Camo", "KSVK_DZE", "SCAR_H_LNG_Sniper", "SCAR_H_CQC_CCO", "SCAR_H_CQC_CCO_SD", "SCAR_L_CQC_CCO_SD", "DMR_DZ" ]; tfv_NEUTRALAMMO_ITEMS = [ "30Rnd_556x45_Stanag", "30Rnd_545x39_AK", "30Rnd_762x39_AK47", "30Rnd_762x39_SA58", "200Rnd_556x45_M249", "100Rnd_762x54_PK", "15Rnd_9x19_M9", "15Rnd_9x19_M9SD", "17Rnd_9x19_glock17", "6Rnd_45ACP", "7Rnd_45ACP_1911", "8Rnd_9x18_Makarov", "8Rnd_9x18_MakarovSD", "15Rnd_W1866_Slug", "2Rnd_shotgun_74Pellets", "2Rnd_shotgun_74Slug", "8Rnd_B_Beneli_74Slug", "8Rnd_B_Beneli_Pellets", "Quiver", "10x_303", "20Rnd_762x51_DMR", "10Rnd_762x54_SVD", "5Rnd_762x51_M24", "5x_22_LR_17_HMR", "30rnd_9x19_MP5", "30Rnd_9x19_MP5SD", "30Rnd_9x19_UZI", "64Rnd_9x19_SD_Bizon", "30Rnd_9x19_UZI_SD", "20Rnd_B_765x17_Ball" ]; tfv_HERO_ITEMS = [ "30Rnd_556x45_StanagSD", "5Rnd_86x70_L115A1", "100Rnd_762x51_M240", "20Rnd_762x51_FNFAL", "20Rnd_762x51_SB_SCAR", "20rnd_762x51_B_SCAR", "G36_C_SD_camo", "M4A1_AIM_SD_camo", "FN_FAL_ANPVS4", "SCAR_H_LNG_Sniper_SD", "BAF_LRR_scoped", "FN_FAL", "Mk_48_DZ", "M240_DZ" ]; tfv_TRADERS_ITEMS = [ ["TK_CIV_Takistani04_EP1", tfv_NEUTRAL_ITEMS, ["weapons","magazines"],0], ["GUE_Woodlander2", tfv_BLACKMARKET_ITEMS, ["weapons","magazines"],0], ["Pilot_EP1", tfv_NEUTRALAMMO_ITEMS, ["magazines"],0], ["RU_Functionary1", tfv_HERO_ITEMS, ["weapons","magazines"],500] ]; if (tfv_DEBUGGING) then { diag_log "tfv - Traders and their weapons loaded in!"; }; /* ******************************************************************************************************************************************* */ /* List of ALL weapons, regardless of trader, along with the prices. */ /* ******************************************************************************************************************************************* */ tfv_TRADERS_PRICES = [ ["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], ["30m_plot_kit",6000], ["30Rnd_545x39_AK",1], ["30Rnd_556x45_Stanag",2], ["30Rnd_556x45_StanagSD",20], ["30Rnd_762x39_AK47",1], ["30Rnd_762x39_SA58",1], ["30rnd_9x19_MP5",10], ["30Rnd_9x19_MP5SD",20], ["30Rnd_9x19_UZI",10], ["30Rnd_9x19_UZI_SD",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_kobra",200], ["AKS_74_U",100], ["AKS_GOLD",100], ["AK_107_pso",300], ["AK_47_M",600], ["AK_74",100], ["BAF_L85A2_RIS_Holo",600], ["BAF_L85A2_RIS_SUSAT",300], ["BAF_LRR_scoped",2000], ["Binocular",1], ["Binocular_Vector",100], ["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], ["CinderBlocks",20], ["Colt1911",10], ["Crossbow_DZ",5], ["DMR",2000], ["DMR_DZ",2000], ["FlareGreen_M203",1], ["FlareWhite_M203",1], ["FN_FAL",500], ["FN_FAL_ANPVS4",1000], ["FoodbaconCooked",2], ["FoodbeefCooked",2], ["FoodCanBakedBeans",1], ["FoodCanFrankBeans",1], ["FoodCanPasta",1], ["FoodCanSardines",1], ["FoodchickenCooked",2], ["FoodMRE",5], ["FoodmuttonCooked",2], ["FoodNutmix",1], ["FoodPistachio",1], ["FoodrabbitCooked",10], ["G36A_camo",300], ["G36C",200], ["G36C_camo",300], ["G36K_camo",300], ["G36_C_SD_camo",500], ["glock17_EP1",50], ["HandChemBlue",1], ["HandChemGreen",1], ["HandChemRed",1], ["HandGrenade_east",200], ["HandGrenade_west",200], ["HandRoadFlare",1], ["huntingrifle",100], ["ItemAntibiotic",20], ["ItemBandage",1], ["ItemBloodbag",1], ["ItemCompass",3], ["ItemCorrugated",100], ["ItemCrowbar",1], ["ItemEpinephrine",1], ["ItemEtool",60], ["ItemFishingPole",10], ["ItemFlashlight",1], ["ItemFlashlightRed",5], ["ItemFuelBarrel",100], ["ItemFuelBarrelEmpty",50], ["ItemGenerator",300], ["ItemGPS",100], ["ItemHatchet_DZE",1], ["ItemHeatPack",1], ["ItemJerrycan",2], ["ItemJerrycanEmpty",1], ["ItemKnife",1], ["ItemLightBulb",10], ["ItemMachete",1], ["ItemMap",3], ["ItemMatchbox_DZE",1], ["ItemMorphine",1], ["ItemPainkiller",1], ["ItemPole",5], ["ItemSandbag",200], ["ItemSeaBassCooked",20], ["ItemSodaCoke",1], ["ItemSodaMdew",300], ["ItemSodaOrangeSherbet",200], ["ItemSodaPepsi",1], ["ItemSodaR4z0r",300], ["ItemSodaRbull",300], ["ItemTankTrap",10], ["ItemTentDomed",30], ["ItemTentDomed2",30], ["ItemTentOld",20], ["ItemToolbox",1], ["ItemTroutCooked",10], ["ItemTunaCooked",100], ["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], ["m240_scoped_EP1_DZE",600], ["M249_DZ",600], ["M249_EP1_DZ",600], ["M249_m145_EP1_DZE",600], ["M24_des_EP1",600], ["M40A3",600], ["M4A1",200], ["M4A1_Aim",400], ["M4A1_AIM_SD_camo",500], ["M4A1_HWS_GL_camo",400], ["M4A1_HWS_GL_SD_Camo",1000], ["M4A3_CCO_EP1",500], ["M4SPR",600], ["M60A4_EP1_DZE",1000], ["m8_carbine",200], ["m8_compact",200], ["m8_holo_sd",400], ["M8_SAW",600], ["m8_sharpshooter",300], ["M9",20], ["M9SD",100], ["Makarov",10], ["MakarovSD",100], ["MG36",600], ["MG36_camo",600], ["Mk_48_DZ",1000], ["MortarBucket",50], ["MP5A5",20], ["MP5SD",300], ["MR43",8], ["NVGoggles",100], ["PartEngine",10], ["PartFueltank",5], ["PartGeneric",6], ["PartGlass",1], ["PartPlankPack",5], ["PartPlywoodPack",10], ["PartVRotor",10], ["PartWheel",2], ["Pecheneg_DZ",1000], ["PipeBomb",2000], ["PK_DZ",1000], ["Quiver",1], ["Remington870_lamp",100], ["revolver_EP1",10], ["revolver_gold_EP1",200], ["RPK_74",600], ["Sa58P_EP1",100], ["Sa58V_CCO_EP1",400], ["Sa58V_EP1",100], ["Sa58V_RCO_EP1",400], ["Sa61_EP1",50], ["Saiga12K",300], ["SCAR_H_LNG_Sniper_SD",1000], ["Skin_Bandit1_DZ",100], ["Skin_Bandit2_DZ",100], ["Skin_BanditW1_DZ",100], ["Skin_BanditW2_DZ",100], ["Skin_Camo1_DZ",100], ["Skin_CZ_Soldier_Sniper_EP1_DZ",100], ["Skin_CZ_Special_Forces_GL_DES_EP1_DZ",100], ["Skin_Drake_Light_DZ",100], ["Skin_FR_OHara_DZ",100], ["Skin_FR_Rodriguez_DZ",100], ["Skin_Functionary1_EP1_DZ",100], ["Skin_Graves_Light_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_Haris_Press_EP1_DZ",100], ["Skin_Ins_Soldier_GL_DZ",100], ["Skin_Pilot_EP1_DZ",100], ["Skin_Priest_DZ",100], ["Skin_Rocker1_DZ",100], ["Skin_Rocker2_DZ",100], ["Skin_Rocker3_DZ",100], ["Skin_Rocker4_DZ",100], ["Skin_Rocket_DZ",100], ["Skin_RU_Policeman_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], ["SVD",600], ["SVD_CAMO",600], ["SVD_des_EP1",600], ["UZI_EP1",200], ["UZI_SD_EP1",500], ["VSS_vintorez",400], ["Winchester1866",10], ["WoodenArrow",1] ]; 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 More sharing options...
ekroemer Posted September 19, 2014 Report Share Posted September 19, 2014 What about changing the line [] execVM "TradeFromVehicle\init.sqf to [] execVM "TradeFromVehicle\init.sqf"; Closing " and end-of-statement ; do wonders for correct code parsing..... Link to comment Share on other sites More sharing options...
Mates31cz Posted September 19, 2014 Report Share Posted September 19, 2014 What about changing the line [] execVM "TradeFromVehicle\init.sqf to [] execVM "TradeFromVehicle\init.sqf"; Closing " and end-of-statement ; do wonders for correct code parsing..... Thanks, I had overlooked. Link to comment Share on other sites More sharing options...
Trunk Posted September 23, 2014 Report Share Posted September 23, 2014 Got a problem with your script, i don't have the option on scroll menu. ===================================================================== == D:\TCAFiles\Users\GatelierR\30325\arma2oaserver.exe == ARMA2OASERVER.exe -name=VilayerDayZEpoch -mod=@DayZ_Epoch;@DayZEpochServer -config=vilayer_active_server_30325\30325_config.cfg -cfg=vilayer_active_server_30325\basic.cfg -profiles=vilayer_active_server_30325 -ip=37.59.90.82 -port=2602 ===================================================================== Exe timestamp: 2014/09/16 17:56:03 Current time: 2014/09/23 20:34:36 Version 1.63.125548 Item STR_EQUIP_NAME_41 listed twice Item STR_EQUIP_DESC_41 listed twice Updating base class ->NonStrategic, by Ca\config.bin/CfgVehicles/HouseBase/ Updating base class ->HouseBase, by Ca\config.bin/CfgVehicles/Ruins/ Updating base class ->DestructionEffects, by Ca\config.bin/CfgVehicles/House/DestructionEffects/ Updating base class ->FlagCarrierCore, by ca\ca_pmc\config.bin/CfgVehicles/FlagCarrier/ Updating base class ->VehicleMagazine, by ca\weapons\config.bin/CfgMagazines/14Rnd_FFAR/ Updating base class ->PistolCore, by ca\weapons\config.bin/cfgWeapons/Pistol/ Updating base class ->LauncherCore, by ca\weapons\config.bin/cfgWeapons/RocketPods/ Updating base class ->RocketPods, by ca\weapons\config.bin/cfgWeapons/FFARLauncher/ Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/ Updating base class ->Citizen, by ca\characters2\config.bin/CfgVehicles/Citizen1/ Updating base class ->SkodaBase, by ca\wheeled\config.bin/CfgVehicles/car_sedan/ Updating base class ->UH60_Base, by ca\air\config.bin/CfgVehicles/MH60S/ Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_Fire/ Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_A_tent/ Updating base class ->Camp_base, by ca\misc3\config.bin/CfgVehicles/ACamp/ Updating base class ->Car, by ca\wheeled2\lada\config.bin/CfgVehicles/Lada_base/ Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/ Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/ Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/ Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/ Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_PowLines_Conc2L_EP1/ Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl/ Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_2/ Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_3/ Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind/ Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind_zebr/ Updating base class RscStandardDisplay->, by z\addons\dayz_code\config.bin/RscDisplayStart/ Updating base class RscShortcutButton->RscShortcutButtonMain, by z\addons\dayz_code\config.bin/RscDisplayMain/controls/CA_Exit/ Updating base class RscText->, by z\addons\dayz_code\config.bin/RscTitles/Default/ Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_villager1/ Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_worker1/ Updating base class Soldier_Crew_PMC->Soldier_Bodyguard_M4_PMC, by z\addons\dayz_code\config.bin/CfgVehicles/SurvivorW2_DZ/ Updating base class HighCommand->Logic, by z\addons\dayz_code\config.bin/CfgVehicles/HighCommandSubordinate/ Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/Mi17_base/Turrets/MainTurret/ViewOptics/ Updating base class HouseBase->, by z\addons\dayz_code\config.bin/CfgVehicles/House/ Updating base class NonStrategic->BuiltItems, by z\addons\dayz_code\config.bin/CfgVehicles/Fort_RazorWire/ Updating base class MeleeHatchet->MeleeWeapon, by z\addons\dayz_code\config.bin/CfgWeapons/MeleeCrowbar/ Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/29Rnd_30mm_AGS30/ Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/48Rnd_40mm_MK19/ Updating base class 4000Rnd_762x51_M134->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/2000Rnd_762x51_M134/ Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/100Rnd_127x99_M2/ Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/50Rnd_127x107_DSHKM/ Updating base class Hatchet_Swing->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/crowbar_swing/ Updating base class CA_Magazine->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/Hatchet_Swing/ Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_1L2/ Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_3I3/ Updating base class ->Plane, by ca\air2\mv22\config.bin/CfgVehicles/MV22/ Updating base class ViewOptics->, by ca\air2\uh1y\config.bin/CfgVehicles/UH1_Base/Turrets/MainTurret/ViewOptics/ Updating base class ->HouseBase, by ca\misc_e\config.bin/CfgVehicles/House/ Updating base class ->Land_CamoNet_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNet_EAST_EP1/ Updating base class ->Land_CamoNetB_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNetB_EAST_EP1/ Updating base class ->Sign_1L_Noentry, by ca\misc_e\config.bin/CfgVehicles/Sign_1L_Noentry_EP1/ Updating base class ->Sign_circle, by ca\misc_e\config.bin/CfgVehicles/Helper_Base_EP1/ Updating base class ->Rifle, by ca\weapons_baf\config.bin/cfgWeapons/BAF_AS50_scoped/ Updating base class ->Rifle, by ca\weapons_e\config.bin/cfgWeapons/M60A4_EP1/ Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_EP1/ Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_m145_EP1/ Updating base class ->m107, by ca\weapons_e\m107\config.bin/CfgWeapons/m107_TWS_EP1/ Updating base class ->M240, by ca\weapons_e\m240\config.bin/CfgWeapons/m240_scoped_EP1/ Updating base class ->V3S_Base, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Base_EP1/ Updating base class ->V3S_Base_EP1, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Refuel_TK_GUE_EP1/ Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/ Updating base class ->C130J_base, by ca\air_e\config.bin/CfgVehicles/C130J_US_EP1/ Updating base class ->Helicopter, by ca\air_e\ah6j\config.bin/CfgVehicles/AH6_Base_EP1/ Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/ Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/ Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/ Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/ Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/ Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/ Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/ Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/ Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/ Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/ Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/ Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/ Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/ Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/ Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/ Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/ File vilayer_active_server_30325\30325_config.cfg, line 0: '.hostname': Missing ';' at the end of line File vilayer_active_server_30325\30325_config.cfg, line 0: '.hostname': Missing ';' at the end of line File vilayer_active_server_30325\30325_config.cfg, line 0: '.hostname': Missing ';' at the end of line File vilayer_active_server_30325\30325_config.cfg, line 0: '.hostname': Missing ';' at the end of line 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:50 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:51 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:52 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:53 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:54 Server error: Player without identity Trunk (id 134826248) 20:38:56 Strange convex component81 in zero_buildings\models\housev_3i3_i.p3d:geometryFire 20:39:01 Strange convex component288 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component289 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component290 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component291 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component292 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component293 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component294 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component295 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component296 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component297 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component298 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component299 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component300 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component301 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component302 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component303 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component304 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component305 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component306 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component307 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component308 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component309 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component310 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component311 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component312 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component313 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component314 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component315 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component316 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component317 in warehouse\models\warehouse.p3d:geometry 20:39:01 Strange convex component252 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component253 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component254 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component255 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component256 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component257 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component258 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component259 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component260 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component261 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component262 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component263 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component264 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component265 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component266 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component267 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component268 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component269 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component270 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component271 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component272 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component273 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component274 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component275 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component276 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component277 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component278 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component279 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component280 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component281 in warehouse\models\warehouse.p3d:geometryFire 20:39:01 Strange convex component249 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component250 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component251 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component252 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component253 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component254 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component255 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component256 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component257 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component258 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component259 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component260 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component261 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component262 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component263 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component264 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component265 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component266 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component267 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component268 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component269 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component270 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component271 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component272 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component273 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component274 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component275 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component276 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component277 in warehouse\models\warehouse.p3d:geometryView 20:39:01 Strange convex component278 in warehouse\models\warehouse.p3d:geometryView 20:39:06 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\wlk\non\non\amovpercmwlksnonwnondf.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon 20:39:06 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\wlk\non\non\amovpercmwlksnonwnondf.rtm differs (looped now 1)! MoveName: amovpercmrunsnonwbindf_rfl 20:39:06 "DayZ Epoch: PRELOAD Functions\init [[:0 (FunctionsManager)],any]" 20:39:06 "DayZ Epoch: MPframework inited" 20:39:10 Strange convex component93 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component94 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component95 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component96 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component99 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component100 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component101 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component102 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component103 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component104 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component105 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component106 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component107 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component108 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component109 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component110 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component111 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component112 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component113 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component114 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component115 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component116 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component117 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component118 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component119 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component120 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component121 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component122 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component123 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component124 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component125 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component126 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component127 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component128 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component129 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component130 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component131 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component132 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component133 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:10 Strange convex component134 in zero_buildings\models\mil_house_i.p3d:geometryView 20:39:32 Error in expression <_CIV_EP1",3], ["VWGolf",3], ["CH53_DZE",] ]; > 20:39:32 Error position: <] ]; > 20:39:32 Error Missing [ 20:39:32 File z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf, line 92 20:39:32 Error in expression <_CIV_EP1",3], ["VWGolf",3], ["CH53_DZE",] ]; > 20:39:32 Error position: <] ]; > 20:39:32 Error Missing [ 20:39:32 File z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf, line 92 20:39:32 "Res3tting B!S effects..." 20:39:32 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852 20:39:33 "Starting Trader City Safezone!" 20:39:33 "Error: Attempting to start products on a server where it should not be!" 20:39:33 Error in expression if ((getPlayerUID player) in AdminList || (getPlayerUID player) in Mo> 20:39:33 Error position: 20:39:33 Error Undefined variable in expression: adminlist 20:39:33 File mpmissions\__cur_mp.chernarus\admintools\Activate.sqf, line 1 20:39:33 "\z\addons\dayz_code\system\REsec.sqf:Monitoring Remote Exe..." 20:39:33 "HIVE: Starting" 20:39:33 "HIVE: trying to get objects" 20:39:33 "HIVE: found 182 objects" 20:39:33 "HIVE: Commence Object Streaming..." 20:39:33 "HIVE: got 33 Epoch Objects and 149 Vehicles" 20:39:34 "[VEHICLE CLEANUP ZONE]: selecting world to cleanup ..." 20:39:38 AH6X_DZ: FLIR_turret - unknown animation source FLIR_turret 20:39:38 AH6X_DZ: FLIR_gun - unknown animation source FLIR_gun 20:39:38 "HIVE: Vehicle Spawn limit reached!" 20:39:38 "HIVE: Spawning # of Debris: 50" 20:39:38 "HIVE: Spawning # of Ammo Boxes: 8" 20:39:38 "HIVE: Spawning # of Veins: 5" 20:39:38 "Total Number of spawn locations 5" 20:39:38 "EPOCH EVENTS INIT" 20:39:39 "WAI: AI Config File Loaded" 20:39:39 Server: Object 3:9 not found (message 94) 20:39:39 "TIME SYNC: Local Time set to [2013,8,3,20,39]" 20:39:40 "WAI: AI Monitor Started" 20:39:40 "WAI: Initialising missions" 20:40:08 "RUNNING EVENT: Supplyitems on [2014,9,23,20,40]" 20:40:08 "RUNNING EVENT: crate_construction on [2014,9,23,20,40]" 20:40:08 Warning Message: Script z\addons\dayz_server\modules\crate_construction.sqf not found 20:40:08 "Spawning loot event at [8754.69,9199.65]" 20:40:08 "Creating ammo box at [8838.83,8994.75]" 20:40:08 "Loot event setup, waiting for 900 seconds" 20:40:38 "[DZMS]: Starting DayZ Mission System." 20:40:38 "[DZMS]: Relations not found! Using DZMS Relations." 20:40:38 "[DZMS]: Mission and Extended Configuration Loaded!" 20:40:38 "[DZMS]: chernarus Detected. Map Specific Settings Adjusted!" 20:40:38 "[DZMS]: DayZ Epoch Detected! Some Scripts Adjusted!" 20:40:38 "[DZMS]: Mission Functions Script Loaded!" 20:40:38 "[DZMS]: Major Mission Clock Starting!" 20:40:38 "[DZMS]: Minor Mission Clock Starting!" 20:40:38 "[DZMS]: Mission Marker Loop for JIPs Starting!" 20:41:40 "0 Active ground units" 20:41:40 "0 Active emplacement units" 20:41:40 "0 Active chopper patrol units (Crew)" 20:41:40 "0 Active vehicle patrol units (Crew)" 20:42:58 "CLEANUP: INITIALIZING CLEANUP SCRIPT"" here is my rpt 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 = 5; /* ******************************************************************************************************************************************* */ /* How many magazines will be sold per cycle. */ /* ******************************************************************************************************************************************* */ tfv_SALES_PER_ANIM_MAGS = 10; /* ******************************************************************************************************************************************* */ /* A list of each trader, along with the weapons they accept. */ /* ******************************************************************************************************************************************* */ tfv_TRADERS_ITEMS = [ ["RU_Functionary1",["G36_C_SD_camo","M4A1_AIM_SD_camo","FN_FAL_ANPVS4","SCAR_H_LNG_Sniper_SD","BAF_LRR_scoped","FN_FAL","Mk_48_DZ","M240_DZ"],["weapons"]], ]; if (tfv_DEBUGGING) then { diag_log "tfv - Traders and their weapons loaded in!"; }; /* ******************************************************************************************************************************************* */ /* List of ALL weapons, regardless of trader, along with the prices. */ /* ******************************************************************************************************************************************* */ tfv_TRADERS_PRICES = [ ["AKS_74_kobra",200], ["AKS_74_U",100], ["AK_47_M",600], ["AK_74",100], ["BAF_L85A2_RIS_Holo",300], ["BAF_L85A2_RIS_SUSAT",300], ["BAF_LRR_scoped",2000], ["bizon",500], ["bizon_silenced",500], ["FN_FAL",500], ["FN_FAL_ANPVS4",1000], ["G36A_camo",300], ["G36C",200], ["G36C_camo",300], ["G36K_camo",300], ["G36_C_SD_camo",500], ["KSVK_DZE",1000], ["M1014",200], ["M14_EP1",1000], ["M16A2",100], ["M16A2GL",200], ["M16A4_ACG",200], ["M24",600], ["M240_DZ",500], ["m240_scoped_EP1_DZE",600], ["M249_EP1_DZ",600], ["M249_m145_EP1_DZE",600], ["M24_des_EP1",600], ["M40A3",600], ["M4A1",200], ["M4A1_Aim",400], ["M4A1_AIM_SD_camo",500], ["M4A1_HWS_GL_camo",400], ["M4A1_HWS_GL_SD_Camo",1000], ["M4A3_CCO_EP1",500], ["M4SPR",600], ["M60A4_EP1_DZE",1000], ["m8_carbine",200], ["m8_compact",200], ["m8_holo_sd",400], ["M8_SAW",600], ["m8_sharpshooter",300], ["M9SD",100], ["MG36",600], ["MG36_camo",600], ["Mk_48_DZ",1000], ["MP5SD",300], ["Pecheneg_DZ",1000], ["Remington870_lamp",100], ["revolver_gold_EP1",200], ["RPK_74",600], ["Sa58P_EP1",100], ["Sa58V_CCO_EP1",400], ["Sa58V_EP1",100], ["Sa58V_RCO_EP1",400], ["Saiga12K",300], ["SCAR_H_LNG_Sniper_SD",1000], ["SVD",600], ["SVD_CAMO",600], ["SVD_des_EP1",600], ["UZI_EP1",200], ["UZI_SD_EP1",500], [VSS_vintorez",400] ]; 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"; /* ******************************************************************************************************************************************* */ and my init i just edit the hero trader to confirm it work but no :(. When i use the chatsystem "1" ... it only goes to the "A list of each trader, along with the weapons they accept. */". Thx. Link to comment Share on other sites More sharing options...
ekroemer Posted September 24, 2014 Report Share Posted September 24, 2014 Start with removing the trailing comma in ["RU_Functionary1",["G36_C_SD_camo","M4A1_AIM_SD_camo","FN_FAL_ANPVS4","SCAR_H_LNG_Sniper_SD","BAF_LRR_scoped","FN_FAL","Mk_48_DZ","M240_DZ"],["weapons"]], Link to comment Share on other sites More sharing options...
Trunk Posted September 24, 2014 Report Share Posted September 24, 2014 The one at the end ? i've seen it just after posting, but still not working ... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now