Jump to content
  • 0

Added trader items not appearing in inventory


Tricks

Question

Hey all,

 

I used this SQL query to add radios to my traders, but when I buy one (trader takes gold), it doesn't appear in my inventory. What have I done wrong?

INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemRadio",1]',50,'[1,"ItemGoldBar10oz",1]','[1,"ItemGoldBar10oz",1]',0,663,'trade_items')

Also there is no picture included, it just says : (ItemRadio) How can I add a picture?

 

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hey all,

 

I used this SQL query to add radios to my traders, but when I buy one (trader takes gold), it doesn't appear in my inventory. What have I done wrong?

INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemRadio",1]',50,'[1,"ItemGoldBar10oz",1]','[1,"ItemGoldBar10oz",1]',0,663,'trade_items')

Also there is no picture included, it just says : (ItemRadio) How can I add a picture?

 

Thanks!

ItemRadio is a Weapon/Toolbelt item.

Change 1 in the ["ItemRadio",1] to 3 so it looks like this ["ItemRadio",3]

That should fix it :)

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
  • Discord

×
×
  • Create New...