Page 1 of 1

Vendors not restocking

Posted: Sat Mar 11, 2006 4:59 pm
by Rotto
If a character buys all of a particular item, then the vendor will not restock it.

I logged in with the admin account, bought all except one of a particular item, then used the 'restock command to force a restock. The vendor restocked as they should.

I then bought all of the items so they had 0 left and used the 'restock command and they do not restock the item any more.

I am using the Default UOX3 Worldfiles 0.10 and community made spawn files. I have not modified any of them except for adding a few additional creature spawns around Yew, so I haven't touched the vendor lists and item lists.

Anyone else have this problem or do I need to set something in one of the settings files?

Posted: Sat Mar 11, 2006 5:06 pm
by Xuri
Confirmed bug, I cleaned out a vendor (bought everything), and he restocks absolutely nothing. Moving to bug-forums.

Posted: Sat Mar 11, 2006 5:45 pm
by Grimson
Found the bug. CItem::IncAmount() deleted the item when it reached an amount of 0, I'll add an exclusion for vendors to it.