promotional bannermobile promotional banner

TacoTip | GearScore & iLvL

TacoTip is a character, item and guild tooltip enhancement that runs on every World of Warcraft engine family from one build — no per-client downloads, no "which version do I install" question. With many QoL updates that the prior was lacking.
Back to Files

TacoTip v1.1.1

File nameTacoTip.zip
Uploader
AcidBombAcidBomb
Uploaded
Nov 27, 2026
Downloads
13.3K
Size
5.9 MB
Flavors
Classic TBCClassicTitan Reforged ClassicRetailForever
File ID
9847068
Type
R
Release
Supported game versions
  • 12.1.5
  • 3.80.2
  • 2.5.6
  • 1.60.1
  • 1.15.9

What's new

[1.1.1] — 2026-11-27

Code

  • Zone: row is a unit-frame feature on every client family (main.lua, isZoneRowEligibleUnit, getUnitZoneName, collectActiveUnitSection). The row was gated on isForever and isForeverWatchedFrameUnit(ownerUnit), so it could only ever appear on WoW Forever. C_Map.GetBestMapForUnit is present on all five origin branches with the same documented contract — "Only works for the player and party members." — at MapDocumentation.lua:49-60 on origin/forever/origin/live and :25-32 on origin/classic_era/origin/classic_anniversary/origin/classic_titan, so the restriction was a choice, not a client limit. Operator direction (2026-11-26): "it should be there for unitframes. it should only not work for combat/encounters." The helper is renamed isZoneRowEligibleUnit (the old name claimed a family scope it no longer has) and the isForever conjunct is gone, leaving the owner-frame unit token as the gate. Family scope is unchanged — player, target, partyN, raidN; nameplates, focus, pets and target-of-target stay excluded. Suppression is unchanged and remains the only one: TT:ShouldHideInCombat() skips the whole unit block, and isUnitZoneRowRestricted() skips the map read while the client's own C_RestrictedActions reports AddOnRestrictionType.Combat or .Encounter active (falling back to InCombatLockdown where the restriction API does not exist). A unit the client cannot place still produces no row — never a guessed zone. The /tt diag zone row diagnostic now reports on every family and labels the membership test eligible=.

  • /tt diag zone row diagnostic widened (main.lua, collectActiveUnitSection). The row was isForever-only, so a missing Zone row on any other family had no diagnostic to attribute it. It now collects on every client and prints owner unit, eligible and the resolved zone, marked ok only when an eligible unit produced a zone.

  • Diagnostics Phase 1 — the report now answers "what is this client, what is installed, how is it configured, is my data intact" (diagnostics.lua). Five new sections, all pure reads:

    • session — a per-load session id, uptime, character-realm (secret-tested), client build/version/toc, client locale, and the report-format version; the identity is kept in TT.diagIdentity so exports can redact it.
    • capabilities — 24 client APIs probed by dotted path (C_Map.GetBestMapForUnit/GetMapInfo, TooltipDataProcessor.AddTooltipPostCall, Enum.TooltipDataType.Unit, C_RestrictedActions.IsAddOnRestrictionActive, Enum.AddOnRestrictionType.Chat, C_Secrets.CanCompareUnitTokens, C_Traits.*, C_SpecializationInfo.*, C_Item.*, C_AddOns.*, C_ChatInfo.SendAddonMessage, GameTooltip.FadeOut, GetMouseFoci, GetItemStats, canaccesstable, issecretvalue, canaccessvalue, debugprofilestop), reported as present/absent (of N) plus the sorted absent list. This is the first question on a five-client bug and it had no answer in the report.
    • integrations — Pawn (API table vs merely loaded), TacoTip Extras (loaded, version, whether it publishes the diagnostics report API), FojjiCore and BetterBlizzFrames presence, BetterBlizzFrames suppression state, the six LibStub libraries as present/absent, and the inspector's family/interface.
    • configuration — the effective configuration, grouped and deterministic: layout, border, background, portrait, behavior-and-row toggles, plus custom_pos. Texture/font paths are reduced to their basename, numbers to three decimals, so a report reproduces the player's rendering without leaking absolute paths or locale-specific junk.
    • saved-variables — TacoTipConfig top-level key count and conf_version, the inspect cache size, progression history length against its cap, and TacoTipExtrasDB schema/rank-row/gear-row counts when Extras is loaded. A report can now distinguish "settings reset" from "settings never persisted".
  • Self-checks with findings that count (diagnostics.lua, collectSelfCheckSection). Six invariants evaluated at report time — GearScore module loaded, BRACKET_SIZE sane, config version matches the addon (a fresh profile is reported as informational, not a failure), the tooltip unit hook installed, TT.ev present, identity captured — and every failure is appended to problems, so the verdict degrades instead of the report lying. This is what keeps the diagnostics honest when a future refactor breaks an assumption the harness does not cover.

  • Machine-readable and redactable exports (diagnostics.lua). TT.DIAG_FORMAT_VERSION = 2 is stamped on every report. TT:FormatDiagnosticJSON({redact = true}) emits a schema-versioned object (formatVersion, sessionId, verdict, sections[] with label/value/status, problems[]); TT:FormatDiagnosticExport({redact = true}) keeps the existing markdown contract and gains the same option. Redaction scrubs the character name, the realm and any Player-<n>-<hex> GUID, which is what makes a pasted report safe to share. The export function only accepts opts as an optional argument, so every existing caller is unchanged. The dashboard's Export Markdown card now exports JSON on Shift-click (same card, same layout — the button row had no room for a fifth control), with the card's tooltip stating it.

  • Section ordering made structural (diagnostics.lua, DIAG_SECTION_BUILDERS). Sections were previously two parallel arrays (DIAG_SECTION_ORDER indexed by builder position), so inserting one section silently mislabelled every later section's failure. Ids and builders are now one paired list and DIAG_SECTION_ORDER is gone; the linter caught the leftover unused local.

  • Diagnostics split out of main.lua into diagnostics.lua (diagnostics.lua new, TacoTip.toc, main.lua, 9 harness files). main.lua had reached 199 of Lua 5.1's 200 chunk-level local variables — one declaration from the file failing to compile, which would have taken the entire tooltip layer down on the client while every other file still loaded. The /tt diag report was 21 functions and 5 constants that only the diagnostic command needs, so it now lives in its own TOC-loaded file (diagnostics.lua, immediately after main.lua ## Version-order-wise). main.lua drops to 174 locals (26 slots of headroom) and the new file starts at 45. Nothing on the tooltip path moved: recordPortraitTrace, getPortraitTraceEntries and safeDiagValue stay in main.lua because hot-path renders call them; the split's entire interface is five members published by main.lua (TT.addOnVersion, TT.isZoneRowEligibleUnit, TT.getUnitZoneName, TT.safeDiagValue, TT.getPortraitTraceEntries), with everything else re-derived in the new file (LibStub, CI:IsForever(), _G.UnitClass/UnitLevel/UnitRace/UnitCanAttack/TT_GS). TT.ev stays initialised in main.lua, where the hot-path counters write it. The /tt diag handler already guarded on TT and TT.PrintDiagnostics and wrapped the call in pcall, so a diagnostics failure cannot take the slash command down.

  • Local-budget and split-wiring pins (Tests/harness/contract_pins_test.lua). Three new pins: main.lua stays under the 200-local chunk ceiling (counting column-0 declarations plus the three chunk-level locals inside top-level do blocks, measured not assumed); TacoTip.toc lists diagnostics.lua immediately after main.lua; and all four diagnostic entry points exist after a full load. Red-proven: 23 padded locals make the budget pin fail while the file still loads (194 column-0 / 197 real), and an empty TACOTIP_DIAG_OVERRIDE makes the entry-point pin fail with collect=nil print=nil traces=nil export=nil.

