Jump to content
  • 0

Which Trader ID is which?


ssoylu1996

Question

Hi,

I have just finished setting up a server on my local computer. I want to experiment and figure out how everything works and have everything working before I buy a hosting package.

I wanted to add a item to the trader, I know how to add it and I know which type of trader ID I need to look for. But what confuses me is that there are almost over 600 trader ID's and I don't know which trader NPC is on my map and which is not. How could I find out which NPC there is on the certain trade area?

The map I have set everything up on is Chernarus. Is there a possible way to go to a trader (example: stary) and some how know what trader id it is. The trader id as in not the category but the NPC id so i know which trader exists on the map and which does not.

I hope I am clear, if not please ask me to rephrase. I will try my best. Thanks for taking your time reading this and attempting to help.

Looking forward to a reply!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Chernarus is instance 11 so if you are using navicat locally you can sort by instance id to find out which is which. 

https://github.com/vbawol/server/blob/master/MPMissions/DayZ_Epoch_11.Chernarus/server_traders.sqf

That is a list of all of the default traders for chernarus and which item catagories they use. Many of the traders in your database will also say something next to their name, like instance 11, Woodlander1 says 'Parts Trader Klen' or something. Hope that helps!

Link to comment
Share on other sites

  • 0

I don't know if it would matter or not to delete them. I really don't edit or delete things in the db if I'm not directly working on them, so I'm not sure. If they aren't bothering you, just get used to sorting by the instance id and ignore them. You never know if you might want to test out another map locally so you might need them one day anyways.

Link to comment
Share on other sites

  • 0

Hi,

Thanks for replying, to my question I will keep the data then. I have one final question which is that when I run my server the console says weird things like this :
 

12:15:23 HiveExt(0): [Information] Result: ["PASS"]
12:15:25 HiveExt(0): [Information] Method: 307 Params: 
12:15:25 HiveExt(0): [Information] Result: ["PASS",[2014,7,22,13,15]]
12:15:30 HiveExt(0): [Information] Method: 201 Params: 3:[260,[12592.4,9210.36,0.001]]:[[ItemMap,ItemHatchet_DZE,Makarov,ItemKnife,ItemMatchbox_DZE,ItemWatch,ItemCompass,ItemCrowbar,ItemEtool,ItemToolbox],[ItemPainkiller,ItemBloodbag,ItemSodaCoke,cinder_wall_kit,[8Rnd_9x18_Makarov,7],8Rnd_9x18_Makarov,ItemBandage]]:[DZ_TerminalPack_EP1,[[],[]],[[],[]]]:[false,false,false,false,false,false,true,12000,[],[0,0],0,[0.4,0.206]]:false:false:0:0:1:1:[Makarov,amovpknlmstpsraswpstdnon_gear,37,[]]:0:0::0:
12:15:30 HiveExt(0): [Information] Result: ["PASS"]
12:15:35 HiveExt(0): [Information] Method: 307 Params: 
12:15:35 HiveExt(0): [Information] Result: ["PASS",[2014,7,22,13,15]]
12:15:43 HiveExt(0): [Information] Method: 308 Params: 11:CinderWallHalf_DZ:0:3:[276.17,[12590.6,9209.92,-0.055]]:[]:[]:0:125906920995276:
12:15:43 HiveExt(0): [Information] Result: ["PASS"]
12:15:45 HiveExt(0): [Information] Method: 307 Params: 
12:15:45 HiveExt(0): [Information] Result: ["PASS",[2014,7,22,13,15]]
12:15:55 HiveExt(0): [Information] Method: 307 Params: 
12:15:55 HiveExt(0): [Information] Result: ["PASS",[2014,7,22,13,15]]

Which is displayed in green and seems to say 'pass' so I am assuming it is something good. But I don't need to displaying, I think I have debug on. Should I turn it off? If so how can I do this?

Thanks.

Link to comment
Share on other sites

  • 0

Well, those are all hive reports, 308 is publish an item to database, 201 is player update. 

I'm not sure there's a way to turn that off in your console but it is normal. On load up it will run through everything in your object_data and report to the console what it did. I would keep it going, even if I could turn it off, as I always use that to see if problems arise. Once all your object data is loaded you should be able to monitor fairly easy when someone logs in.

Link to comment
Share on other sites

  • 0

Hi;

 

