Files
DarkflameServer/dGame/dComponents
Aaron Kimbrell ad2aadc1fe fix(vendor): check the item's requirements when it is bought
The vendor window checks an item's reqPrecondition in the vendor buy context
(an unnamed function in LWOVendorComponent, through
LWOItemComponent::StaticCheckUseRequirements) and greys out what
the player does not meet, without a tooltip. The server sold the item
whatever its requirements; a buy that fails them now gets the vendor's
normal PURCHASE_FAIL, for both the vendor and the achievement vendor.

Rows without the vendor buy bit (the thinking hat one, validContexts 252)
still do not stop a purchase; the level ones (249) do.

PreconditionExpression::Check takes the client's bShowTooltip flag, so this
check sends no NotifyClientFailedPrecondition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:55:23 -06:00
..