raincloud Posted October 23, 2013 Report Share Posted October 23, 2013 Reason I ask this is because on my server now for a few dys no ones been able to buy a black hawk. Link to comment Share on other sites More sharing options...
0 vbawol Posted October 23, 2013 Report Share Posted October 23, 2013 The limit should be no more that what was sold to the traders. You may need to sell or destroy some vehicles to get a new one to spawn so you can then sell it can buy it back. Link to comment Share on other sites More sharing options...
0 raincloud Posted October 23, 2013 Author Report Share Posted October 23, 2013 thank you very much for clearing that up Link to comment Share on other sites More sharing options...
0 Dyderich Posted October 28, 2013 Report Share Posted October 28, 2013 Greetings, So in order for a NPC trader to sell an item/vehicle, they first have to be sold this when they are saying they are temporarily out of stock? I thought it might be something like that...now I have to figure out how this works? Land the helo at the NEA in front of the vendor and click sell? Hope he can "see" the helo....same goes for the vehicles....there are some decent vehicles spawned on my server which I have never seen before (MTVR Refueler, Vodnisk something or other -looks like a BTR with 2 PKM type machine guns on top). So it would give a 1:1 return then only? You sell 1, someone else can only but 1...then its out again? Oh does giving 1 helo/car/etc to an NPC at one particular city, give every trader that vehicle until its bought again or only that ONE TRADER in that one city? Link to comment Share on other sites More sharing options...
0 neiljb Posted October 28, 2013 Report Share Posted October 28, 2013 You can also edit the traders stock levels through the database. :) Link to comment Share on other sites More sharing options...
0 duncajcb Posted November 5, 2013 Report Share Posted November 5, 2013 You can also edit the traders stock levels through the database. :) this requires access to the DB and the use of the servertraders.sqf in your mission file. simply put: in DB access traders_data click inline and enter : "SELECT * FROM `Traders_DATA` where tid = 493" click GO then edit the quantity directly. alternatively How to add stock for a specific item: In "Traders_DATA" table use SQL editor to filter by column "item" then "contains" then "Itemvault" then change the "qty" column to add more stock and save. Any changes to the qty will be live to the server instantly. Or execute this SQL: UPDATE `Traders_DATA` SET qty=10 WHERE `item` LIKE '%ItemVault%' AND qty=0; We recommend running this code daily to ensure that traders have some stock except vehicles and boats since they should normally spawn dynamically and are already sold for profit. UPDATE `Traders_DATA` SET qty=10 WHERE qty=0 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat'; Link to comment Share on other sites More sharing options...
Question
raincloud
Reason I ask this is because on my server now for a few dys no ones been able to buy a black hawk.
Link to comment
Share on other sites
5 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