EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Merchantlist probability ? (https://www.eqemulator.org/forums/showthread.php?t=41731)

ChaosSlayerZ 01-26-2018 12:35 PM

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?

Kingly_Krab 01-27-2018 07:28 PM

That was an oversight on my part when I initially implemented the probability field. I just fixed it in my recent commit.

ChaosSlayerZ 01-27-2018 08:12 PM

Thank you Kingly_Krab ;)

Kingly_Krab 01-27-2018 09:54 PM

You're welcome, glad I could help.

ChaosSlayerZ 09-28-2020 08:36 PM

Quote:

Originally Posted by Kingly_Krab (Post 257280)
You're welcome, glad I could help.

Hey Kingly, 2 years later- was thing actually fixed?

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?

lymontyme 09-28-2020 11:22 PM

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.

ChaosSlayerZ 09-29-2020 07:43 AM

Quote:

Originally Posted by lymontyme (Post 265535)
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.

no, thats a different issue. I am testing this on a merchant who has likr 10 items total for sale and no temps

Uleat 09-29-2020 03:45 PM

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.

ChaosSlayerZ 09-29-2020 06:28 PM

Quote:

Originally Posted by Uleat (Post 265541)
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.


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)?

Thalix 09-30-2020 01:01 AM

To reload the item list only on respawn would be unfavorable. Nowadays some servers reboot every few weeks. And shopkeepers are usually not killed.

ChaosSlayerZ 09-30-2020 05:58 AM

Quote:

Originally Posted by Thalix (Post 265543)
To reload the item list only on respawn would be unfavorable. Nowadays some servers reboot every few weeks. And shopkeepers are usually not killed.

yeah, thats why you run a perl script that repops npc say every 4-8 hours.
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.