Jump to content
  • 0

Doubled server on local & Server Trader Category


kuibi1234

Question

Hey, i have 2 questions. The first is, why do i see my local dayz epoch server 2 times in the server browser, is that something that should bother me or something i can ignore? It doesnt matter which one i join, they both work and both save/change things to DB, like char positions, cars etc etc.


Second: I added a new category, to the vehicles trader but i cant find where to actually edit the categories. Did it get removed in 1.0.7 or is it done differently? Because i can not find any of that anywhere, i even searched other posts in here and cant find anything that has to do with 1.0.7 traders categories. Back then everyone used a server_traders.sqf to edit these things, but now i cant find that anywhere (Not in the 1.0.7 files atleast).

If anyone's gonna ask i have :

DZE_TraderConfig = true;

CfgServerTraderZSC copied from dayz_code to mission folder and implemented in description.ext

This is how my vehicle.hpp looks like:
 

Spoiler

//Bikes/ATV
class Category_37 {
	class MMT_Civ_DZE {type = "trade_any_bicycle";buy[] = {4,"worth"};sell[] = {2,"worth"};};
	class Old_bike_TK_CIV_EP1_DZE {type = "trade_any_bicycle";buy[] = {4,"worth"};sell[] = {2,"worth"};};
	class Old_moto_TK_Civ_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class M1030_US_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class TT650_Civ_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class TT650_Ins_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class TT650_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CIV_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CIV_Grey_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CIV_Red_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CIV_Green_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class BAF_ATV_W_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};	
	class ATV_CIV_Blue_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CIV_Yellow_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class ATV_CIV_Purple_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};	
	class ATV_CIV_Black_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};	
};

//Cars
class Category_38 {	
	class Octavia_ACR_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Skoda_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class SkodaBlue_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class SkodaGreen_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class SkodaRed_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};	
	class VolhaLimo_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Volha_1_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Volha_2_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class VWGolf_DZE {type = "trade_any_vehicle";buy[] = {300,"worth"};sell[] = {200,"worth"};};
	class Mini_Cooper_DZE {type = "trade_any_vehicle";buy[] = {300,"worth"};sell[] = {200,"worth"};};
	class car_hatchback_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class car_hatchback_red_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class car_sedan_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class GLT_M300_ST_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class GLT_M300_LT_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Lada1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Lada1_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Lada2_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class Lada2_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};};
	class LadaLM_DZE {type = "trade_any_vehicle";buy[] = {300,"worth"};sell[] = {200,"worth"};};
};

//Pick-ups
class Category_39 {	
	class datsun1_civil_3_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class datsun1_civil_1_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};	
	class datsun1_green_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};	
	class datsun1_civil_2_covered_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};	
	class datsun1_red_covered_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};	
	class hilux1_civil_1_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class hilux1_civil_3_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class hilux1_civil_2_covered_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
};

//UAZs
class Category_40 {
	class UAZ_CDF_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class UAZ_INS_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class UAZ_RU_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class UAZ_Unarmed_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class UAZ_Unarmed_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
	class UAZ_Unarmed_UN_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};};
};

