I've set up a new server and on it, I set the quantity of all trader items to 0. I've confirmed the database shows the totals as 0. As players sell them items, the stock grows. However, when I went to a trader, I was able to buy an ALICE pack, a full jerry can and a UAZ, even though the database shows these items had 0 stock. Am I missing something? I tried to buy some other items, like a blood bag, and it told me there was insufficient stock.
*EDIT * Nevermind. Looks like I forgot to remove the sql trigger to restock them :)
Question
BetterDeadThanZed
I've set up a new server and on it, I set the quantity of all trader items to 0. I've confirmed the database shows the totals as 0. As players sell them items, the stock grows. However, when I went to a trader, I was able to buy an ALICE pack, a full jerry can and a UAZ, even though the database shows these items had 0 stock. Am I missing something? I tried to buy some other items, like a blood bag, and it told me there was insufficient stock.
*EDIT * Nevermind. Looks like I forgot to remove the sql trigger to restock them :)
Link to comment
Share on other sites
10 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