Jump to content
  • 0

Adding Extra weapons to Weapon sellers.


Balldrick

Question

Firstly.

 

Hello and Ty for an Awesome Mod!!!!

 

Now on to my Problem/conundrum.

 

I decided to Add a few Weapons to my DayZ Epoch Weapon Seller on Takistan in Trade City Kush.

 

I wanted to add a few sniper rifles and some Assault Rifles and one MG.

 

I added them in my Trader_Items in my Mysql.

678	BAF_AS50_TWS 	3	Rifle Sniper	trade_weapons
679	M110_TWS_EP1	3	Rifle Sniper	trade_weapons
680	BAF_L110A1_Aim	3	Rifle	trade_weapons
681	BAF_L85A2_RIS_CWS	3	Rifle	trade_weapons
682	M110_NVG_EP1	3	Rifle Sniper	trade_weapons
683	SCAR_H_CQC_CCO_SD	3	Rifle	trade_weapons
684	SCAR_H_LNG_Sniper	3	Rifle Sniper	trade_weapons
685	SCAR_L_CQC_CCO_SD	3	Rifle	trade_weapons
686	BAF_L85A2_RIS_ACOG	3	Rifle	trade_weapons
687	ksvk	3	Rifle Sniper	trade_weapons
688	5Rnd_127x108_KSVK	1	Ammo Rifle Sniper	trade_items

Then i added them to My traders_Data Table 

4866	["BAF_AS50_TWS",3]	5	[8,"ItemGoldBar10oz",1]	[5,"ItemGoldBar10oz"1]	0	131	trade_weapons
4867	["BAF_L110A1_Aim",3]	3	[1,"ItemGoldBar10oz",1]	[6,"ItemGoldbar",1]	0	131	trade_weapons
4868	["BAF_L85A2_RIS_CWS",3]	5	[2,"ItemGoldBar",1]	[1,"ItemGoldBar",1]	0	133	trade_weapons
4869	["M110_TWS_EP1",3]	5	[8,"ItemGoldBar10oz",1]	[3,"ItemGoldBar10oz",1]	0	135	trade_weapons
4870	["M110_NVG_EP1",3]	5	[5,"ItemGoldBar10oz",1]	[1,"ItemGoldBar10oz",1]	0	135	trade_weapons
4871	["SCAR_H_CQC_CCO_SD",3]	10	[5,"ItemSilverBar10oz",1]	[2,"ItemSilverBar10oz",1]	0	133	trade_weapons
4872	["SCAR_H_LNG_Sniper",3]	5	[5,"ItemGoldBar10oz",1]	[1,"ItemGoldBar10oz",1]	0	135	trade_weapons
4873	["SCAR_L_CQC_CCO_SD",3]	10	[3,"ItemSilverBar10oz",1]	[8,"ItemSilverBar",1]	0	133	trade_weapons
4874	["BAF_L85A2_RIS_ACOG",3]	10	[6,"ItemSilverBar10oz",1]	[2,"ItemSilverBar10oz",2]	0	133	trade_weapons
4875	["ksvk",3]	3	[10,"ItemGoldBar10oz",1]	[5,"ItemGoldBar10oz",1]	0	131	trade_weapons
4876	["5Rnd_127x108_KSVK",1]	10	[8,"ItemSilverBar",1]	[3,"ItemSilverBar",1]	0	139	trade_items
4877	["HMMWV_M998_crows_MK19_DES_EP1",2]	5	[12,"ItemGoldBar10oz",1]	[5,"ItemGoldBar10oz",1]	0	132	trade_any_vehicle
4878	["M1126_ICV_mk19_EP1",2]	5	[10,"ItemGoldBar10oz",1]	[4,"ItemGoldBar10oz",1]	0	132	trade_any_vehicle
4879	["Tracked_APC",2]	5	[10,"ItemGoldBar10oz",1]	[4,"ItemGoldBar10oz",1]	0	132	trade_any_vehicle

I thought ok Cool my Items will be in-game ready for the Player on my Local wireless user group to buy.

 

Started up my map on my server. Logged in from my gaming machine went to the Traders in Kush and tried to buy Weapons and ammo from them. Then i noticed that i couldnt buy ne Weapons or ammo from ne of the traders. 

 

The Vehicles i added into the Traders Work fine but not the Weapons or Ammo. 

 

Do i need to Edit the Client Side "dayz_weapons.pbo"? If so i tried to open the pbo with Arma pbo view but i couldnt cause it tells me this is not a arma pbo file.

 

 

Could ne on please give me some Advice on what i did wrong and what i need to change to get it work. The server is run on a closed network. Ie  a huge Lan so its not listed on internet Private servers.

 

Thank you in Advance

 

Balldrick 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Fixed my own problem.

 

Removed the KSVK and its ammo out of the sql and i had a space sfter the AS50 TWS in the trader_items Sql file. 

 

Lol funny how one small space can mess up things.

 

Now on to my Next mission. Making Vehicles Towable ... Can it be done in Epoch or not ?

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...