//SUVs/Nissans
class Category_41 {
	class SUV_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Blue {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Charcoal {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Green {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Orange {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Pink {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Red {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Silver {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_White {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Yellow {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};};
	class SUV_Camo {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Nissan_Orange_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Blue_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Mod_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Gold_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Green_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Black_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Pink_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Red_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Ruben_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_V_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Nissan_Yellow_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
};

//Cargo Trucks
class Category_42 {
	class Ural_INS_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class Ural_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class UralOpen_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Ural_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Ural_UN_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class UralCivil_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class UralCivil2_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};};
	class UralSupply_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class UralReammo_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class UralReammo_INS_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class UralRepair_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class UralRepair_INS_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class V3S_Open_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class V3S_Open_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class V3S_Civ_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class V3S_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class V3S_Camper_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};};
	class V3S_RA_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};};
	class Kamaz_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class KamazOpen_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class KamazRepair_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class KamazReammo_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class MTVR_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class MTVR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class MTVR_Open_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class MtvrRepair_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class MtvrReammo_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810A_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810A_ACR_DES_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810A_ACR_OPEN_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810A_ACR_DES_OPEN_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810_ACR_REAMMO_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810_ACR_REAMMO_DES_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810_ACR_REPAIR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class T810_ACR_REPAIR_DES_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
};

//Fuel Trucks
class Category_43 {
	class UralRefuel_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class UralRefuel_INS_DZE {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class UralRefuel_CDF_DZE {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class V3S_Refuel_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class KamazRefuel_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class MtvrRefuel_DES_EP1_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class MtvrRefuel_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class T810A_ACR_REFUEL_DZE {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
	class T810A_ACR_REFUEL_DES_DZE {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};};
};

//Military Unarmed
class Category_44 {
	class Jeep_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class LandRover_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class LandRover_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class LandRover_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class BAF_Offroad_D_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class BAF_Offroad_W_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};		
	class LandRover_Ambulance_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class LandRover_Ambulance_Des_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class BTR40_TK_INS_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class BTR40_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};	
	class GAZ_Vodnik_MedEvac_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class HMMWV_M1035_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class HMMWV_Ambulance_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class HMMWV_Ambulance_CZ_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class HMMWV_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class HMMWV_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Hummer_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
};

//Miscellaneous
class Category_45 {
	class Ikarus_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Ikarus_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Ikarus_White_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Ikarus_Armored_DZE {type = "trade_any_vehicle";buy[] = {-2000,"worth"};sell[] = {5000,"worth"};};
	class S1203_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {600,"worth"};sell[] = {300,"worth"};};
	class S1203_ambulance_EP1_DZE {type = "trade_any_vehicle";buy[] = {600,"worth"};sell[] = {300,"worth"};};
	class Tractor_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};	
	class TractorOld_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};};
	class Tractor_Armored_DZE {type = "trade_any_vehicle";buy[] = {-2000,"worth"};sell[] = {6000,"worth"};};
	class ScrapAPC_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};};
};

//Armored Vehicles
class Category_52 {
	class HMMWV_M1151_M2_CZ_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};};
	class HMMWV_M998A2_SOV_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};};
	class LandRover_MG_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class LandRover_Special_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Offroad_DSHKM_Gue_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Pickup_PK_GUE_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Pickup_PK_INS_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class Pickup_PK_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
	class UAZ_MG_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};};
//Tanks
	class BTR40_MG_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};};
	class BTR40_MG_TK_INS_EP1_DZE {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};};
	class BRDM2_HQ_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};};
	class T34_TK_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class T34_TK_GUE_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class T55_TK_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class T55_TK_GUE_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M113_TK_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class M113_UN_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class M113Ambul_TK_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class M113Ambul_UN_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class M2A2_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M2A3_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M6_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class BTR40_TK_INS_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class BTR40_TK_GUE_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class BTR60_TK_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M1126_ICV_M2_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class M1126_ICV_MK19_EP1 {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};};
	class M1128_MGS_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M1129_MC_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M1130_CV_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M1135_ATGMV_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class M1133_MEV_EP1 {type = "trade_any_vehicle";buy[] = {12000,"worth"};sell[] = {6000,"worth"};};
	class BAF_Jackal2_L2A1_D {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};};
	class BAF_Jackal2_L2A1_w {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};};
};

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

edit - init.sqf

Find-
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf";

Replace With - (Create the folder(s) if needed in the mission file
call compile preprocessFileLineNumbers "system\mission\server_traders\chernarus11.sqf";

Then copy over the file from the dayz_code .pbo (dayz_code\system\mission\server_traders\chernarus11.sqf)

Find the trader you need to edit
/***************Boat Vendor*********/
menu_RU_Villager3 = [
    [[localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
    [],
    "neutral"
];

Add your new category - Example the 37 would be the number of the new one you created ( Category_37 )
["MY NEW CATEGORY, 37],

 

Should look like this
menu_RU_Villager3 = [
    [["MY NEW CATEGORY, 37], [localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
    [],
    "neutral"
];

 

Hope this helps




 

Link to comment
Share on other sites

  • 0
2 hours ago, Crude said:

edit - init.sqf

Find-
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf";

Replace With - (Create the folder(s) if needed in the mission file
call compile preprocessFileLineNumbers "system\mission\server_traders\chernarus11.sqf";

Then copy over the file from the dayz_code .pbo (dayz_code\system\mission\server_traders\chernarus11.sqf)

Find the trader you need to edit
/***************Boat Vendor*********/
menu_RU_Villager3 = [
    [[localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
    [],
    "neutral"
];

Add your new category - Example the 37 would be the number of the new one you created ( Category_37 )
["MY NEW CATEGORY, 37],

 

Should look like this
menu_RU_Villager3 = [
    [["MY NEW CATEGORY, 37], [localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
    [],
    "neutral"
];

 

Hope this helps




 

Okay so i think it worked, but now none of the existing Traders on the map have a trader menu, how do i fix that?

#Edit: Nevermind i had a comma too much, it works, thanks

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...