the auction house opens, the Honor tab lands, and a day of fixes

- the auction house end to end: right-clicking an auctioneer opens Browse/Bids/Auctions on the server's reply — search, the category tree from your own DBCs, the reference's 50-a-page pager, multi-key sorting (directions corrected at the bytes), bid/buyout, the sell slot with deposit and duration, cancel with its fee popup; prices sit on the reference's own money-frame kit in lined-up columns, the twenty auction messages split refusals-red / outcomes-to-chat, and a won or sold auction reads as a proper mail receipt — the window's Lua re-worded in our own terms after the overlap ratchet caught the first cut leaning on the reference's text
- the PvP honor system whole: the Honor tab and the inspect page over a real wire model, with current rank and highest-ever rank correctly two different fields
- a day of reported fixes: WASD survives a /logout re-entry, addon settings save on a window close and Cmd+Q (exactly once — a mac close could fire the tail twice), clams open again, random-enchant items name themselves on every surface, the loot window's rows hold their seats with legible counts, idle players stop sinking through building floors, the shooter re-pulls between Auto Shots, portraits loosen ~19% to the client's own aspect-1.0 matrix, and big creatures thump the camera off the CameraShakes table
- character select clicks like 1.12 — captions whiten on hover, buttons fire on release, Humans face straight ahead off the stage bone's real yaw, the facing is per-character, and hunter/warlock pets stand beside you at their family-ramp size with their own emitters (the imp's flames), the Voidwalker's sequence-hidden shackles culled
- the smaller player-facing set: nameplate on/off rows in Options with the CanAttack category gate (emissaries stop plating), the bonus bar slides up with igBonusBarOpen, the camera's framing height glides on a shapeshift, the open letter evicts the centre seat, the far-band fog hull stops printing a pale horizon stripe at low view distance, the guide arrow is gold with per-source rim art, error text fades through its shadow too, and /convertraid converts the party
- README: the auction house and PvP honor move out of "not built yet"

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Sam
2026-08-22 19:04:27 +07:00
co-authored by Claude Fable 5
parent 6aa78bc468
commit cf581aa2ac
170 changed files with 20573 additions and 1578 deletions
+23
View File
@@ -88,6 +88,29 @@ pub struct CursorItem {
pub bar_placeable: bool,
}
/// How many items the cursor is actually holding, for a payload picked up from a bag.
///
/// [`CursorItem::count`] is `None` for a **whole-stack** pickup — it records only what a *split*
/// carry took — so reading it as `unwrap_or(1)` answers 1 for a stack of twenty. That is a
/// display wart on a mail attachment and a real arithmetic error on an auction deposit, which is
/// computed per stack: it would quote a twentieth of what the server then charges. So the true
/// size comes back from the source slot, which still holds the stack (a pickup locks the slot, it
/// does not empty it).
///
/// Falls back to 1 only when the source slot is genuinely unreadable — a bag the app has not
/// pushed, or a slot that changed under us.
pub(super) fn held_count(model: &super::Model, item: &CursorItem) -> u32 {
if let Some(n) = item.count {
return n.max(1);
}
model
.containers
.get(&item.bag)
.and_then(|c| c.slots.get(&item.slot))
.filter(|s| s.item_id == item.item_id)
.map_or(1, |s| s.count.max(1))
}
/// A spell payload ([`super::spellbook`]'s `PickupSpell` produces it): the spellbook slot it was
/// picked from, its book (`"spell"`/`"pet"`, the Era `GetCursorInfo` shape), and the resolved
/// spell id.