• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Reset all sellers to day 1

noname835

Refugee
Hello

I have a 16k map with 28 sellers
When I restart my server on days 1 the sellers restock tens of days after.
I tested several modlets but nothing changes, my sellers do not restock.

I then have to do each seller by seller, go to the seller's admin options and manually restock the seller

Do you have a solution to restock my 28 sellers at once please?




thx

https://drive.google.com/open?id=1pZiL6NiPT3bas5geFJ3_HNLfAtrwTRsG     image01

https://drive.google.com/open?id=1gVzAyfyrGSI4D1cS8FvM6McfbGis7tcT    image02

 
traders.xml

<config>

<set xpath="/traders/trader_info[@id='1']/@reset_interval">1</set>

</config>


This should change restock interval to 1 day, so every day they should have new stuff, assuming that's what you're trying to achieve.

 
traders.xml

<config>

<set xpath="/traders/trader_info[@id='1']/@reset_interval">1</set>

</config>


This should change restock interval to 1 day, so every day they should have new stuff, assuming that's what you're trying to achieve.
Code:
Thanks for your help, I'll watch this
 
Back
Top