raincloud Posted November 7, 2013 Report Share Posted November 7, 2013 I have added INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemKeyKit",1]',10,'[4,"ItemGoldBar10oz",1]','[1,"ItemGoldBar",1]',0,510,'trade_items'); however when someone tries to buy it it gives the error "no entry 'bin\config.bin/cfgMagazine.ItemKeyKit'" How can I fix this? Link to comment Share on other sites More sharing options...
0 wokkelwakker Posted November 7, 2013 Report Share Posted November 7, 2013 ["ItemKeyKit",1] You see that 1? http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions#Adding_new_items_to_traders I know it's no weapon either, but it needs to be changed to a 3. That should fix your problem! Link to comment Share on other sites More sharing options...
0 raincloud Posted November 7, 2013 Author Report Share Posted November 7, 2013 thank you so much mate, appreciate it. Link to comment Share on other sites More sharing options...
0 (HPG) Heavy Posted January 10, 2014 Report Share Posted January 10, 2014 ["ItemKeyKit",1] You see that 1? http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions#Adding_new_items_to_traders I know it's no weapon either, but it needs to be changed to a 3. That should fix your problem! Changed ["ItemKeyKit",1] to ["ItemKeyKit",3] and I'm still getting the error. Was the KeyKit removed from the mod? Link to comment Share on other sites More sharing options...
0 bFe Posted January 10, 2014 Report Share Posted January 10, 2014 Side question: Whenever I've added stuff to the trader I've never changed the number next to the item(ItemX,1) but its always worked. Is that why sometimes the pictures of the object/item doesn't appear? Link to comment Share on other sites More sharing options...
0 Radec59437 Posted January 10, 2014 Report Share Posted January 10, 2014 The keymakers kit is a tool, therefore classified as a weapon not an item. Needs to be: INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemKeyKit",3]',10,'[4,"ItemGoldBar10oz",1]','[1,"ItemGoldBar",1]',0,510,'trade_weapons'); trade_items is why you get the error, the keykit is not a "Magazine" item. Also, it's important that you follow the classification bFe: Weapons (+toolbelt) = 3 Vehicles and backpacks = 2 Magazines = 1 http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions#Adding_new_items_to_traders Link to comment Share on other sites More sharing options...
0 bFe Posted January 10, 2014 Report Share Posted January 10, 2014 Do vehicles have its own number? Link to comment Share on other sites More sharing options...
0 Radec59437 Posted January 10, 2014 Report Share Posted January 10, 2014 Yes. Use the following as a table for items types in the columns Item, Buy and Sell:Weapons = 3Vehicles and backpacks = 2Magazines = 1[...]afile Use the following types each of these represent a different .sqf file that performs the work:trade_itemstrade_weaponstrade_any_vehicletrade_any_boattrade_backpacks Read the guide! http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions#Adding_new_items_to_traders Link to comment Share on other sites More sharing options...
0 bFe Posted January 10, 2014 Report Share Posted January 10, 2014 My bad, didn't see it in the other post you had made. Link to comment Share on other sites More sharing options...
0 (HPG) Heavy Posted January 10, 2014 Report Share Posted January 10, 2014 The keymakers kit is a tool, therefore classified as a weapon not an item. Needs to be: INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemKeyKit",3]',10,'[4,"ItemGoldBar10oz",1]','[1,"ItemGoldBar",1]',0,510,'trade_weapons'); trade_items is why you get the error, the keykit is not a "Magazine" item. Also, it's important that you follow the classification bFe: Weapons (+toolbelt) = 3 Vehicles and backpacks = 2 Magazines = 1 http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions#Adding_new_items_to_traders Ah, makes sense now, thank you for the post, it's working correctly now. (I gotta quit doing this stuff when I'm half asleep) Link to comment Share on other sites More sharing options...
Question
raincloud
I have added
however when someone tries to buy it it gives the error
How can I fix this?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now