Jump to content
  • 0

insufficient stock


Booguy

Question

Hello to everyone,few days ago i had the problem withc traders.

When my players wanted to buy any vehicles,clothes,food they get the message "insufficient stock".

I tried to decide this problem in my database Trades_data and set more values in QTY. But it didn't help me.

 

Players still get the message "insufficient stock" when then tryed to buy for example "Skin_GUE_Soldier_Crew_DZ"

Also there isn't "Skin_GUE_Soldier_Crew_DZ" in my Trades_data

 

Sorry for my bad grammar,i hope somenody will help!

 

 
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Though you may have solved it, it sounded like you needed to run the SQL import again from https://raw.github.com/vbawol/DayZ-Epoch/master/Server%20Files/mysql/epoch.sql. It would be a good idea to also setup the scheduled SQL task that runs every day to restock the traders. This code is 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

  • 0

Though you may have solved it, it sounded like you needed to run the SQL import again from https://raw.github.com/vbawol/DayZ-Epoch/master/Server%20Files/mysql/epoch.sql. It would be a good idea to also setup the scheduled SQL task that runs every day to restock the traders. This code is UPDATE `traders_data` SET qty= 10 WHERE qty=0 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat'

 

where i can find place in (navicat or heidi sql)  to update this code UPDATE `traders_data` SET qty= 10 WHERE qty=0 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat

Thank you

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...