Jump to content
  • 0

Maintaining trader stock levels


Bags2247

Question

Hey all, just a quick question... I'm a new vanilla DAYZ EPOCH CHERARUS server owner, I have most of the things working as I want, but have run across an issue...

 

STOCK LEVELS,

 

I know/presume this fixes it:

copy and paste from EPOCH WIKI,

How to add stock for a specific item:

In "traders_data" table use Navicat to filter by column "item" then "contains" then "Itemvault" then change the "qty" column to add more stock and click on the checkmark at the bottom to 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';

 

 

But my question is, where do I put it, or do I run it via HEIDISQL and if so, how??

What I was gonna to use was:

 

UPDATE `traders_data` SET qty=25 WHERE qty<10 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat';

 

 

Any suggestions would be appreciated..

Thnx in advance

 

As soon as I can get gametracker sorted out, I will hit the EPOCH admins/dev's to list it as Offical vanilla server

Link to comment
Share on other sites

2 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...