THEGeekGaming Posted March 8, 2014 Report Share Posted March 8, 2014 Basically I am helping a friend with scripting on his server and that and I am struggling to edit and add extra weapons into the database could someone help me and give me some advice. Link to comment Share on other sites More sharing options...
0 Kivuli Posted March 9, 2014 Report Share Posted March 9, 2014 Well, what issues are you encountering? Are they just not showing up? Not receiving the item when they buy? Syntax errors? Whatcha got going on? Link to comment Share on other sites More sharing options...
0 Razorman Posted March 9, 2014 Report Share Posted March 9, 2014 Its very simple & their are numerous guides here & tools to do it.... Link to comment Share on other sites More sharing options...
0 THEGeekGaming Posted March 9, 2014 Author Report Share Posted March 9, 2014 Well I used HeidiMySQL and Navicat but it said it was in the database but they were not actually appearing the traders I was adding chainsaws and ComboLocks. Link to comment Share on other sites More sharing options...
0 Anthraxx Posted March 11, 2014 Report Share Posted March 11, 2014 Just open HeidiSQL and run this query: For the codelocks. INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["ItemComboLock",1]', 150, '[5,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 530, 'trade_items'); INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["ItemComboLock",1]', 150, '[5,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 662, 'trade_items'); INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["ItemComboLock",1]', 150, '[5,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 508, 'trade_items'); Link to comment Share on other sites More sharing options...
0 fr1nk Posted March 11, 2014 Report Share Posted March 11, 2014 Make sure you're adding the items to the correct trader TID. You can find all these for the map you're running in server_traders.sqf Link to comment Share on other sites More sharing options...
0 Kivuli Posted March 11, 2014 Report Share Posted March 11, 2014 A lot of things can cause an item you enter to not show up in game. Can you post the query you used to put them in the database? Link to comment Share on other sites More sharing options...
Question
THEGeekGaming
Basically I am helping a friend with scripting on his server and that and I am struggling to edit and add extra weapons into the database could someone help me and give me some advice.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now