DarkWolf Posted December 10, 2013 Report Share Posted December 10, 2013 Hey there, I was wondering how to add things to my traders i do have acess to the database but haven't found a solid tutorial on it, was searching the forums same result nothing. Can anyone explain or link something that will teach me thanks. -DarkWolf Link to comment Share on other sites More sharing options...
0 Syrical Posted December 10, 2013 Report Share Posted December 10, 2013 dayz.st you need to add the item to the traders items just make sure you use the correct id for example mine is 777 CinderBlocks 1 Building Supplies trade_items starting from the item id (make sure you use one that's not in use) then its the class name, item type, group and finally alfie and then you need to add it to the traders data table for example mine; 7376 ["CinderBlocks",1] 200 [2,"ItemGoldBar",1] [1,"ItemGoldBar",1] 0 508 trade_items this means item id, class name must be placed in that format (1 being defining that its an item not a car or gun etc) 200 is what i have my quantity set to then its buy price [amount,"currency",1 (defining it as an item)] sell price is the same set up as buy price, leave the 0 as it is 508 is the trader id of the traders you want to sell it too you can find this by checking for other building supplies in your trader data (just look for another building item i.e vault and check the ids that sell it (ctrl+f to search) and finally the alfie again this is how mine is set up and it works mine just change the item id as you cant have the same id twice so if you want these at 3 traders you would need 3 separate id's and change the trader id to whichever one you want, you can simply change the cinder blocks for mortar buckets by using the above method and just changing the id and classname or you can add almost everything just make sure you use the correct class name DarkWolf 1 Link to comment Share on other sites More sharing options...
0 DarkWolf Posted December 10, 2013 Author Report Share Posted December 10, 2013 Thank you helped alot :)!. Link to comment Share on other sites More sharing options...
0 havock Posted December 10, 2013 Report Share Posted December 10, 2013 http://www.youtube.com/watch?v=hF27vj6yDE4 Check this out for adding things. He does a real good job breaking it down nice and simple. Link to comment Share on other sites More sharing options...
Question
DarkWolf
Hey there, I was wondering how to add things to my traders i do have acess to the database but haven't found a solid tutorial on it, was searching the forums same result nothing. Can anyone explain or link something that will teach me thanks.
-DarkWolf
Link to comment
Share on other sites
3 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