Tooling

  • wowlua_ls 0.36 → 0.39: 80 need-check-nil errors closed by guarding, not suppressing (main.lua, TacoTip_Extras/Core.lua, TacoTip_Extras/RankBrowser.lua). The newer analyzer is stricter about values it can prove may be nil. Each finding was fixed at the point of use, with no diagnostic suppression added:
    • applyPortrait3DUnit returns early when portrait is not a table (the "no model frame on this tooltip" case the analyzer could not rule out).
    • onGameTooltipSetDefaultAnchor guards tooltip, checks parent.GetParent before calling it, and requires tooltip.SetOwner to be a function before use.
    • Lazily-created globals (TacoTipMouseAnchor, TacoTipDragButton) are snapshotted into typed locals before the nil test, so the checks are real branches instead of dead comparisons the analyzer flags.
    • ---@field itemBorderColor, ---@param memo table / ---@param count any / ---@return any annotations document the shapes the analyzer inferred as table?.
    • TacoTip Extras: the debug snapshot's cellValue(slot and slot.itemID) plus an early return when slot is nil, and a row guard in renderRankRow with the redundant and level dropped from level > 0.
  • New baseline: 70 warnings / 0 errors (was 59/0 under 0.36). The count moved because the newer analyzer reports more warnings on the same code, not because suppression was added; the README linter: line records the new number.

Verification

  • Harness load lists (Tests/harness/*). Seven harnesses carry a hardcoded load order and now load diagnostics.lua after main.lua (load_test, options_test, settings_test, taint_test, tooltip_test, batch4_clock_test, batch8_pane_test); forever_tooltip_test and contract_pins_test gained a TACOTIP_DIAG_OVERRIDE slot in their order tables for future red/green proofs, and settings_test's orphan-setting scan now reads diagnostics.lua too so a setting only read by the report cannot be reported as dead.
  • Regression pins (Tests/harness/tooltip_test.lua). The old assertion (zone row is Forever-only (not rendered on this family)) is superseded by two: the row renders on every client family when the client answers the map query, and it is suppressed by an active combat restriction. Red-proven by re-adding the isForever conjunct: FAIL zone row renders on this client family on TBC_ANNIV (and every non-Forever family), green on the shipped tree.
  • Gates: main harness 75/75 (lua5.1), tooltip_test CLASSIC_ERA/TBC_ANNIV/TITANFORGE ALL 261 PASS, FOREVER ALL 268 PASS, RETAIL ALL 267 PASS, forever_tooltip_test 295/295, contract pins 72/72, TacoTip Extras 14/14, font/locale PASS, wowlua_ls check . (0.39) 70 warnings / 0 errors, both --worktree verifiers PASS. In-game verification pending.

This mod has no additional files