All your active trader are localized and listed on your mission.pbo/server_traders.sqf ( you will found there TIDs which will let you found back the right trader trougt the database/TIDs table  ( and in 99% they are commentated with the loclisation of the trader)

IE for NapfIIsland

// DayZ Epoch TRADERS for 17 <=== The instance for your map ( Here it's Napfisland)
serverTraders = ["Tanny_PMC","Graves","US_Delta_Force_AR_EP1","GUE_Commander","Damsel3","Soldier_MG_PKM_PMC","GUE_Worker2","GUE_Woodlander2","RUS_Soldier2","Drake_Light","GUE_Woodlander3","Soldier_GL_PMC","GUE_Villager3","CIV_EuroWoman01_EP1","Dr_Annie_Baker_EP1","RUS_Commander","Damsel5","TK_Special_Forces_MG_EP1","TK_Special_Forces_EP1","Ins_Soldier_AR","Ins_Lopotev","Ins_Worker2","Ins_Woodlander3","Dr_Hladik_EP1","pook_Doc_Bell47","Ins_Woodlander2"];
// Hero Vendor <=== The localisation of your trader
menu_Tanny_PMC = [
	[["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]], <=== All their TIDs
	[],
	"hero" <=== What player can come to trade with him
];
// Ammunition Friendly
menu_Graves = [
	[["Assault Rifle Ammo",480],["Light Machine Gun Ammo",481],["Pistol Ammo",484],["Shotguns and Single-shot Ammo",573],["Sniper Rifle Ammo",482],["Submachine Gun Ammo",483]],
	[],
	"friendly"
];
// Weapons Friendly
menu_US_Delta_Force_AR_EP1 = [
	[["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488]],
	[],
	"friendly"
];
// Friendly Vehicles
menu_GUE_Commander = [
	[["Bikes and ATV",608],["Buses and Vans",563],["Cargo Trucks",564],["Fuel Trucks",492],["Military Unarmed",491],["Trucks",495],["Used Cars",585],["Utility Vehicles",565]],
	[],
	"friendly"
];
// General Store
menu_Damsel3 = [
	[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
	"neutral"
];
// Weapons neutral
menu_Soldier_MG_PKM_PMC = [
	[["Assault Rifle",602],["Light Machine Gun",603],["Pistols",606],["Shotguns and Single-shot",607],["Sniper Rifle",605],["Submachine Guns",604]],
	[],
	"neutral"
];
// Ammunition Neutral
menu_GUE_Worker2 = [
	[["Assault Rifle Ammo",609],["Light Machine Gun Ammo",610],["Pistol Ammo",611],["Shotguns and Single-shot Ammo",613],["Sniper Rifle Ammo",614],["Submachine Gun Ammo",612]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_GUE_Woodlander2 = [
	[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509]],
	[],
	"neutral"
];
// Bandit Trader
menu_RUS_Soldier2 = [
	[["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],
	[],
	"hostile"
];
// Aircraft Dealer
menu_Drake_Light = [
	[["Airplanes",517],["Helicopter Unarmed",519]],
	[],
	"neutral"
];
// Vehicles Neutral
menu_GUE_Woodlander3 = [
	[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591]],
	[],
	"neutral"
];
// Black Market Vendor
menu_Soldier_GL_PMC = [
	[["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
	[],
	"neutral"
];
// Friendly Building/Parts
menu_GUE_Villager3 = [
	[["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531]],
	[],
	"friendly"
];
// General Store 2
menu_CIV_EuroWoman01_EP1 = [
	[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
	"friendly"
];
// Medical Supplies
menu_Dr_Annie_Baker_EP1 = [
	[["Chem-lites/Flares",542],["Medical Supplies",541],["Smoke Grenades",543]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"friendly"
];
// North Wholesaler
menu_RUS_Commander = [
	[["Wholesale",555]],
	[],
	"neutral"
];
// General Store 3 
menu_Damsel5 = [
	[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
	"neutral"
];
// West Wholesaler
menu_TK_Special_Forces_MG_EP1 = [
	[["Wholesale",636]],
	[],
	"neutral"
];
// North Boat Vendor
menu_TK_Special_Forces_EP1 = [
	[["Boats Armed",558],["Boats Unarmed",557]],
	[],
	"neutral"
];
// Weapons neutral 2
menu_Ins_Soldier_AR = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642]],
	[],
	"neutral"
];
// Ammunition Neutral 2
menu_Ins_Lopotev = [
	[["Assault Rifle Ammo",643],["Light Machine Gun Ammo",644],["Pistol Ammo",646],["Shotguns and Single-shot Ammo",649],["Sniper Rifle Ammo",647],["Submachine Gun Ammo",648]],
	[],
	"neutral"
];
// Vehicles Neutral 2
menu_Ins_Worker2 = [
	[["Bikes and ATV",650],["Buses and Vans",651],["Cargo Trucks",653],["Fuel Trucks",655],["Military Unarmed",658],["Trucks",659],["Used Cars",660],["Utility Vehicles",661]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_Ins_Woodlander3 = [
	[["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
	[],
	"neutral"
];
// Medical Supplies 2
menu_Dr_Hladik_EP1 = [
	[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
];
// Boat Trader 2
menu_Ins_Woodlander2 = [
	[["Boats Armed",673],["Boats Unarmed",672]],
	[],
	"neutral"
];
// Medical Supplies 3
menu_pook_Doc_Bell47 = [
	[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
];
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...