Dibs-v0.3.1
What's new
Changelog
[v0.3.1] — loot-roll fixes: Need must never turn into a pass
A guild member clicked Need on a trinket and the game recorded a pass — they lost the item. Two
independent defects in GUI/LootRoll.lua produce that outcome, and both are fixed. Neither had ever been
tested: the file carried the comment "In-game only; no offline test" since it was written, which is exactly
why this shipped.
How Dibs can cause a pass at all. It has one and only one RollOnLoot call site, driven by the button
you click, so it cannot mis-send a pass. What it can do is leave you with no working way to roll — and in
replace mode it has already hidden Blizzard's own frame, so there is no fallback. The server auto-passes any
roll nobody submits when the timer runs out, and from the player's seat that is indistinguishable from the
addon passing on their behalf.
An ineligible option was hidden instead of greyed out. When the game reported
canNeedfalse, Dibs removed the Need button; with both Need and Greed refused, the only control left was Pass. Blizzard's own frame never does this —GroupLootFrame_DisableLootButtongreys the button and attachesLOOT_ROLL_INELIGIBLE_REASON<n>so you can see why. Dibs now does the same: the button stays visible, disabled, with the game's reason on hover, and a disabled button refuses to submit.A recycled roll ID was blocked by a leaked entry, and that is the one that loses items.
Show()began withif active[rollID] then return end, and an entry only leftactivewhen the player clicked a button orCANCEL_LOOT_ROLLfired — never when a roll simply expired. A roll you ignored therefore parked its ID permanently, and Classic reuses roll IDs within a loot session. When the ID came round again Dibs drew nothing for the new item while continuing to display the previous one, and the stalereplaced[rollID]kept theOnShowhook suppressing Blizzard's frame for the live roll too. No usable frame from either addon or client — so the roll expired and the server passed. Fixed at both ends:Show()now releases a stale frame and redraws for the new item, and an expired roll releases its own ID fromOnUpdate, which closes the leak at source.A pooled frame no longer carries the previous roll's ineligibility. Roll frames are recycled, so a button greyed out for one item could arrive greyed out for the next; the master-looter path now re-enables explicitly. Ineligibility belongs to a roll, not to the frame it happened to land on.
Roll state now has a lifecycle instead of only opportunistic cleanup.
activeandreplacedwere cleaned only by specific events — a click,CANCEL_LOOT_ROLL, and now expiry — and each of those is an event that might not arrive. Patching leaks one at a time is what produced this bug, so there is now a hard boundary as well:LootRollUI:ResetState()drops every tracked roll and returns its frames to the pool, called onPLAYER_ENTERING_WORLD. No group-loot roll survives a login,/reloador zone change, so anything still tracked across one is stale by definition. A missed event now costs a single roll rather than stranding an ID for the rest of the session.
Tests — the rolling framework is now under test
25 new specs in Tests/lootrollui_spec.lua, the first Dibs GUI file with offline coverage, built on the
widget layer adopted from the test harness. They construct the real frames (including stand-ins for
Blizzard's GroupLootFrame1..4), fire the real START_LOOT_ROLL event through the addon's own handler,
click the buttons by their on-screen label, and assert on a recorded RollOnLoot — including that Need
calls RollOnLoot(rollID, 1) at all, since a roll that silently does nothing is the failure that costs
someone an item.
Two of them reproduce the field report end to end on a recycled roll ID: one asserts the player is looking at the trinket rather than the previous item and that clicking Need really submits, the other that Blizzard's frame is not left suppressed for a roll Dibs has dropped — the two halves that together leave a player with no way to roll.
Every fix is mutation-verified: reverting the stale-entry release, the expiry release, or the eligibility change each fails its own named tests and nothing else.
Two traps worth recording, both caught only because they were looked for:
active/replaced/poolhad no reset seam, so a spec reusing a roll ID silently received an earlier test's frame. Two specs passed for that wrong reason. Isolation is now enforced byResetState()inbefore_eachrather than by a convention about picking unused IDs — with fresh IDs and an ownership assertion kept on top as a second line.- The Blizzard-suppression spec was vacuous at first:
ensureBlizzardHooksis a one-shot that hooks whicheverGroupLootFrame1..4exist at the first replace-mode roll, so a fake created later was never hooked and the assertion passed for free. The fakes are now created before the addon loads (which is also the faithful order — Classic declares them inLootFrame.xml), and the spec asserts suppression happens before asserting it stops.
Suite: 551 passing, 0 failing.
[v0.3.0] — ask the guild bank for an upgrade, and a browsable Loots tab
Loots tab
Raids / Dungeons / World Bosses are separate sources. LibItemDB ships instances as one
Dungeons & Raidsmodule, which put a 5-man and a 40-man in the same picker. Dibs splits it for display using the classifier it already had (Items.SourceCategory), so there is no second raid list to drift — the keys areinstances:<cat>and every lookup maps back to the one IDB module. World Bosses gets its own entry rather than folding into Dungeons, because it isn't one and dropping it would strand those items.Instances sort in the order you'd run them, with the level range in front. Raids sort by progression (UBRS → ZG → AQ20 → Onyxia → MC → BWL → AQ40 → Naxx, then TBC), because nearly every raid is level 60 — a level sort collapses to alphabetical, which reads nothing like a clear order. Dungeons genuinely differ in level, so those sort by level. The order lives in
Items.RaidRank(Data/ItemSources.lua); it started as a GUI-local inGUI/SoftReserve.luaand was lifted out so the SR and Loots pickers can't disagree. Note: the Soft Reserve picker now also lists Onyxia before Molten Core, which is the one behaviour change from unifying them. +4 unit tests.The Type filter is a tree, not a flat list. Armor (Cloth/Leather/Mail/Plate) · Bags · Cloaks · Jewelry (Neck/Rings/Trinkets) · Weapons (One-Hand / Two-Hand / Ranged / Off-Hand, each listing its own subtypes), sorted A→Z after "My class" and "All types", with empty branches omitted. Junk, Quest and Trade Goods no longer appear. Structure comes from
equipLoc, never the subtype string — two reasons, both load-bearing: a cloak's subtype is literally"Cloth"in Classic, so grouping armor by subtype would drag every cloak into Armor ▸ Cloth; and equip slots are locale-independent tokens, where a hardcoded English{Cloth, Leather, Mail, Plate}set would classify nothing on a non-English client. Subtypes are used only as leaf labels, where being localized is what you want. Shields and held-in-off-hand items sit under Weapons ▸ Off-Hand; relics stay ungrouped but visible, so nothing equippable vanishes. +20 unit tests.Reputations with nothing for your faction are hidden. Wintersaber Trainers' only reward is the Winterspring Frostsaber (13086, tagged Alliance), so on Horde the item filtered out and the category was offered but always empty. Keyed on the faction filter only — never the type filter or search box, since a category vanishing because you typed something would be baffling.
Fixed
Whole Loots categories rendered blank. Argent Dawn, Thorium Brotherhood, Hydraxian Waterlords and Zandalar Tribe all showed an empty table. The type-filter rework gated row inclusion on "does this item have an equip slot", conflating two different questions: that flag decides what the Type dropdown offers, not what the list contains. Those reputations' rewards are largely non-equippable — Arcanums are item enhancements, and the rest are patterns and recipes — so every row was discarded. Rows are no longer gated on it; a non-equippable item simply has no leaf to filter to, and picking any leaf excludes it naturally.
The Planner's source filter listed "Crafted" twice — once as its own top-level entry and again inside the World & other flyout. The top-level entry was added so craftables are one click away, but its kind-label kept landing in the World & other bucket too. Gated on
IsCrafted(LibItemDB's source kind) rather than string-matching a label, so it can't drift with wording or locale.
TOGBank integration
Dibs now talks to TOGBankClassic. When a gear row shows an item a guild banker is holding, the row grows a
[Bank] icon that files a request for it — so an upgrade spotted in the planner can be asked for without
leaving the window. Mirrors the reagent integration TOGProfessionMaster already ships; TOGPM's Compat.lua was
the reference contract rather than a re-derivation. Design in docs/16-togbank.md.
Modules\Bank.lua(ns.Bank) — the TOGBank stock layer.GetStock/GetBanksWithItem/IsBanker/MaxRequestPercent/MaxRequestable/CanRequest/Request, over TOGBank'sTOGBankClassic_Guild.Info.alts[banker].items({ ID, Count }),GetBanks,IsBank,GetNormalizedPlayerandAddRequest. TOGBank is the only stock source on every flavour — Dibs never reads the in-game guild bank. Detection is purely feature-based (is the global present and initialized), never a version check, so it stays correct as TOGBank gains flavours. Added to## OptionalDepson both TOCs; absent, every entry point returns empty/false and Dibs behaves exactly as before. +26 unit tests, 100% line coverage (85/85) —Tests\bank_spec.lua.GUI\BankRequest.lua— the request dialog + the shared row action. OneRowAction()consumed by the Planner, Loots, Wishlist and Soft Reserve lists, so [Bank] is defined once and looks identical everywhere. The dialog picks which banker to ask (several may hold the item, each with its count) and files a quantity-1 request; gear is never a stack, so there is no quantity box.
Fixed / learned from TOGPM rather than rediscovered
- TOGBank builds
Info.altslazily, and a query during that window reports zero stock. The icon's visibility is therefore re-evaluated on every row populate, plus a deferred post-login refresh, so a late-initializing TOGBank fills in on its own instead of leaving the button missing until the window is closed and reopened. IsBankerdelegates to TOGBank's ownIsBankrather than walkingGetBanks()and matching a short name.GetBanks()returns"Name-Realm"on connected realms, so a short-name comparison matches nothing and every banker reads as a non-banker — a bug TOGPM shipped and then fixed by deleting its own copy.
Binding gate
TOGBank tracks items held by banker alts (their bags/bank/mail), not a shared vault, so an item bound to
its holder can never reach the requester. [Bank] is offered only for bind types 0 (None) / 2 (OnEquip) /
3 (OnUse) — an allowlist, so 1 (OnAcquire), quest items, unknown types and a not-yet-cached nil all
refuse rather than render a button that cannot be honoured. bindType comes from GetItemInfo (LibItemDB
carries no binding data). This is a cheap guard, not a common case — BoP binds on pickup and a banker who
isn't raiding never picks one up. The realistic hole is the opposite way round and undetectable: a BoE the
banker equipped is now soulbound, and TOGBank's payload carries only { ID, Count }. The button therefore
files a request and never promises the hand-over.
Requires LibAceGUIWidgets MINOR 23
RowList actions gained an optional show = function(entry) -> boolean (the action-side counterpart of an
icon column's nil texture) because [Bank] is meaningful on only a handful of rows: greying it via texture
leaves an icon on every row, and returning a nil texture is worse — the button keeps its highlight and its
click handler, giving an invisible-but-clickable hitbox. On an older widget library the action is omitted
entirely rather than rendering everywhere, the same feature-gate the Soft Reserve tab uses for its MINOR 22
icon column.
Shared internals
No behaviour change in this section — it's duplication removed and test coverage closed, recorded because the next person to touch these paths needs to know where the single implementation lives.
The branded EP breakdown moved out of
GUI/Planner.lualocals intons.ItemInteract.AppendEP(id, slotKey), so any surface listing an item can show it — the bank request dialog is the first new consumer. The dialog's item is also routed throughns.ItemInteractfor the tooltip, Shift-hover comparison, Shift-click link and Alt-click compare, so it behaves like an item anywhere else (docs/14).MarginalSetEPis exported alongside it because the Planner's EP column reads the same value as the hover, and the two must agree.Instance ordering is one shared comparator,
Items.SortInstances(list, opts). The Soft-Reserve and Loots pickers both order instances; each had its owntable.sortinside a Draw function. Two costs: they could drift, and a comparator inside a Draw function is unreachable from the offline suite — inverting a comparison, or sorting on the wrong field, would have shipped with every test still green. Accessors (rankOf/levelOf/nameOf) take the list element, so the one comparator serves both call-site shapes (Soft Reserve passes bare keys, Loots passes{ key, name }records). Ordering is rank → level → name. +8 unit tests, including the case that actually matters — seven level-60 raids where level distinguishes nothing, so only the progression rank can order them, which is exactly where a level-only sort silently degrades to alphabetical. Verified by mutation: inverting the rank comparison fails three of them.Zero-argument fallback stubs now take their argument.
function() return 999 endcalled asrank(key)is legal Lua — extras are discarded, and the behaviour was correct — but it reads as a signature mismatch to static analysis and hides that the real and fallback branches are interchangeable. Also hoisted the accessor lookup out of the comparator, wheretable.sortwas re-resolving it O(n log n) times.Full offline suite: 526 passed, 0 failed (was 466).
Modules/Bank.luaat 100% line coverage (85/85).
[v0.2.1] — master loot works in raids, and items behave the same everywhere
Playtest fixes from a live guild run (MC + AQ20 on Classic Era, plus 5-mans). Two distinct defects, both mine: the masterlooter window never opened in a raid, and item rows only supported Shift/Alt-click in one tab.
Fixed
The masterlooter window never opened in a raid — MC and AQ20 could not be master-looted at all.
GUI\Masterlooter.lua'samMasterLooter()testedselect(2, GetLootMethod()) == 0. That second return is the party index, and it is only ever0in a party: in a raid the master looter is identified byGetLootMethod's third return, the raid index (1..40). So the check was false for every raid,LOOT_OPENEDnever calledML:Show(), and no window appeared — while 5-mans worked fine, which is exactly the split the report described. Extracted the rule as pure, testedC.MasterLooterUnit(method, partyIdx, raidIdx, inRaid)inConstants.lua(the neutral home both callers reach without load-order games) and repointedamMasterLooter()andModules\Comms.lua'smasterLooterName()at it, so there is now one implementation of "which unit is the master looter" instead of two. Why it survived: the check lived inside a GUI file with no seam, so nothing offline could reach it. +10 unit tests — 7 in the newTests/constants_spec.luacovering the party/raid index split directly, and 3 incomms_speccovering it throughComms:IsLootLeader(me as raid ML at rank 0, me as party ML, and someone else master-looting). Verified they catch it: reintroducing the party-only check fails 6 of them.Shift-click and Alt-click now work on every item in the addon, not just the Planner's gear list. Only
GUI\Planner.luawired the modified-click behaviours; every other list had its own partial copy or nothing at all. NewModules\ItemInteract.luaowns all three behaviours once and every list routes through it:- Shift-click posts the item's link in chat (Ctrl-click dresses it up), via
HandleModifiedItemClick. - Alt-click opens the Dibs compare window (
ns.Compare) against what you have equipped in that slot. - Hover with Shift held shows the game's own side-by-side comparison tooltips, added or removed live as
you press and release Shift (a
MODIFIER_STATE_CHANGEDwatcher;GameTooltip_ShowCompareItemis feature-detected, so a flavour without it simply shows no comparison).
Wired into the Wishlist (which had no row tooltip, click or compare — the tab playtesters flagged first), the Loots browser (had a tooltip and Shift-click but no Alt-compare — "cannot compare anything from Loots tab"), the Loot Log, both Soft-Reserve lists, the Masterlooter window's item rows (which had no tooltip at all, so the ML could not even mouse over the drop they were handing out), the loot-roll popup, the Planner's paperdoll slots and gear list, and the Buffs tab's consumables. On the Soft-Reserve items list a modified click is consumed first, so linking an item no longer costs you an accidental reserve. The duplicated
itemInfoLinkhelpers inPlanner.luaandLoots.luaare now oneItemInteract.Link. +16 unit tests (Tests/iteminteract_spec.lua) over link resolution, click routing and the compare predicate.- Shift-click posts the item's link in chat (Ctrl-click dresses it up), via
Shift-clicking an item into the Wishlist's add box does nothing. Blizzard's
ChatEdit_InsertLinkonly ever feeds the chat, macro and auction-house edit boxes, so a customEditBoxnever sees the link — typing an id or pasting worked, Shift-click silently did not.GUI\Wishlist.luanow hooks it (viahooksecurefunc; no global is replaced, so nothing is tainted) and mirrors Blizzard's own precedence: an open chat edit box still wins, exactly as it does for the macro frame, so this only claims links the game was about to drop. A Shift-click on a Dibs row is excluded viaItemInteract.IsRoutingLink()— that one is a "link it to chat" action and must not be swallowed back into the box.An empty gear list rendered as a blank panel.
GUI\Planner.luahides the "click a gear slot" hint for good on the first slot click, so a slot with no results showed nothing whatsoever — indistinguishable from a broken tab. It now says which it is: no item data loaded at all, versus filters that exclude everything.
Notes
- One playtest report is not explained by anything above and is not fixed: a single player saw nothing in the Build tab. Nothing in the code reproduces it, so no cause is claimed here. The empty-list message above will at least distinguish "no data" from "no matches" the next time it happens.
- Dependency presence needs no check — WoW refuses to load Dibs when a
## Dependenciesentry is missing — and dependency versions are already covered: ItemDB, ProfessionDB and the other shared libraries each wire VersionCheck-1.0 themselves, so a stale one nags on its own. - Full offline suite: 466 passed, 0 failed (was 440).
CHANGELOG.mdpassed the ~120,000-char working ceiling, so v0.1.6 moved toCHANGELOG_ARCHIVE.md(live file now ~80 KB).
[v0.2.0] — Burning Crusade Classic support
Ingests LibItemDB's new Burning Crusade Classic data (its v0.5.0 / MINOR 13) so a TBC (2.5.x) client gets the
same EP / best-in-slot / drop-source / raid experience Classic Era gets. See docs/12-tbc-ingestion.md for the
full plan. Verified live on a TBC client: EP scores and rankings populate, the stat panel renders, and the
Source / Type / Crafted filters and continent grouping work. One known gap remains — TBC ammo has no scorer in
the data yet (an IDB-side gap, not Dibs).
The scoring gate is flavour-correct now — TBC lights up. Every EP / ranking / set-bonus-EP path was gated on
Items:HasBiS(), which on TBC is false (TBC ships EP weight scales but no fixed BiS gear-lists), so a TBC character saw no scores at all — the exact caseItemDB/docs/TBC-Parity.mdcalls out for Dibs by name. AddedItems:HasScoring()(feature-detectsDB:HasBiSWeights(), true on Vanilla AND TBC; falls back toDB:HasBiS()on an older lib) and repointed all 10 scoring gates to it — the 6Data\ItemSources.luascorers (ScoreStats/GetEP/ScoreForClassSpec/GetScoreBreakdown/GetSetBonusEP/GetSlotRanking) and the 4 GUI gates (GUI\Planner.luaslot-ranking / EP-sort-column / BiS badge,GUI\Weights.luaeditor).HasBiS()stays for a genuine fixed-list feature (Dibs has none — its BiS badge is EP-drivenBestBySource), so nothing regresses on Vanilla. The pure decision is factored asItems.ScoringAvailable(db)and unit-tested.The 9 Outland raids are treated as raids. Added the TBC raid slugs (Karazhan, Gruul's Lair, Magtheridon's Lair, Serpentshrine Cavern, Tempest Keep, Hyjal Summit, Black Temple, Zul'Aman, Sunwell Plateau) to
RAID_KEYSand to the SR picker's progression order (after the Vanilla raids). The keys are disjoint from the Vanilla set, so it's inert on a Vanilla client and correct on TBC — no flavour branch.SourceCategoryForalso now buckets the TBC world-boss key (WorldBossesBC) as a world boss instead of a dungeon.+5 unit tests (
source_spec):Items.ScoringAvailableacross HasBiSWeights / HasBiS-fallback / no-DB, andSourceCategoryForclassifying the TBC raids as raids, TBC 5-mans as dungeons, and WorldBossesBC as a world boss. The whole-DB rank-pool ceilingC.MAX_ITEM_IDis left open on TBC (no retail-range contamination observed live). Full offline suite across all of v0.2.0: 440 passed, 0 failed.Older-expansion content is grouped, not hidden — "Classic Raids" / "Classic Dungeons" flyouts. The level-60 Classic raids/dungeons are still runnable on a TBC client (mounts, transmog, a specific drop), so the Planner's Source filter now nests them instead of dropping them: the current expansion's instances stay at the top of the Raids/Dungeons flyout, and each older expansion gets its own sub-flyout ("Classic Raids", …). It's data-driven per game version, not a runtime "whatever's current" guess: Dibs groups by a per-instance
expansiontag from LibItemDB, andC.EXPANSIONmaps the client'sWOW_PROJECT_IDto the same token vocabulary (Vanilla/TBC/Wrath/Cata/Mists). It generalizes cleanly — on a Wrath client you'd get TBC Raids + Classic Raids. Untagged instances fall back to "current", so the menu stays flat (exactly today's behaviour) until the data is tagged. PureItems.PartitionByExpansion+C.EXPANSIONdetection — +5 unit tests. Requires LibItemDB to addinst.expansiontoGetInstances()and to surface the older-expansion instances on later clients (the IDB side).TBC instances now show their level ranges in the Source picker.
INSTANCE_LEVELSgained the Outland entries (Hellfire Ramparts 60-62 … Magisters Terrace 70, all TBC raids 70), so on a TBC client the dungeons and raids read with a level column and sort by progression — like the Classic ones — instead of alphabetically with no number. Disjoint slugs, so inert on Vanilla. +1 unit test.The planner gear list now shows EVERY item for the slot — no cap — plus a per-slot Type filter. The Build list was silently capped at the top 250 by EP (
SLOT_CAP), ranked over the whole item DB with no level awareness. On a low-level character that meant the list was 250 endgame pieces and your own leveling/crafted gear (e.g. an 8-EP Runed Copper Breastplate) fell far below the cutoff and never appeared — even though Breakdown showed it, because Breakdown reads your equipped item directly. The cap is gone (Items:GetSlotRankingnow defaultstopto "all" so LibItemDB returns every ranked item; the ammo/quiverSearchcap dropped too) — a planner serves everything applicable and the user narrows it. To make that usable, a new Type dropdown (the sharedW:CreateDropdownBox, beside Source/Sort) filters the slot by armor material (Cloth / Leather / Mail / Plate / Shield) or, for weapon slots, One-Hand / Two-Hand / Ranged each expanding to the weapon kinds present (Axe / Sword / Mace / Dagger / Staff / Bow / …). Options are scanned from the slot's own items, so only types that actually occur appear; it clears on slot change. PureItems.MatchesTypeFilter/ARMOR_TYPE/WEAPON_TYPE— +5 unit tests. Both Vanilla and TBC. Filter-row layout, adjusted for the added box: the three dropdowns (Source / Type / Sort) now split the row in equal thirds and re-width on resize (fit at minimum window size, grow together when dragged wider); the search box moved up to share the "Upgrades only" row (its parenthetical moved into the checkbox tooltip to make room) — cramming a fourth control on the filter row pushed the search bar off-window.Source picker: "World & other" is now grouped by continent, and there's a top-level Crafted filter. Two playtest asks. (1) The "World & other" flyout had grown to ~40 flat entries (every zone, on both continents, plus Outland); it now nests into Eastern Kingdoms / Kalimdor / Outland sub-flyouts via a small
ZONE_CONTINENTtable inData/ItemSources.lua(Items.ContinentOf/Items.GroupByContinent) — the kind-labels (Crafted, Vendor, World Drop, Other) and any unmapped place stay flat at the bottom, so a table miss degrades to today's behaviour and never hides a source. LikeINSTANCE_LEVELS, this is small, set-in-stone display data IDB doesn't ship (it gives the place name, never a continent). (2) A flat Crafted entry now sits at the top level of the Source dropdown, matched by LibItemDB'ssourcekind (Items:IsCrafted/ pureItems.CraftedFromSources) rather than a place string — so it catches a craftable even when it also drops somewhere, and is locale-proof. Works on Vanilla and TBC. +6 unit tests.Loot-roll window: usable layout + item hover + drag-to-move. Player-reported: the roll buttons were crammed on top of the item/timer, and you couldn't see what the item was. The frame is taller now with clean rows — item (icon + name + dib flag) on top, the roll buttons below it, the timer along the bottom — so nothing overlaps. Hover the window to see the item's full tooltip (Shift to compare vs what you're wearing, like Blizzard's own roll frame — native
SetLootRollItem, or the item link for an ML-driven roll). And you can now drag the window anywhere; its position is saved (DibsDB.lootRollPos). Applies to both the group-loot and the master-loot prompt.Fixed: clicking a loot-roll button could throw
GUI\LootRoll.lua:253: table index is nil. The roll buttons'OnClickclosure callsLootRollUI:Hide(f.rollID)(orf.mlKey), and after the first click hides and pools the frame those ids are cleared — so a second, queued click on the same button re-entered the handler with a nil key, andHideblew up onreplaced[nil] = nil(Lua errors when you assign to a nil table index).LootRollUI:Hidenow bails on a nil key (there's nothing to hide), so a stale/double click is a harmless no-op instead of a Lua error. Frame-lifecycle fix, verified in-game (the roll frames aren't unit-tested, per the suite's rendering rule).Per-flavour TOCs. Split the single
Dibs.tocinto one per game version — the baseDibs.tocnow targets Classic Era (Interface 11509) and a newDibs_TBC.toctargets Burning Crusade Classic (20506) — so each flavour can load a different library set as the suite's per-version libs diverge (mirrors the pattern the sibling addons use). Same source, version-appropriate metadata.
[v0.1.9] — pug support, talent planner fixes & a rebuilt Buffs picker
Fixes the Talents tab: ranks were landing on the wrong talents (a rank-5 talent could show as "5/2") and
the grid didn't line up, both traced to one root cause — the item database ships talent tier/column
0-based (auto-generated from the DB2), while the live GetTalentInfo API and the rest of the planner are
1-based. The trees also get a visual pass so the three read as three clean, distinct sub-frames. The Buffs
tab is rebuilt around a per-group "+ Add" dropdown so it shows what you've picked instead of every
option, and active tabs now glow in the Dibs accent. And the big one: Dibs now works in pugs — soft
reserves and loot pushes are authorized by the raid leadership (master looter / raid leader), sync reaches
addon users from any guild, and non-addon raiders still /roll from chat, so a mixed multi-guild raid runs as
one loot flow.
- Adopted the fixed WoWAPITesting harness (dev-only; nothing ships). Two runner bugs were breaking specs
rather than the addon.
assert.is_truthy/assert.is_falsycrashed with "attempt to call a nil value" — the runner hand-listed accepted spellings, sois_nilandis_trueworked while those two didn't; it now resolves luassert's modifier chain generically, so every spelling works and a typo reportsunknown assertioninstead. Andassert.has_error(fn, expected)ignored its second argument, so a spec asserting a specific error passed no matter what was actually raised — it now checks it. No Dibs spec used either form, so no spec changed; the suite is still 416 passed, 0 failed. The harness also gained the sharedcoverage.lua(previously duplicated in seven addons, none of them Dibs), run from the addon root aslua Tests\wowapi\coverage.lua <targets>. First real numbers:Modules\Buffs.lua94.07%,Modules\Talents.lua79.72%,Modules\Loadout.lua24.25% — Loadout is the gap to close. - Upper Blackrock Spire is now a raid, and the Soft-Reserve raid picker is ordered by progression. UBRS is
a 10-man raid in Classic but the item database classifies it as a dungeon, so it never appeared in the SR
raid picker — it's now in Dibs' raid set (
RAID_KEYS), so it shows there (and gets raid treatment in the Loots/BiS/source paths too). The picker itself no longer sorts alphabetically: the two test instances (Ragefire Chasm, Wailing Caverns) come first, then the real raids in progression order — UBRS → Zul'Gurub → Ruins of Ahn'Qiraj → Molten Core → Onyxia's Lair → Blackwing Lair → Temple of Ahn'Qiraj → Naxxramas. Any instance not in that list still appears, alphabetically, after the ordered ones. - SR / SR+ settings moved to the Soft Reserve settings tab. The SR+ bad-luck-protection controls (enable + points-per-non-win) were under the Rolls tab in Settings; they now live on the Soft Reserve settings tab with the rest of the SR setup, where you'd look for them. Still officer-owned and pushed to the raid with the other loot settings (the tab has its own push button).
- Tooltip / label glyph audit — replaced characters the WoW font can't render. Some strings used glyphs
outside WoW's font, which showed as an empty box (
□): the SR+ tooltip's→(now reworded), the Wishlist "won" column's✓(now the same green ready-check texture the SR "for you" column uses), and the Attendance "recording" indicator's●(dropped — the text is already green). Swept the whole addon for arrow / check-mark / geometric glyphs; the em-dashes and ellipses that DO render were left alone. - The loadout selector no longer overlaps its own text. A long loadout name ("Galdof — Current Gear") wrapped to two lines inside the 22px selector box and overlapped; its label is now single-line (clips instead of wrapping), matching the shared dropdown boxes beside it.
- "% damage" buffs are now scored (Sayge's Dark Fortune of Damage is no longer 0 EP). A
+% damage / healingbuff isn't a flat stat — the game applies it to your FINAL output, after every other buff, talent and gear stat — so it can't fold into the flat EP sum and used to score 0, absurd for what's basically the best DPS buff in the game. It's now valued the way the game applies it:X% × your offensive EP(the damage-contributing stats of your gear + the buffs you've toggled, scored viaItems.StatCategory), added on top as the final layer — so it grows as you stack attack-power buffs, exactly like in-game. The baseline is taken from the Build-tab paperdoll (the source of truth for gear scoring), and it flows into both the buff's own EP and your Total EP. Covers everyPCT_DAMAGE/PCT_HEALINGbuff. +4 unit tests. - Every percentage buff now reflects your OTHER buffs (per-buff EP is its marginal value). A
+%buff —+10% Intellect(Sayge's), Blessing of Kings (+10% stats), Spirit of Zandalar — multiplies your total, so its value depends on the other buffs you've toggled. Its listed EP is now its marginal contribution (your total buff EP with it on minus with it off), so+10% Intellectgrows once you add Arcane Intellect, the same way+10% Damagegrows with your attack-power buffs — matching how the game applies a multiplier last. Flat buffs are unchanged (scored in isolation, which is already their marginal), and single-select options are measured against an empty slot so they rank against each other. Per-buff and Total EP always agree now. - The Buffs tab enforces Classic's 16-buff cap. Classic Era hard-limits you to 16 active buffs at once;
the picker now shows your count (
N/16, amber when maxed) and refuses to add a 17th (a same-slot swap or a removal is always fine), so you can't plan a buff set the game won't actually let you hold. Version-gated — other flavours (which differ) aren't capped at 16. +2 unit tests. - Buff tooltips now list what the buff GRANTS, so a buff that does nothing for your spec still shows its
stats. The hover tooltip's stat lines were built from the player-specific EP delta, so any world buff whose
effect doesn't help the current spec — a
+% spell damagebuff on a hunter, a stat+%you barely have — computed to 0 and listed nothing (and pure+% damagebuffs are dropped from EP entirely). The tooltip now reads the buff's own stat map from the item DB (a consumable's use-effect, or an aura's max rank) and lists it directly: flat grants as+N Stat, percentage grants (PCT_*) as+N% Stat(e.g.+10% Agility,+10% Damage). The Dibs EP line above it is unchanged (still your spec's actual EP value). - A 2H's "vs. yours" EP delta again compares against BOTH weapon slots (regression fix). In the Loots and
Soft-Reserve browsers, a two-hander's EP delta was subtracting only your main hand, so a 2H read as an
upgrade even when your 1H + off-hand together already beat it (e.g. Staff of Dominance in MC). The rule was
correct once — it lived in the SR tab's own
epDelta— but I later refactoredepDeltato delegate to the sharedLoadout:EquippedEP, which never had the rule, so it regressed. Fixed at the shared function now, so both browsers get it:Loadout:EquippedEP("INVTYPE_2HWEAPON")sums the main-hand + off-hand EP (what a 2H makes you give up), while rings / trinkets / 1H still compare against the worse of their two slots — matching how the Planner's loadout total re-scores a 2H by clearing the off-hand. +4 unit tests pin it. - Buffs tab: single-select groups now use an "+ Add" dropdown that shows only your picks. The old tab
listed every option in every group as an inline checkbox — unusable for Food (hundreds of stat foods). Now
each single-select group (flask / battle & guardian elixirs / food / …) shows a compact "+ Add" dropdown
of all its options plus the option(s) you've selected; large groups fan the dropdown out into sub-menus by
primary stat (Agility / Strength / mp5 / …) so Food is browsable instead of one giant list. Multi-select
aura groups (raid / world / totem) stay inline checkboxes — they're short and you pick several. The stat
bucketing (
Buffs.PrimaryStat/Buffs.SubgroupByStat, +3 unit tests) is Dibs UI logic over IDB's per-item stat data; the sub-menu headers reuse WoW's own localized stat names (ITEM_MOD_*_SHORT). - Talent tier/column normalized 0-based → 1-based at the LibItemDB boundary (
adaptIDBTree).GetTalentTreereturnstier/column0-based (tier 0-6 / column 0-3); the live API — and therefore this module's tier gating ((tier-1)*5), grid layout ((tier-1)*STRIDE), andoverlayLiveRanks'"tier:column"correlation againstGetTalentInfo— are all 1-based. The IDB-sourced tree was fed through those 1-based assumptions unchanged, so: the top row rendered up into the header, the left column ran off the left edge, and live spent ranks were correlated one cell down-and-right — dropping a rank onto the wrong talent (e.g. a maxRank-5 talent's 5 points showing on a neighbouring maxRank-2 talent as "5/2") and losing any rank in column 4 or tier 7 (which had no 0-based match). Now normalized once, in the adapter, so an IDB-sourced tree behaves exactly like aReadLiveone everywhere downstream.talents_specnow feeds 0-based fake data (mirroring real IDB) and asserts the 1-based output, so it actually pins this. The 0-based convention is LibItemDB data; the reconciliation to the live API's 1-based grid is Dibs logic (the boundary rule). - The active tab now shows an accent highlight band. The stock AceGUI
TabGrouponly greys/disables the selected tab, which was hard to spot — every tab strip (main window, Settings, and the Planner's Build / Breakdown / Buffs / Talents / Wishlist sub-tabs) now shows a soft accent highlight band behind the selected tab's label (bright centre fading to the ends, like a selected menu row) plus a fainter accent band on mouse-over, via a new sharedLibAceGUIWidgetshelper (W:BrandTabGroup, MINOR 21) so the whole suite gets the same tab feel. Feature-detected, so an older widget library just shows the stock tabs. - Talent trees now render as three distinct bordered sub-frames. Each tree frame is created with
BackdropTemplateexplicitly — a plainFramehas noSetBackdropon this client, so the framing border never drew and the trees blended into the window. Each now has a per-tree accent (blue / gold / green) on its border and header bar, a crisp accent rule separating the header from the grid (the header no longer sits under the top row of talents), and the game's scenic class art now enlarged uniformly to cover the panel (a true 1:1 scale — no aspect distortion), centred, with the overflow cropped viaSetTexCoord. The art is four pieces whose visible extent is 300×331 with transparent padding (per the Talented / NovaRaidCompanion sizing); drawing the raw files, or stretching them to the panel, left the scene small and top-left-justified with black strips down the right and bottom — the cover-scale fills the whole panel cleanly instead. - Soft Reserve list: a "WL" wishlist column. The SR Items list gains a narrow rightmost WL column with a
coin that's gold when the item is on the active character's wishlist and grey when it isn't (same
gold/grey convention as the Loots browser's coin), so you can see at a glance which reservable drops you'd
already called dibs on. Click the WL header to group your wishlisted items together (the row carries a
wl1/0 value the header sorts on). The coin is drawn by a new reusable RowList icon-column capability added to LibAceGUIWidgets (a column may seticon = function(entry) -> texturePath, desaturatedto render a per-row, desaturatable texture; MINOR 22) rather than hand-rolled here — so the DKP/EPGP loot lists can reuse the same marker mechanism. Feature-gated on the lib version, so a stale embedded copy of the widget lib from another addon just omits the column. The list now also refreshes when you return to the Soft Reserve tab, so editing your wishlist on the Planner/Loots tab updates the coins (MainWindow:ShowTabre-reads on show) — fixing a stale-coin bug where a removed item stayed gold. - Pug support — Dibs now works in a pug, not just a guild raid (two prongs). The whole SR / loot flow was
guild-first: sync trust and the "who may push the setup / start rolls" authority both came from
LibGuildRoster guild rank, and DeltaSync's discovery broadcast rode the guild channel — so a pug
(members from several guilds) was locked out. Now:
- Authority = the raid, not the guild. A new
Comms:IsLootLeaderreads the game's own group state — the master looter, or the raid leader / an assistant (party leader in a 5-man) — and authorizes the loot-config pushes (CanPush/onPush), thesr_setupauthorship gate (a newer setup is accepted if its author is a guild officer or the current loot leader), and every GUI edit control (a newComms:CanManageLoot= officer or loot leader; the SR / rolls-Settings / declaration screens now gate on it and show a "leadership" banner to everyone else). Game-authoritative, so it's spoof-resistant and needs no shared guild. Guild DKP/EPGP stays officer-owned. - Push channel by authority (officers push config any time).
CanPushno longer requires a group for a guild officer: an officer's config is guild-owned, soPushbroadcasts it over GUILD — solo included — reaching every guildmate (e.g. one who just installed Dibs), and additionally over RAID/PARTY when grouped so non-guild pug members get it too. A non-officer loot leader has no guild channel, so they can only push while grouped (RAID/PARTY). This fixes a bug where a solo officer got "Can't push — you must be in a group" and couldn't hand the SR setup to a new guildy outside a raid. - Trust = "in my current group".
Comms:IsTrustedSender(the inbound-sync gate) and the DeltaSync P2PisValidPeerwiden from "guildmate" to "guildmate OR a member of my party/raid", so a non-guild pug member's own reserves + Main/Alt declaration sync to the group. TheonSyncAcceptedonline-guard was also fixed to not drop pug peers (they aren't roster-tracked, soIsOnlinereads false — being grouped is proof of presence). - Discovery reaches non-guild members. DeltaSync hardcodes its hash-list broadcast to GUILD, so
Comms:Broadcastnow adds a second leg —Comms:BroadcastGroupre-sends the same hash-list over the RAID/PARTY channel while grouped, via DeltaSync's publicSerializeWithChecksum+SendMessage. No DeltaSync change was needed — itsisValidPeeris pluggable and the directed transfer legs (WHISPER) already work cross-guild, so pug scope was purely a host-side (Dibs) config decision. This resolves the long-standing "broadcast scope for pugs" open question (docs/06/08). - Non-addon raiders are covered too (already wired, now documented as the second prong): the ML announces
each roll in chat, they
/roll, and Dibs tallies those fromCHAT_MSG_SYSTEMalongside addon rolls — so a mixed, multi-guild raid runs as one loot flow. - New
comms_specunit-tests the pure authority/trust logic (RankIsLeader,IsLootLeader,InSameGroup,CanPushunder officer-solo / officer-grouped / raid-leader / assistant / master-looter / party-leader / plain-member / solo states) by driving faked group APIs — +17 tests. SR-page tooltips + the README + docs/06/11 explain the behaviour.
- Authority = the raid, not the guild. A new
- Added an in-game "What's New" release-notes popup (
GUI\Intro.lua), ported from FastGuildInvite. On the first login after Dibs updates to a new version, a scrollable popup lists that release's headline changes in plain language; closing it stampsDibsDB.introSeenVersion = <version>so it re-fires only after the next update. Re-openable any time with/dibs whatsnew(aliases/dibs intro,/dibs changelog), which bypasses the once-per-version suppression. A "Show What's New after an update" personal setting (General settings, on by default) turns the auto-popup off without losing the slash command. Built on the shared LibAceGUIWidgetsClearFrame(mirroringGUI\TextPopup.lua); the bullets are an ordered list of locale keys (whatsnew_v019_*) seeded from the Curseforge "Recent Updates" copy, so a new release just prepends its keys.
[v0.1.8] — raid-buff configurator & an interactive talent planner
Plan the character you'll actually raid as: a Buffs configurator (the full flask / elixir / potion / food spread plus every raid / world / totem buff, straight from the item database and folded into your EP) and an interactive Talents planner, alongside a Character + Spec picker that re-scores the whole planner for any of your toons. Soft reserves gain Main/Alt roll tiers and SR+ bad-luck protection; there's a new Loot Log, per-raid attendance, master-loot roll routing, a boss-pull dibs announce and mob-hover tooltip — and early Burning Crusade Classic support. Plus a big correctness pass on how consumables and pools (mana/HP) score, so the Buffs tab matches the Build tab exactly.
TBC (Burning Crusade Classic) support — the addon loads and runs on 2.5.x.
Dibs.tocis now a multi-interface TOC (## Interface: 11509, 20506) so the TBC client loads it without the out-of-date flag. Dibs ships the SAME Lua on every flavour (it has no per-flavour data of its own — that all comes from LibItemDB) and already degrades by feature-detecting the lib's data rather than branching on flavour, so no separateDibs_BCC.tocis needed (the approach LibAceGUIWidgets already uses; its TOC's TBC interface was bumped20505 → 20506to match the current build). Every hard dependency resolves on TBC — ItemDB (_BCC), ProfessionDB (_BCC), GuildRoster (_BCC), and the multi-interface Ace3 / DeltaSync / LibLocaleOverride / LibAceGUIWidgets.- What works on TBC today: item name / link / stats / type lookups, loot rolling and master-loot, attendance / declarations / SR+ / loot log, adding items to a wishlist, and the current character's live talents.
- What is WRONG or absent on TBC — LibItemDB's TBC data today is items + consumables only. Critically, its
TBC
Sourcesis a placeholder that resolves to the Vanilla instance graph, so every source-driven display shows Vanilla data on TBC and must be treated as Vanilla-only until real TBC source data ships: the Soft-Reserve "From" / boss column and the auto-built-in-boss-order setup, wishlist / Loots grouping by instance, and the boss-engage announce + mob-hover tooltip (a Karazhan boss would surface Molten Core drops). Also absent (blank / no-op, never an error): EP scores, BiS badges and Planner ranking, the class-usability gate, alt talent trees, and the DB-driven Buffs consumable groups (the tab shows only the hand-curated raid/world auras). Full TBC parity depends on LibItemDB shipping TBC sources / BiS / EP / weights / talents / auras / exclGroup / class data.
New: Dibs announces your called-dibs when a boss is pulled. Opt-in (Settings → "Announce my dibs when a boss is pulled", off by default). On
ENCOUNTER_START,Modules/DibsAnnounce.luagathers the current character's called-dibs ids (wishlist viaWishlist:Map, plus this raid's own soft-reserves) and keeps only those that actually drop off that boss — the pureDibsAnnounce.MatchingItems(ids, encounterID, bossName, sourcesFn)matches each id'sItems:GetSourcesentries byencounterID(with a boss-name fallback), de-dupes, and preserves order. Matching item links post toRAID/PARTYonce per boss (tracked byencounterID, reset onPLAYER_ENTERING_WORLD) so a wipe/re-pull doesn't re-spam, and nothing posts when the toggle's off, when solo, or when none of your dibs drop there. Item links are long, so a many-dibs boss would overflowSendChatMessage's 255-char cap and get truncated/dropped — the pureDibsAnnounce.ChunkLinkspacks the links into as few lines as possible (line 1 keeps the "Dibs!:" lead, continuations are bare) so every link goes out. Unit tests cover the encounterID/name matching, de-dupe/order, reserved-vs-wishlist split, the nil/empty-source and empty-name guards, and the chat-line chunking.SR restriction editor: "Open to all" removes a single item's restriction. The per-item editor could add or modify a class/spec/profession/weapon/school restriction, and the Setup menu could "Clear ALL", but there was no way to fully un-restrict just ONE item — you had to un-tick every axis by hand. Added an "Open to all (clear restrictions)" entry at the top of the per-item menu that clears the whole
restricttable plus the loot-council / guild-bank / not-reservable flags in one click (checked when the item is already open), then stamps + broadcasts the setup like any other edit.SR Items list now reuses the PLANNER's eligibility + EP, instead of a parallel copy. The EP-delta column had its own logic — a local slot map, its own equipped-item read, a 2H special-case, and a proficiency-blind
ClassUsableusability check — so a hunter saw a large "+71" on Crimson Shocker (a wand; the lib'sGetItemStatsscores a wand's DPS against a hunter's huge ranged-DPS weight) and even a "✓ Hunter" auto-suggested restriction. The planner's gear list never had this bug because it filters throughItems:CanUse(faction + armor/shield/ weapon proficiency + class/race).epDeltanow delegates entirely to the planner's own functions — the exact computationGUI/Loots.luauses:Items:CanUse(equip eligibility) →Items:GetEP→ minusLoadout:EquippedEP(Items:GetSlot(id))— with the SR-local slot map / 2H code / usability check deleted. The weapon/armor proficiency rule that lived insideCanUse(theCLASS_WEAPONS/CLASS_ARMOR/CLASS_SHIELDtables — the layer LibItemDB'sClassUsabledoesn't carry) is factored into one sharedItems.ClassProficient, used by bothCanUseandUsableClasses, so the SR auto-suggest stops restricting a wand to hunters (it now reads "Mage/Priest/Warlock"). A hunter's wand row: blank EP, not-for-you restriction — the item still lists (a caster can reserve it), just no phantom hunter upgrade.SR Items list: EP column now sorts numerically with no-EP rows pinned to the bottom. The EP-delta cell stored a pre-coloured display string (
"|cff40dd40+12|r"), so the RowList couldn't parse it as a number and sorted the column lexically by colour code — and blank "no EP value" cells sorted to the top. Now the row stores the RAW numeric delta (or nil) and the column renders it via aformathook, so the sort is numeric: descending gives +EP → −EP, and items with no EP score (recipes, materials, mats) always sink to the bottom regardless of sort direction. Backed by a newnilsLastcolumn option in LibAceGUIWidgets (MINOR 20, +2 tests there).SR raid picker: Ragefire Chasm added as a fast test instance. The picker lists
SourceCategory == "raid"instances; RFC (a 5-man) is now allow-listed alongside them (DEV_DUNGEONS = { Ragefire = true }) so the soft-reserve / rolling / loot-log flow can be exercised on a quick dungeon clear instead of a full raid.Profession detection: iterate all six
GetProfessions()slots (fixes secondary-profession restrictions), plus a/dibs profsdiagnostic.Professions.Mine()iteratedipairs({ GetProfessions() }), which halts at the firstnil— the absent Archaeology slot — so Fishing / Cooking / First Aid (which come after it) were never read, and any recipe restricted to a secondary profession showed as "not you". Now it walks the fixed six slots by index. AddedProfessions.Debug()//dibs profs, which prints the rawGetProfessionsindices and eachGetProfessionInfoskill line, so a still-mis-detected profession (e.g. a Leatherworking pattern showing yellow for a leatherworker) can be pinned to real client values rather than a guessed API signature. The dump then proved the real cause:GetProfessions()returns all-nil on Classic Era 1.15 / TBC 2.5 (andC_TradeSkillUI.GetAllProfessionTradeSkillLinesis absent), so no profession was ever detected and every recipe read yellow.Mine()now falls back to the skill-window scan (GetNumSkillLines/GetSkillLineInfo), which does work there — matching the localized skill names (e.g. "Leatherworking") to tokens viaProfessions.MapSkillNames(pure, unit-tested; enUS today — the ID path was locale-free, this fallback isn't, so the map extends per locale as localization lands). It expands a collapsed Professions header only when a first pass finds nothing, keeps the skill-line-ID path as primary for clients where it works, and caches the result (invalidated onSKILL_LINES_CHANGED) since the SR list queries it per row.Buffs tab rebuilt on the DB-driven model: the FULL consumable list, single-select per slot, with real tooltips. The tab rendered a short hand-curated catalog (one flask, five elixirs, one guardian, seven foods) with "from recollection" magnitudes, so most flasks/potions/food and every juju/Zanza/stone were missing.
Modules/Buffs.luanow builds a UNIFIED catalog — raid/world auras (still hand-curated, they have no exclGroup) plus every consumable straight from LibItemDB, grouped by itsexclGroupand keyeditem:<id>, with verified use-effect stats. So the picker shows the complete flask / elixir / potion / food / juju / Zanza / stone spread (Mageblood, the mana flask, etc. included), each exclGroup a single-select section (one agility elixir, one strength buff, one flask, one food — different slots coexist). Selection, aggregation and the folded EP all flow through the one model (Buffs:Catalog/:Categories/:Get/:Toggle/ResolvedCatalog), so a consumable scores exactly like a raid buff. Each row now has a hover tooltip: the real game item/spell tooltip (SetItemByID/SetSpellByID) plus a Dibs EP line and the stat breakdown, matching the gear tooltip. +4 unit tests (fake-DB-backed; 379 total). Without LibItemDB the tab degrades to raid/world auras.Buffs tab: the AURA side is now DB-driven too — the FULL world-buff list. The consumable half was DB-driven, but raid/world buffs still came from the short hand catalog (5 world buffs), so the tab was missing most of them.
Buffs:AuraEntriesFromDBnow pulls raid / world / totem auras straight fromGetBuffsInCategory(keyedaura:<name>), so every world buff shows — all six Sayge's Dark Fortunes, the Dire Maul tributes (Fengus / Mol'dar / Slip'kik), Resist Fire, all the totems — not a curated subset, and each scores through the sameGetAuraBuffs→ScoreStatspath. Theselfcategory (class-specific self-buffs like a hunter's Aspects or a paladin's Seals) is deliberately left out until it can be class-filtered. The hand-curatedCATALOGis now only the offline fallback for raid/world auras when the lib lacks the API. +2 unit tests (388 total).Buffs configurator groundwork: DB-driven "one active per slot" exclusion groups. LibItemDB now tags each consumable's mutual-exclusion slot as an
exclGrouptoken (from WoWSims — the client DB2 doesn't carry it), read viaGetConsumableGroup(id)or theexclGroupfield ofGetConsumableBuffs. This is the correct axis for the coming exclusivity-frames redesign of the Buffs tab: an agility elixir and a strength buff are different slots (both stackable), which is why a flask + battle elixir + guardian elixir + food all coexist — grouping by the coarse consumabletype(flask/elixir/potion) would have wrongly merged them. Added the pure model inModules/Buffs.lua:Buffs.GroupConsumablesByExclusion(rows)buckets IDB rows byexclGroup(dropping ungrouped/free-stacking ones), orders groups byBuffs.EXCL_ORDERwith any unlisted token sorting after alphabetically (so a new IDB token needs no code change) and items within a group by name;Buffs:ConsumableExclusionGroups()pulls them live fromGetConsumableBuffs(nil); andBuffs.ExclLabelmaps each token to a localizedbuff_grp_*header with a prettify fallback. Real tokens confirmed against IDB's shippedConsumableGroups.lua(78 items: flask / agility-elixir / strength-buff / attack-power-buff / armor-elixir / spell-power-buff / zanza-buff / food / potions / …). +5 unit tests (376 total). The single-select GUI frames (folding a selected consumable's stats into EP) are the next, in-game step; the hand-curated "from recollection" flask/elixir/food catalog is superseded for consumables once they land.New: mob tooltips list the dibs you've called on their drops. Mouse over any NPC and, if an item you've soft-reserved or wishlisted drops off it,
Modules/BossTooltip.luaappends "Reserved:" / "Wishlisted:" lines (the matching item links) to the unit tooltip — the passive, always-on companion to the boss-engage announce (local only, no chat, so no toggle). It reuses the shared, unit-tested matcher: the new pureDibsAnnounce.MatchingBySource(reservedIDs, wishlistIDs, encounterID, bossName, sourcesFn)splits a boss's matched dibs into reserved vs wishlisted (an id that's both is listed once, as reserved), matching by boss name since a tooltip carries no encounterID. The tooltip hook is feature-detected for multi-version safety — Classic Era 1.15's data-drivenTooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Unit)when the client exposes it, else the legacyOnTooltipSetUnitscript — and players are skipped (UnitIsPlayer) since they aren't loot sources. +3 unit tests (371 total). (The related "flag a reserve that isn't an upgrade for the reserver" request stays parked: it needs the reserver's equipped gear, and Dibs syncs no peer loadouts — the SR view's EP± reads only the local player's inventory, so an honest cross-player upgrade check has no data until a loadout sync exists.)Attendance now tracks per-raid (data model; redesigned UI next). Raid presence used to collapse every raid into a single global total ("2 raids tracked"); it now records per-raid buckets (
DibsDB.raidAttendance.raids[raidKey], keyed by the raid instance's name, detected fromGetInstanceInfoon commit), so per-raid attendance columns become possible. Old saves migrate automatically (the flat count folds into one legacy bucket). The read APIs took an optionalraidKey—Total/Attended/Percent/Allreturn one raid's numbers or the all-raids aggregate — so the existing Attendance tab keeps rendering the aggregate unchanged while the redesign lands. Added pure, linkage-agnostic aggregation helpers for the coming per-character sub-tabs + account-aggregate main tab:RaidAttendance.AggregateRaids,RaidAttendance.SumChars, andAttendance.Aggregate(sum a player's lost rolls across their alts — Lost is tracked per-toon and aggregated, same as attendance, per the design). +7 unit tests (326 total). The new per-raid-column / per-alt-tab UI, and how Lost feeds loot priority, are still to come.Bug fix: test/hidden items (Alex's Ring 12947, Ashbringer, Shard of the Defiler…) no longer leak into the planner or Loots. LibItemDB flags these
hidden, and its ranking APIs (Search/GetSlotRanking/GetRaidBiS) already drop them — butGetItemScore/GetStats/GetInstanceItemsstay fully queryable on a hidden id by design, so any Dibs path that builds a candidate list by iterating items (the planner's per-slot list, the instance fallback, the Loots browser) bypassed the flag and could rank a fake ilvl-60 ring #1. Added anItems:IsHiddenfacade overDB:IsHidden(false when the lib's absent, so it never over-filters) and gated every Dibs-side iterating sweep on it — the planner's three candidate paths (BiS ranking, ammo/quiver search, instance fallback) and the Loots row builder. Nothing changes in LibItemDB; the flag was already correct.Bug fix (reported by a user): an alt no longer opens to another character's loadout. The active-loadout pointer was a single account-wide field (
DibsDB.activeLoadout): whichever loadout you last selected became active for every toon, so logging into an alt showed the main's profile, gear and — because the loadout list is filtered to the active owner — only the main under the loadout picker. It survived/reloadbecause the pointer is saved. Fixed by making the active pointer per-character (DibsDB.activeByChar, keyed by "Name-Realm"): each toon now defaults to its own equipped gear, while the character dropdown still lets you view/build any toon's loadout on purpose. Saves upgrade automatically — the old single pointer is folded into the owner of the loadout it named, so that toon keeps its selection and every other toon starts fresh (Loadout.MigrateActivePointers, pure + 3 regression tests). Rename/Delete now update the pointer for every toon that had that loadout active, not just the current one.Buffs now pull verified stats + icons from LibItemDB. Each raid/world buff carries its spell name, and the picker resolves that buff's stats from the lib's
GetAuraBuffs(max rank) instead of the hardcoded "verify-me" magnitudes, plus an aura icon shown inline on the row (from the spell's texture). The lib's percent vocabulary (PCT_STRENGTH = 10) is normalized into the buff model's fractional convention through the sharedPCT_map, so IDB-sourced and fallback buffs aggregate identically (Buffs.IDBStatsToBlock,ResolveStats,ResolvedCatalog). When the lib or a name match is absent it falls back to the hardcoded values, so nothing breaks. +4 unit tests (332 total).Consumable icons too. Flask / elixir / food rows now show the item's icon (
GetItemIcon): each consumable carries its itemID, sourced from LibItemDB's ownData/Vanilla/enUS/Names.lua(a validated table — not invented).Buffs:Iconprefers the item icon for consumables and the aura spell icon for buffs. Still to come: a rank selector for player-cast buffs (the lib already serves the rank list viaBuffs:Ranks), and pulling consumable stats from the lib by itemID (GetEffects) to retire their hardcoded fallback magnitudes.Right-click the minimap button for Settings. The Dibs minimap icon now opens the Settings window on right-click (left-click still opens the main window) — the same Settings the gear icon opens — with the tooltip spelling out both. Another always-reachable path to Settings.
Settings are always reachable, even on an outdated widget library. A tester on an old LibAceGUIWidgets couldn't see the settings gear — the gear is a library feature (MINOR 13+), and Dibs' guard (
if f.SetSettingsButton) silently skipped it when the installed library predated it, leaving officers with no way into Settings. Added/dibs settings(alsoconfig/options) as a version-proof path that opens the Settings window directly, and a one-time chat warning ("your LibAceGUIWidgets is out of date — update it, or use /dibs settings") when the gear method is absent, so the cause is obvious instead of a mystery missing icon.Smarter Soft Reserve list — mains vs alts, pruned to who's here. The Reserves view no longer shows one undifferentiated wall: each reserve is tagged [Main] or [Alt] by whether the reserver reserved on their account main toon, mains sort to the top, and a new Main/Alt dropdown filters to mains, alts, or both. During a raid the list prunes to reservers actually in the group (
SoftRes.PruneToPresent/PresentSet); solo it shows everyone. Reserves are already stored per character (keyed by "Name-Realm"), so farming the same dungeon on several alts keeps a separate SR set per toon. You designate your main with/dibs mainon that character (one main per account — the rest are alts; a proper checkbox in the declaration window comes next), stamped onto each reserve and synced so peers' reserves tag correctly too (ns.Charactersmain designation +SoftRes.AddReservemainToon flag throughSoftResSync).SR+ — bad-luck protection for reserved loot (core built; ML wiring next). A new officer-toggled system (Enable SR+ + SR+ per non-win in Settings;
srPlus/srPlusStep, synced): a raider who attends a raid but doesn't win one of their own soft-reserved items (a "non-win") earns +step SR+ points (configurable, default 1); those points are added to their roll the next time one of their SR items is contested, so unlucky reservers climb priority — a 56 with +10 counts as 66 and beats a 62. Winning that SR item resets them to 0; winning a non-reserved item (rolled out openly) does not — the plus is strictly about SR loot. Built asns.SRBonus(per-character store + pureEffectiveRoll/ApplyBonus), wired intoLootSession.Resolvevia abonusmap applied only to reserved items (off-reserve rolls stay raw). Officer Settings gained Soft-reserve plus + SR plus per raid controls. +14 unit tests (352 total). This is what the attendance "Lost" column becomes. Still to wire in-game: the raid-commit increment (attendees with no SR win that raid gain a point) and the roll flow that applies it live.Master-loot rolls now pop a prompt for addon users. When the ML clicks Roll, Dibs broadcasts the roll to the group (
ns.LootRollSyncover the officer push channel), and every addon user gets the same roll window they'd see under group loot — the item, a soft-reserve/open context flag, and MS / OS buttons that/rollthe announced range (RandomRoll), which the ML tallies viaCHAT_MSG_SYSTEMlike any other roll. A gated (soft-reserved) roll only prompts its reservers; an open roll prompts everyone. Non-addon raiders are unaffected — they still/rollfrom the chat announce. This is the piece that makes master loot "feel like the docs": ML clicks Roll → everyone's client pops a prompt. In-game; needs a live pass.The roll window now owns its buttons by default. The per-player frame mode defaults to Replace (was Augment): when an item drops, Dibs hides Blizzard's group-loot frame and shows its own window with the Need/Greed (or MS/OS) buttons wired to the roll — the "it is the Need/Greed window, with dib context" experience from the design. This fixes the tester report of "a countdown bar but no buttons," which was the augment companion (buttons lived on Blizzard's frame). Augment is still there as the opt-out for anyone who wants their familiar frame untouched. Roll/winner names are also normalized to "Name-Realm" so a same-realm
/rollmatches its reserver key (a gated SR roll would otherwise be rejected) and the SR+ reset/increment line up.Masterlooter roll now routes SR vs open, applies SR+, and logs the award. When the ML clicks Roll, the session is opened through the per-item router (
SoftRes.RollStrategy): a soft-reserved drop gates to its reservers with their SR+ applied; a non-reserved drop rolls open to everyone with the main/alt tiers (off-reserve loot still rolls out). On a winner the award is written to the loot log (with thewasSRflag), and if it was an SR item the winner's SR+ resets to 0 (an open-loot win doesn't). Falls back to the plain open roll when there's no SR data. Wired inGUI/Masterlooter.lua; the pure router / SR+ / log underneath are unit-tested. Still to come: the client-side prompt broadcast so addon users get a popped roll window on master-loot rolls (today they/rollfrom the chat announcement, which the ML already captures viaCHAT_MSG_SYSTEM), and the Loot Log tab.Loot Log tab (
ns.LootLog,DibsDB.lootlog): a new main tab showing the raid's award history — item, winner, roll, an SR / Open badge, raid, and when — sortable, with item tooltips. Recorded automatically by the masterlooter flow on every win, and it answers "did this character win their SR item this raid?" (which the SR+ increment reads). Hover a winning roll's badge to see whether it was a soft-reserve.Designate your account main in the declaration window. The "My Main / Alt" window gained a "This is my main character" checkbox (one main per account — the rest are alts; distinct from the main/alt spec that sets your /100 vs /1000 roll), with a tooltip explaining the difference. It drives the Soft Reserve list's [Main]/[Alt] tags and filter. (
/dibs mainstill works as a shortcut.)Roll engine handles off-reserve loot + non-addon raiders. Confirmed the design covers the two cases the roller must: an item not on the SR list rolls open to everyone with the main/alt tiers intact (the engine's
gated-vs-open eligibility already supports it — it just needs the per-item base/SR router), and a raider without the addon who types/roll 100//roll 1000is captured throughCHAT_MSG_SYSTEM(the ML already parses those) and gated by the session's range/eligibility rules like anyone else.The wishlist coin shows its state and toggles. The gold coin on planner + Loots rows is now greyed when the item isn't on your wishlist and gold when it is — a state cue you can read at a glance — and clicking it toggles (adds if absent, removes if present) instead of only adding. A playtest request for discoverability. (Built on a new LibAceGUIWidgets MINOR 19 feature: a RowList action
texturemay be afunction(entry)returning(texture, desaturated), so an icon can reflect per-row state.)Weights tab hidden behind an Advanced toggle. The EP-weight editor was intimidating to casual raiders who just want the built-in weights. A new per-player "Show advanced planner tabs (Weights)" setting (off by default) reveals the Weights sub-tab; without it, the planner shows Build / Breakdown / Buffs / Talents / Wishlist only. A playtest request. (
Settings showAdvanced; reopen the planner to apply.)Playtest fixes (Wailing Caverns guild run). Three issues from live testing:
- Wishlist now auto-refreshes. Adding an item from the planner's coin (or the Loots browser) while the
Wishlist sub-tab was already open didn't show up until you re-picked your character. The Wishlist view now
exposes
Refresh, the coin actions call it, and switching back to the Wishlist tab refreshes it. - Optional white items in the planner. The gear lists gated at uncommon (green) and up, hiding white
BoEs that are sometimes a slot's best piece in a low dungeon (a tank's turtle shield / shoulders in WC). A
new per-player "Show white items in the planner" setting (off by default; grey vendor trash still never
shown) lowers the gate to white when enabled (
Settings showWhites). - Source list no longer depends on the selected slot. It was built only from the current slot's drops, so Wailing Caverns vanished from the list whenever you had Head selected (no head drops there). Raids, dungeons and world bosses now list from all instances regardless of slot (BG / PvP-rank sources, being per-item categories, still come from the current slot).
- Wishlist now auto-refreshes. Adding an item from the planner's coin (or the Loots browser) while the
Wishlist sub-tab was already open didn't show up until you re-picked your character. The Wishlist view now
exposes
Source filter sorted by level, range shown first. The Planner's Source dropdown now lists dungeons and raids in level order (numeric, by recommended minimum level) instead of alphabetically — so they read in the order you'd run them, and raids roughly in release order — with the level range moved to the front of each row as its own grey column (
15-25 Wailing Caverns). A playtest request. Unknown-range places sort last (Items:InstanceLevelRangedrives the ordering).Talents tab restyled to look like the in-game tree. The three trees now use the game's own scenic talent backgrounds (the 4-quadrant
Interface\TalentFrameart, resolved fromGetTalentTabInfowith a dark-panel fallback), bigger icons with more spacing (so the tab isn't mostly dead whitespace), a header bar per tree, and prerequisite arrows — a connector from each prereq to its dependent that turns gold once the prereq is satisfied, grey until then (CreateLine, recoloured live as you spend points). Layout is offline-unverifiable — needs an in-game pass.Talent EP now folds the RIGHT talent's effect (index-correlation fix). LibItemDB's contract clarified that the Classic
GetTalentInfoindex order isn't guaranteed to match its own (tier,column) indexing — so seeding the plan by live indices and then callingDB:GetTalentEffect(…, index, …)could fold the wrong talent's crit/AP into your EP. Dibs now builds the tree fromGetTalentTreefor the current toon too and overlays your live ranks by (tier, column), so the plan is keyed by the lib's indices throughout (Talents:BuildFor/overlayLiveRanks). A bonus: talents now carry theirspellID, so the hover tooltip shows the real spell description via the spellID — which also means alt talent trees finally get full tooltips (the oldSetTalentonly worked for the logged-in character). Falls back to the live tree when the lib has no talent data.The Talents tab now follows the picked toon too. When the Build-tab Character picker is on an alt, the Talents sub-tab builds that class's trees from LibItemDB's
GetTalentTree(classID)(any class) with a fresh plan and real talent icons (from each talent's spellID), instead of only your live tree — so you can spec an alt you're not logged into. It reads the planned class off the scoring-context override (Talents:BuildFor/planClassID), and the grid fully rebuilds when you switch class (a different class has entirely different trees — a recolor can't express that;DrawTalentsnow tears down and redraws). Your own toon still seeds from the live talent API. Talent EP folding + share codes follow the planned class automatically (+2 unit tests, 328 total). Not yet verified in-game.Plan for any of your toons — a Character + Spec picker on the Build tab. Two new dropdowns on the loadout bar (
W:CreateDropdownBox): Character lists every toon you've logged into (from the roster above) and Spec lists that class's weight templates. Pick a toon and the whole planner re-scores, re-filters and shows that character's loadout — every sub-tab (Build, Breakdown, Buffs, Talents) follows, via the scoring + eligibility context seams — whichever toon you're actually on. Picking a spec scores you as that spec (overriding talent detection). The loadout dropdown filters to the selected toon's templates, and a toon with no saved loadout opens an empty paperdoll to build into (never seeded from your live gear —Loadout:EnsureCharDefault). The context is transient: it reverts to the live you when you leave the Planner tab (so Loots and tooltips keep scoring for you) and re-applies when you come back, and it never persists an alt's loadout into your own saved active pointer (PlannerUI:ApplyPlanContext/SuspendPlanContext, restoring your loadout on hide). Implemented; not yet verified in-game — the underlying seams and roster carry 8 unit tests, but the dropdowns themselves need a live pass. Alt talents still read the live tree until theGetTalentTree(classID)wiring lands next.Groundwork for planning as any of your toons (backend). Two pieces landed so the planner can build for a character you're not logged into: (1) a per-account character roster (
Modules/Characters.lua,ns.Characters) that snapshots each toon's name/realm/class/classID, localized class & race names (for the item "Classes:"/"Races:" tooltip scan), faction, spec and level intoDibsDB.chars[charKey]on login / respec — merged so a partial read never wipes good data (Characters.Merge, tested).charKeyis the same "Name-Realm" keyns.Loadouttags loadout owners with (Loadout'splayerKeynow delegates toCharacters:Key()), so profiles and loadouts line up. (2) An eligibility profile-context override (Items:SetProfileContext/ProfileForChar) — the twin of the existing scoring-context override — so every gear-eligibility path that defaults toPlayerProfile()(gear list, Loots, wishlist) filters for the selected toon without threading a profile through every call site. Both override seams clear back to the live player when unset (+8 unit tests).Your talents now count toward EP. The planned talent build's stat effects — crit, attack power, spell power, weapon skill,
PCT_-scaled primaries, etc., sourced from ItemDB'sGetTalentEffect— are now scored under your weights and folded into Total EP, and the Build summary shows a Talents EP line beside Gear / Buffs (Loadout:TalentEP, wired throughLoadout:TotalEP). This is not a double-count: gear EP is scored per-item from item stats, never from the live character sheet, so talent stats are an independent additive source (exactly like buffs). Re-spending a point in the Talents tab moves the number live. Weapon-conditional talents (e.g. an axe-only crit talent) only apply when your main-hand matches, via the sameAggregateTalentEffectspath that already drove the glancing-blow weapon-skill guide.Shared
PCT_decoder (Items.StatBlockDelta,Items.PCT_MAP). ItemDB's talent and buff data share a percent vocabulary —PCT_STRENGTH = 10means +10 % of strength, multiplicative on top of the summed flat stats, not a flat +10. One decoder now resolves a{ flat, pct }block into the flat stat delta it contributes (eachPCT_key applied against base + this block's own flat of the mapped stat; unmapped percents likePCT_DAMAGEskipped). Used by talent EP today and the buff-aura refactor next (5 new unit tests; suite 308 passed, 0 failed).Packaging fix: releases no longer ship an empty zip. A trailing
# commenton a.pkgmetalist item broke the BigWigs packager silently —release.sh'syaml_listitem()trims only a leading-, whitespace, and one leading/trailing quote, not comments. On a quoted entry (e.g."*.ps1" # …) the closing quote then survives mid-string, and that stray"breaks theevalincopy_directory_tree: the destination arg lands empty and the packager uploads a 108-byte archive while still exiting 0. v0.1.6 and v0.1.7 shipped empty because of it. Fixed by moving every comment onto its own line in.pkgmeta(a write-time hook now blocks the trailing form), and both prior releases were re-packaged and re-tagged. Separately, the CI test workflow was removed (.github/workflows/tests.ymldeleted) andCLAUDE.mdcorrected — per the global one-developer rule the suite is run locally (lua Tests\wowapi\run.lua), never on CI. Two leftovers in that sameCLAUDE.mdbullet were fixed with it (it still said "orbustedif installed" and told you to "rely on CI"), it now requires the whole suite to be run with its real output pasted — never a pass count carried forward from another session — and the.bustedheader comment, which still read "Runbustedfrom the Dibs root", now marks the file vestigial and points atlua Tests\wowapi\run.lua. That comment is what sent a sibling addon's session chasing a busted install. Suite verified after the change: 295 passed, 0 failed.An interactive talent planner — a new Talents sub-tab. Works like the gear tab, but for talents: it seeds from your character's actual talents (the live talent API), renders the three trees as clickable icon grids, and lets you spend / remove points to play with a build — left-click adds, right-click removes — with Classic's rules enforced: tier gating ((tier−1)×5 points below it), prerequisites (a chained talent needs its parent maxed), max rank, and the 51-point cap (
Modules/Talents.lua, all rules pure + 14 unit tests). The planned build's dominant tree drives the spec the planner scores you under (routed through the Weights active-spec seam, so ranking / EP / totals follow the build you're playing with). Reset to current re-seeds from your real talents, and a respec re-seeds automatically (like gear re-seeding on an equip change). Current toon only — the live API can't read an alt's talents. Locked talents grey out; hovering shows the game's talent tooltip.Score a raid-buffed character, not a naked one. A new Buffs sub-tab on the Planner (beside Build / Breakdown) lets you toggle the raid buffs, world buffs, flask, elixirs and food you'll be raiding with; each row shows the EP it adds for your class + weights (best-first), and their stats fold into the loadout's stat totals and Total EP (
Modules/Buffs.lua,ns.Buffs). The Build summary now splits its EP into Gear EP / Buffs EP / Total EP whenever buffs are active, so the gear number you compare while swapping pieces doesn't move when you toggle a raid buff (Loadout:GearEP/BuffEP/TotalEP), and the Breakdown datasheet gains a "Buffs & consumables" bucket that expands to each active buff's EP (its header is the exactBuffEP, so the "EP by stat" column reconciles with Total EP). The picker groups buffs by category with WoW's stacking rules: raid & world buffs stack (multi-toggle, the menu stays open), while flask / battle elixir / guardian elixir / food are one-at-a-time, and an active flask suppresses both elixirs (a flask counts as both) — enforced inBuffs.Aggregate. Buffs are modelled as flat stat grants plus pct multipliers (Blessing of Kings = +10% primaries, applied to the pre-buff base viaBuffs.Delta), and folded intoLoadout:Stats/Loadout:TotalEPoff a new pre-buffLoadout:BaseStats(kept separate so the buff delta is scored once, never twice). Selection is account-wide. 13 new tests.- Data caveat: the buff stat magnitudes in the catalog are Classic Era values from recollection and are marked for verification against a reference (WoWSims / Wowhead) before this ships — same "tunable Vanilla values" footing as the derived-stat ratios. Correcting one is a single-table edit.
- Known v1 limits: buffs that grant Attack Power / crit (Battle Shout, Rallying Cry) fold into EP but not the summary's live-derived AP/crit lines (those still read the game's current values); and for the current toon the live primaries already include whatever you're buffed with in-game, so a pct buff is truest when you plan unbuffed in town.
[v0.1.7] — Main/Alt declarations, the /100-vs-/1000 roll tier & a Loots browser
The headline: every player declares a Main and an Alt setup (spec + weapon + caster school), and soft-reserves now tier off it — your Main rolls /100, your Alt /1000, so mains beat alts on their gear. Plus a new Loots browser (an AtlasLoot-style loot table with your EP on every drop), a compare window, ammo-type matching, profession- & school-aware reserves, an officer request queue, PvP & World-Boss source categories, and a big auto-suggest / weapon-skill EP correction pass.
Added
Recipes auto-reserve to the profession, not a class. The soft-reserve restriction now has a profession axis: a Pattern / Plans / Schematic / Formula / Recipe is auto-suggested to the trade that learns it (
Items:RecipeProfessionmaps the recipe item's subclass → Engineering / Blacksmithing / …), and a player may reserve it only if they hold that profession (SoftRes.Allowsgains aprofessionsarg;CanReservetakes the reserver's professions). Each client reads its own professions by skill-line ID (locale-independent — the TOGProfessionMaster approach,Modules/Professions.luans.Professions:Mine()), which is all the local reserve action needs. The Restriction column / hover show the profession, with the green "✓ for you" when it's one of yours. 3 new tests.A proper import/export text window (
GUI/TextPopup.lua,ns.TextPopup:Export/:Import) — a movableClearFramewith a multi-line scrolling edit box so a long softres.it / setup string is fully readable, plus a Select-All button (export strings arrive pre-selected — WoW has no clipboard API, so you copy with Ctrl+C). Replaces the single-line static popups that only showed a sliver of the string (why the setup export "looked empty"). Import gives an editable box + an Import button.Main / Alt soft-reserve declaration + the /100-vs-/1000 roll tier. Each player declares, by hand, a role (Tank / Healer / DPS) and a Main and Alt bundle — a spec, a weapon preference (
two_hand/one_hand, orswords/daggersfor rogues), and, for casters, a damage school — that says what they roll on (Modules/Declaration.lua,GUI/Declaration.lua, opened from the SR tab's "My Main / Alt" button). A restriction now composes up to three AND-axes — class/spec/profession +weapon+school(e.g. "Melee DPS + 2H", a "+shadow" caster gate) — and a player's bundle satisfies it only if it clears every axis (SoftRes.BundleAllows).SoftRes.RollTierpicks the range: your Main bundle satisfies → /100, else your Alt → /1000, so mains always beat alts on their gear (RollTierRangesfeeds the existingModules/Rolls.luaengine, main outranking alt regardless of the number). Soft-reserving is gated on a complete declaration; saving locks it — greyed for everyone; a non-officer files a Request unlock and a guild officer clicks Unlock. Declarations are stored account-wide per character ("Name-Realm", TOGPM-style, so you can pre-declare for alts) and sync to the group over two new P2P types (Modules/SoftResSync.lua):sr_declare(member-owned, one leaf per character) andsr_request(the unlock queue — officer-authored approvals, prefer-newer; the requester's client applies the unlock when the approval arrives, once, guarded by the prefer-newer merge). The "My Main / Alt" button pulses until you've declared. Restriction editor gains Weapon and Damage school sub-menus; the Restriction column shows the tags and greens up "✓ for you" from your declared bundle. No EP-weight changes anywhere — "a tank is a tank". ~40 new tests.Officer Requests queue (
Modules/Requests.lua,GUI/Requests.lua) — a general "ask an officer to approve something" queue, first used for Main/Alt unlock requests. Officers open Setup → "Review requests (N)" to Approve (runs the request's effect — ansr_unlockflips that player's declaration lock off) or Deny. Type-dispatched so future request kinds render here too. 9 new tests.A Loots browser (AtlasLoot-style loot tables). A new Loots main tab (
GUI/Loots.lua) that walks LibItemDB's uniform loot API (GetLootModules/GetLootCategories/GetLootSections) the same way for every module: pick a source (Dungeons & Raids / Factions / PvP / Collections) + a subcategory and see its loot, grouped into sections (bosses in kill order, per-set for collections, …), with each item's icon, slot, item level, and — a touch AtlasLoot lacks — your EP for it. Hover for the full tooltip, Shift-click to link it, one-click add to wishlist, a live search, and an A/H faction filter (defaults to yours, neutral items always show; vialib.itemFaction). Crafting lives in ProfessionDB; faction rep-tier / PvP-rank section grouping is a later ItemDB data add.School-aware EP scoring (Dibs side). Dibs now passes each scored spec's damage schools (
Items.SpecSchools— fire/frost/arcane mage, shadow priest, balance = nature+arcane, ele = fire+frost+nature, destro = fire / affliction = shadow, ret/holy pally = holy) intoGetItemScore/GetItemScoreBreakdown/GetEPasopts.schools. A school-aware LibItemDB uses it to gate the item's school-specific spell-damage EP — a +fire piece only earns spell-damage EP for a fire-schooled spec — keeping every other stat and never gating +healing. Harmless to an older lib (no gating until it readsopts.schools). 2 new tests.Auto-suggest tags a drop's spell school from the item. A "+Nature" / "+Shadow" / etc. piece is read straight off the item — LibItemDB's shipped
GetItemSchoolsdata (188 tagged Vanilla items) with a liveGetItemStatsfallback for untagged SoD items (Items.SchoolsFromStats/Items:ItemSchools) — and itsschoolrestriction axis is filled in. This is the piece EP can't do: the stock scale folds every school into one generic spell-damage number, so the school axis is what routes a +nature drop to nature specs. 4 new tests.Alt-click an item to compare it with what you're wearing. A new movable compare window (
GUI/CompareWindow.lua,ns.Compare:Show) — built on the sharedClearFramewidget (so dragging / close are handled by the library) — pops two item tooltips side by side, the clicked item vs your equipped piece in that slot (the lower-EP one for a two-slot ring/trinket/1H, the piece you'd actually replace), from the Planner gear list or a paperdoll slot (planned-vs-worn). A summary strip at the bottom shows the net EP change and its components — stats, on-use, procs, weapon skill, and the set-bonus swing of swapping one set piece for another (SetEPTotalover your equipped set counts, so losing a set piece counts against the upgrade). The info "i" tooltip spells out the shift-click / Alt-click actions.
Fixed
- Loots Type column now reads LibItemDB's
GetItemType— no moretype_offhand/ blanks. Dibs was deriving the Type column itself from a mix of equip-slot codes and its owntype_*locale keys, andtype_offhandwas never defined, so held off-hands (tomes / orbs) literally showed the stringtype_offhand, while rings / necks / trinkets showed blank. The column now usesDB:GetItemType(id)(LibItemDB MINOR 9,Items:GetItemTypefacade) — a clean, always-filled type: the weapon subtype (Sword / Axe / Staff / Dagger / …, the "show the weapon type" ask), the slot for jewelry & held items (Ring / Neck / Trinket / Cloak / Off-Hand / Shield), or the localized subclass name for everything else (Cloth / Plate / Arrow / Quiver / …). The Type filter is now built from the types actually present in the current module + category (plus "My class" / "All types") and resets when you change category. Retired the ninetype_*locale keys. - Loots Slot column: consistent One-Hand / Two-Hand / Off-Hand. The Slot column rendered WoW's own
equip-slot globals verbatim, which are inconsistent — weapons read "One-Hand" / "Two-Hand" but a held
off-hand read "Held In Off-hand" (
INVTYPE_HOLDABLE) and a shield read "Off Hand" (INVTYPE_SHIELD). A smallSLOT_LABELmap now normalises every hand slot (INVTYPE_WEAPON/WEAPONMAINHAND→ One-Hand,2HWEAPON→ Two-Hand,HOLDABLE/SHIELD/WEAPONOFFHAND→ Off-Hand); all other slots keep WoW's already-clean global (Finger / Neck / Back / Waist / …). Three newslot_*locale keys. - Loots EP / iLvl columns now sort numerically — the fix lives in the widget, not here. The RowList's
header-click sort compared cells lexically unless they were already numbers, so EP stored as a display
string sorted
"3"after"12"and the column was "all over the place."LibAceGUIWidgetsRowList (MINOR 18) now sorts by value whenever both cells parse as numbers — so no consumer can reintroduce this. Dibs also stores EP / iLvl as raw numbers (nil, not"", when absent, so blanks sort last; EP rounded to an int so34.7reads35). - The Planner shows a same-name item's whole tier set — but only the class's archetype of it. The Build
gear list ranked each slot through
GetSlotRanking, which folds every same-name ID to the single best-scoring one — so all 15 "Signet Ring of the Bronze Dragonflight" IDs collapsed to one row (the Exalted BiS). But those 15 are three archetype sets (a physical / hit, a tank / defense and a caster / spell variant) × five rep tiers, and a lower tier you can get now may beat what you wear. The planner now keeps duplicates, tags each with its archetype role (Items:ItemRole=EnchantRoleof the item's stats), then collapses each name group to just the set the best-scoring variant belongs to (Items.CollapseNameVariantsByRole): a hunter sees all five hit-ring tiers, not the defense or spell variants; the off-archetype sets that merely share the name are dropped. Distinct-name items are untouched. The Loots browser still shows every variant. 3 new tests. - Weights now update after a respec.
Items:PlayerClassSpec()cached the class/spec at login and never re-read talents, so a warrior who respecced Fury → Protection kept being scored as DPS — the EP/weights never changed. Dibs now invalidates the cached spec on a talent change (CHARACTER_POINTS_CHANGED— a respec in Classic Era, which has no dual-spec) and, after a short debounce, refreshes the Planner / Loots / Soft-Reserve EP surfaces, so the weights flip to the new spec immediately (Items:InvalidateSpec). - Weapon-skill EP now scores both fronts (melee + ranged).
attackOptssupplies LibItemDB (MINOR 8) BOTH a meleeweaponTypeand the equippedrangedTypeinstead of overriding one with the other; the hunter-only override and the class gate are gone (the lib zeroes the front a class can't use). So a hunter's ranged weapon-skill on a melee stat-stick is finally valued, and the EP breakdown renders each row's math from itsfactorsarray — both weapon-skill rows included (+4 skill (hit%) 0.80 x 9.379 = 7.5). - A caster drop no longer auto-suggests to a tank on its incidental stamina. Protection paladins weight
stamina at
1.0and every caster at~0.1, so a caster piece that carries stamina could out-score — even top — the real casters and land on the tank. The auto-suggest now anchors the "who wants this" bar to the specs the item is actually FOR (its gear camp — magic = casters/healers, physical = melee/ranged/tanks,Items.ItemCamps/SoftRes.SpecCamp): a spell-power piece is judged against the top caster, DPS/Healer specs come first, and a tank is kept only if its EP still clears that bar. Suggest-only; no EP-weight change. 7 new tests. - Can't pick the wrong ammo type for your ranged weapon. The Planner's Ammo list is now filtered to the
ammo the loadout's ranged weapon actually uses — bows & crossbows → arrows, guns → bullets
(
Items:RequiredAmmoSubclassmaps the weapon subclass to the Projectile subclass; the browse passes it asItems:Search{ subClassID = … }). No filter when there's no bow/gun/crossbow, or for quivers.
Changed
- Planner source filter gains PvP & World Bosses as their own categories. The tiered source menu was
Raids / Dungeons / World & other, so battleground gear and the world bosses were buried in the "other"
bucket — and world-boss items were actually mis-bucketed under Dungeons (the
WorldBossesgroup has an instance key but isn't a raid, so it fell through to the dungeon branch).Items.SourceCategorynow returns aworldbosscategory for theWorldBosseskey (Azuregos / Kazzak / the four green dragons) and apvpcategory for battleground / PVP-barracks place labels (Alterac Valley / Warsong Gulch / Arathi Basin / the two faction barracks — the complete, frozen Classic BG set; keyed off the place name because the source graph carries no reliable "pvp" kind flag). The decision is a pure, unit-tested helper (Items.SourceCategoryFor); the menu now reads Raids / Dungeons / PvP & Battlegrounds / World Bosses / World & other. 3 new tests. - Soft Reserve top strip tidied. The Setup control is now a dropdown box (it opens a menu, so it
reads as one) instead of a plain button; all string interop moved into a single Import / Export dropdown
(
W:CreateDropdownBox) and the standalone Import/Export buttons are gone; "Push to raid" → "Sync" (it syncs to every Dibs client on party/raid/guild, not "a raid"); and the Items ⇄ Reserves view toggle was removed — the "Current soft-reserves" summary panel at the top is the per-player overview, so the list always shows Items. The strip also gains the pulsing "My Main / Alt" button (all members) and, for officers, Setup → "Review requests (N)". - Tab reorg: Wishlist + Weights moved under the Planner; a new Loots main tab. The Wishlist and Weights are planning surfaces, so they're now sub-tabs inside the Planner (beside Build / Breakdown) rather than top-level tabs. The main tab strip is now Planner / Loots / Attendance / Soft Reserve. A stale saved main-tab preference (wishlist/weights) falls back to Planner.
- The status bar shows the real ADDON version, not a hardcoded "dev". It resolves the addon's version
through the shared widget library (
LibAceGUIWidgets:ResolveVersion— the TOCVersionwith theDibs-v…git-tag prefix stripped, exactly like FastGuildInvite):Dibs-v0.3.1in a dev checkout, the packager-injected version for players — the addon version, not the game client version. The VersionCheck-1.0 wiring also moved into the widget library (EnableVersionCheck), so every suite addon shares one code path;Modules/Version.luadelegates to it.
Older versions (v0.1.6 and earlier) have moved to CHANGELOG_ARCHIVE.md.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include