raincloud Posted October 22, 2013 Report Share Posted October 22, 2013 For example the mozzie and mi7 never restock on vendors. Is this intentional or is this a function you change depending on your server style of gameplay or is this perhaps a bug. thanks in advance Link to comment Share on other sites More sharing options...
0 Black_Sheep Posted October 22, 2013 Report Share Posted October 22, 2013 You need to have the sql event running to restock them. Some have it daily, some have it less often. See the server config instructions for more info. http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions Link to comment Share on other sites More sharing options...
0 raincloud Posted October 22, 2013 Author Report Share Posted October 22, 2013 how would i edit this line to reflect I want a restock of 1 vehicle per execution UPDATE `traders_data` SET qty=1 WHERE qty=0 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat'; Thank you Link to comment Share on other sites More sharing options...
0 Black_Sheep Posted October 22, 2013 Report Share Posted October 22, 2013 I'm not sure what you mean. If you wanted only 1 in stock rather than 10 then yes that's what you would change it to. A little more context in what you want to achieve would be good please. Link to comment Share on other sites More sharing options...
0 raincloud Posted October 22, 2013 Author Report Share Posted October 22, 2013 i want to restock vehicles with this line of code, will it restock vehicles? Link to comment Share on other sites More sharing options...
0 Axe Cop Posted October 23, 2013 Report Share Posted October 23, 2013 yes it will, the qty field means quantity of course, so set it to the amount you need.. if it reaches 0 the trader says insufficent stock. (this can also be changed on a running server, just saying) Link to comment Share on other sites More sharing options...
0 tigger Posted October 24, 2013 Report Share Posted October 24, 2013 i want to restock vehicles with this line of code, will it restock vehicles? No. The end of the line states that it does it only for things that aren't vehicles or boats. you need to remove that AND afile<>... part Link to comment Share on other sites More sharing options...
0 raincloud Posted October 24, 2013 Author Report Share Posted October 24, 2013 oh thank you very much :) Link to comment Share on other sites More sharing options...
Question
raincloud
For example the mozzie and mi7 never restock on vendors. Is this intentional or is this a function you change depending on your server style of gameplay or is this perhaps a bug.
thanks in advance
Link to comment
Share on other sites
7 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