What is weekly trader?
In a few words, the whole idea is the following:
Trader (NPC) spawns at a specific day of the week with randomly generated items. (Read above to understand)
Trader stays there for a specific duration.
Trader leaves.
Trader spawns next week with another items in multisell.
You can configure this system exactly as you want, with unlimted items, randomly (or not) selected.
Take a look at this file:
The node <item_category chance="100"> means that the multisell will have one of the following entries with 100% chance. Therefore one of the items (entries) of this category will be selected with a random ingredient item count beetween the min and the max(<ingredient itemId="9142" minCount="500" maxCount="1000"/>). You can add as many as production items or ingredients you want (just like a normal multisell).
Special ingredients (FAME,CRP,PCPOINTS) are also accepted.
In order to make this more straight, i will give you an example:
You want trader to have every saturday (check the configs info below) one raid jewel, what would you do? Easy, just check:
So after something like this, traader will choose one random RB jewel between 50 and 100 gold bars.
You can have as many item_categories as you want.
Configs Preview:
Also you the time before trading period starts/stop is visible to the trader NPC (just a small touch).
Why would i use that on my server?
(The whole idea behind this system)
To add foundation armor parts randomly every weekend with random item every weekend.
Something like:
I want to buy a Moirai Heavy Set Foundation. What do i need? I go to the trader and i see that it sells Vesper Robe Foundation Boots for 100 Gold Bars. So my thought is that i will wait for next items, and maybe one part from moirai heavy will come. I will have my GBs ready.
Next weekend arrives, Moirai Heavy Boots Available, but damn it. It asks for apiga, i was farming gold bars. It is weekend, so i have to farm the apigas because i dont know when this part will come again.
Code Info: The selected items for the "weekend" are saved into database. If server is closed, system will autmatically recognise if server opens in a trading period and will spawn/despawn the NPC (and clean database from the saved item entries).
Tiny Preview: https://imgur.com/a/KuNU3
Price: 10€
Payment Methods:
Paysafe
Paypal
Contact me via (knip.ex):
Available for: High Five, Interlude.
Can Be Adapted To: Everything.
Skpe: knip.ex