Jump to content
  • 0

Navicat Dayz Traders_Data Help


Guest

Question

I made a new record into Traders_data and wrote this:

 

Id:4995

 

Item ["PartWoodLumber",1]

 

Quantity 100

 

Buy[1,"ItemGoldBar",1]

 

Sell[1,"ItemGoldBar",1]

 

Order 0

 

TID 508

 

Afile trade_items

 

It saves with no errors, but when i go to the guy who sells building supplies its not listed.

Any help would be appreciated

 
Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0

No,

 
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["PartWoodLumber",1]',10,'[1,"ItemGoldBar",1]','[10,"ItemSilverBar",2]',0,662,'trade_items')
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["PartWoodLumber",1]',10,'[1,"ItemGoldBar",1]','[10,"ItemSilverBar",2]',0,508,'trade_items')
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["PartWoodLumber",1]',10,'[1,"ItemGoldBar",1]','[10,"ItemSilverBar",2]',0,678,'trade_items')
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["PartWoodLumber",1]',10,'[1,"ItemGoldBar",1]','[10,"ItemSilverBar",2]',0,680,'trade_items')
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["PartWoodLumber",1]',10,'[1,"ItemGoldBar",1]','[10,"ItemSilverBar",2]',0,530,'trade_items')
 

 

This will add Lumber to all traders that also sells Building supplies wich was sorted from DB.

Link to comment
Share on other sites

  • 0

Can i make it so when i buy lumber i get 1000 of them? e.g 1000 lumber costs 1 gold and i would revice 1000 lumber on thefloor or in non visible invo slots (like when you convert 1 ozgold into 10 gold, they appear when there are invo slots avalible.)l

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