Merchantlist probability ?
Tried to test this recent feature by taking a random merchant and giving all items on the list 25% chance to appear.
Expected it to have various items on each reload, however instead I get either all or nothing effect - either all items appear or none at all... Puzzled. Any ideas? |
That was an oversight on my part when I initially implemented the probability field. I just fixed it in my recent commit.
|
Thank you Kingly_Krab ;)
|
You're welcome, glad I could help.
|
Quote:
I am running supposedly fully updated server and DB and merchant behavior looks the same, when I give all items on merchant list 25% probability, they ALL either appear or not. So, its exactly same as before. UPDATE - nevermind, now that I am fully updated - it works ;) Its awesome! UPDATE: Ok another question - apparently the available items re-roll every time i close and open vendor window. Not just on respawn Is that intended? Cause that sort of defeats purpose of having a RARE occurrence item if I can just open and close vendor 10 times to get exactly what I want? |
Does this have to do with some limit of items per vendor? I've noticed when some vendors are "full," I can sell them something and it will just disappear, rather than appearing in their sell list. Limit seems to be somewhere in the 75ish range, at least for Titanium client.
|
Quote:
|
Merchant lists wipe their 'temp' items every time the server starts - by default.
There is a rule that you can change to allow the items to accumulate. World:ClearTempMerchantList .. I believe. There is another issue, that may still be active, in regards to contiguous merchant slot ids. If there is a break in the sequence, anything after the break will not show up. Pretty sure this is due to a client behavior .. but, it has been discussed by the devs and others. |
Quote:
Uleat, so anything on the subject that inventory availability RNG re-rolls every-time I open and close the merchant? (Rather than on re-spawn)? |
To reload the item list only on respawn would be unfavorable. Nowadays some servers reboot every few weeks. And shopkeepers are usually not killed.
|
Quote:
Otherwise feature is pointless. |
All times are GMT -4. The time now is 10:07 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.