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.2

File nameTacoTip.zip
Uploader
AcidBombAcidBomb
Uploaded
Nov 28, 2026
Downloads
21.9K
Size
5.9 MB
Flavors
Classic TBCClassicTitan Reforged ClassicRetailForever
File ID
9871368
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.2] — 2026-11-27

Code

  • Identity-restricted world hover recovered (main.lua, TT.resolveRestrictedWorldUnit, onTooltipSetUnit). Reported symptom: in a battleground, friendly-player tooltips were enhanced and enemy-player tooltips showed Blizzard's plain box. Cause, traced through the client at the pin: GameTooltip:GetUnit() is TooltipUtil.GetDisplayedUnit (Blizzard_GameTooltip/Mainline/GameTooltip.lua:1035), which rebuilds the unit token as UnitTokenFromGUID(tooltipData.guid) (Blizzard_SharedXMLGame/Tooltip/TooltipUtil.lua:34-40). UnitTokenFromGUID is SecretWhenUnitIdentityRestricted (UnitDocumentation.lua:3296-3298), whose contract is "Guarded APIs and events produce secret values when the unit isn't player-controlled or in the party/raid" (SecretPredicatesDocumentation.lua:130-132). In a battleground the player is in the raid, so self/party/raid/pet tokens stay plain and every enemy token comes back secret; UnitGUID carries the same predicate (UnitDocumentation.lua:1241-1244). No Unit* API accepts a secret token from tainted code (SecretArguments = "AllowedWhenUntainted"), and the two remaining proofs in resolveTooltipUnit could not fire: a world-hover tooltip has no unit-frame owner, and GameTooltip:IsUnit does not exist on Camelot at all (absent from the generated docs and from the UI code). Resolution therefore returned nil with cause unresolved-guid, and the render took clearTooltipVisuals(..., "unresolved-unit", ...) and returned before TT:ApplyTooltipAppearance — no border, background, font, portrait or rows.
    • TT.resolveRestrictedWorldUnit(tooltip, data) is the recovery, built from plain reads only: readable tooltip data whose guid is secret, a unit tooltip type, no unit-frame owner, TT:GetMouseFocus() == WorldFrame, and plain UnitExists("mouseover") + UnitIsPlayer("mouseover"). It returns "mouseover", the only unit a unit tooltip can describe while the cursor is over the 3D world, which is the same structural inference isUnitHoverTarget already relies on (main.lua, focus == WorldFrame and safeUnitExists("mouseover")). It is gated on the capability (a secret guid) rather than on isForever: Camelot and live share the contract and the branch is unreachable where secrets do not exist, so no classic path enters it.
    • Restricted to players on purpose. An enemy pet or NPC also has a secret identity there, but no report asks to re-attribute those and a wrong guess would paint one unit's data onto another.
    • The recovered render flows through the existing pipeline unchanged, so every row that needs withheld data degrades on its own through the safe* helpers: the tooltip gains the configured border/background/alpha/font/scale/position, the level line and the 3D portrait, and shows no GearScore, talents, guild or class colour because UnitClass, UnitGUID and the guild APIs are withheld for that unit.
    • onTooltipSetUnit classifies the state: a secret data.guid with no recovery increments TT.ev.unitRestricted and not TT.ev.resolveTooltipUnitFailed, with cause restricted-unit. The header-guard early returns now call TT:ApplyTooltipAppearance for a restricted render, so a header the client withheld cannot leave the frame bare.
  • Portrait identity for a restricted unit (main.lua, TT.restrictedUnitNameKey, applyPortrait3DUnit, TT:ApplyTooltipAppearance). applyPortrait3DUnit keys the mesh on UnitGUID, and falls back to the unit token when there is no GUID. For a restricted unit that fallback is wrong: "mouseover" is one string for every enemy, so the second opponent hovered would keep the first one's face. applyPortrait3DUnit takes an optional identity argument and the restricted render supplies the readable name (UnitName is SecretArguments = "AllowedWhenTainted" and carries SecretWhenUnitNameIdentityRestricted, whose contract keeps a player's name readable in PvP — SecretPredicatesDocumentation.lua:135-137). With no readable identity at all the model is cleared and counted as portraitNoIdentity; a hidden portrait is correct, a stale one is not.
    • The same-token re-render is treated as keepModel when both sides have no GUID and the token is unchanged, so a 0.2s tooltip re-drive does not ClearModel + SetUnit five times a second. A genuinely different hover still reloads, because the model key is the name.
    • clearTooltipVisuals drops state.restrictedUnit on a genuine recycle so the flag cannot leak onto a later non-unit tooltip.

Diagnostics

  • identity-restricted units row (diagnostics.lua). Reports recovered= and unresolved= counts with the note "client withheld unit identity in a restricted map", at info severity, and only when either count is non-zero. The failure rate, the problems list and the verdict no longer treat these hovers as addon defects — a battleground report that previously read "1 problem, highest: error — Unit resolution failed 21 time(s)" now reads healthy plus the restriction line.
  • Three saved-variable rows read keys nothing writes (diagnostics.lua, saved-variables section). Every report from a real session claimed inspect cache: absent and warned, and progression history: absent, regardless of what the session had collected. The rows read TacoTipConfig.recent and TacoTipConfig.progression_history; the addon writes TacoTipConfig.recentCache (SaveRecentInspectEntry, main.lua) and TacoTipConfig.progression[<character key>].history (main.lua, progression record), and the history cap is progression_history_cap with a 500 default. The rows now read the real shapes and report N players / N record(s), M entr(ies), cap 500. A key audit of all 15 cfg.* reads in diagnostics.lua against every write in main.lua/options.lua found exactly these and no others.
  • zone row no longer warns when no tooltip is on screen (diagnostics.lua). A report is normally taken with no tooltip shown, so owner unit=none produced zone=The Barrens (the player's own map, from the activeUnit fallback) and a warn — which reads as a failure in every report ever filed. With no owner the row is now informational and evaluates nothing; warn is reserved for the only real defect, an eligible owner that produced no zone. The activeUnit fallback was also dropped from the zone read: the row is a property of the owner frame, so reporting the player's own zone beside owner unit=none was misleading.
  • Unresolved renders are sampled (main.lua, TT:SampleUnresolvedUnit; diagnostics.lua, unresolved sample #N). A normal-play log reported 2 of 429 unresolved with only the cause code, which is not diagnosable. The last four unresolved shown renders now keep the facts that were available at that instant — cause, line count, owner frame name, whether the owner yielded a unit, mouse-focus frame, UnitExists("mouseover"), whether UnitGUID("mouseover") answered plainly, whether UnitTokenFromGUID exists, and type() of the token GetUnit returned. No secret is read or stored: every field is a boolean, a count, a frame name, or the type() of a value (safe on a secret), and the only Unit* calls use the literal "mouseover" token.
  • Proximity-scan liveness (Libs/LibForeverInspector/LibForeverInspector.lua, diagnostics.lua). enqueued=0 could mean three very different things and the row could not tell them apart. scanTicks, scanTicksWithPlates and scanGuarded are now counted and reported, so "the ticker never ran", "it ran with no nameplates" and "it ran but every tick was suppressed" are distinguishable.
  • Item post-call attribution (main.lua, diagnostics.lua). The item hook fired 18,005 times in 43 minutes (about 7 per second of play) and the report named neither a rate nor a source. The row now prints rate=N/min and last owner=<frame>, so the next log attributes the count instead of leaving it unexplained. Nothing in this addon drives item tooltips: the only SetHyperlink call is the progression-history hover in options.lua, so the source is outside TacoTip.
  • portrait suppressed row (diagnostics.lua). Printed only when a restricted render had no readable identity to key the 3D mesh on, so a report explains a missing portrait instead of leaving it looking like a failure.
  • Trace log parity (diagnostics.lua, TT.GetDiagnosticTraceLog). The exported trace carries Identity-Restricted Hovers: N recovered | M unresolved (client withheld identity) next to the existing unit-render/failure line.
  • ClearDiagnosticLogs resets both counters.

Tests

  • Eight lua5.1 pins in Tests/harness/forever_tooltip_test.lua (v1.1.2 restricted hover: prefix; FOREVER pins 295 → 303). A secret guid over the world resolves to mouseover; that recovery is not counted as a resolution failure; the 3D model keys on the readable name rather than the token; a second identical render keeps the model (no per-render strobe); a non-player mouseover is not re-attributed; the unrecoverable case is counted as restricted and not as failed; a non-world cursor is not re-attributed; and no readable name means no model at all.
  • Nine pins total for the restricted path (the ninth, v1.1.2 restricted hover: the unresolved render is sampled for the next report, asserts the sample carries cause=restricted-unit, a frame name for the focus, and the plain mouseover answer), so FOREVER pins are 304/304.
  • Two load_test pins for the saved-variables rows (v1.1.2: inspect cache row reads TacoTipConfig.recentCache, v1.1.2: progression history row reads TacoTipConfig.progression): with recentCache and progression populated the report must show 1 players / 3 entr(ies), cap 500 and no warning. Red proof: the same invocation against git show HEAD:diagnostics.lua in a scratch copy of the tracked tree fails both pins and nothing else.
  • Red proof (TACOTIP_MAIN_OVERRIDE with git show HEAD:main.lua): five of the eight fail on the pre-fix tree — recovered=nil, fails=0 -> 1, key=nil, restricted=0 -> nil, noIdentity=0 -> nil — and the two refusals pass there by construction (pre-fix code never resolved anything, so it could not mis-attribute). Scratch copy removed after the run.

Docs-Config

  • Version 1.1.2 across TacoTip.toc, main.lua (2 fallbacks), options.lua, README.md (header, badge, status, gates), CHANGELOG.md and Tests/harness/load_test.lua (TOC pin and the printed-report pin).
  • README.md gains a What's New in v1.1.2 section written for users: what now appears on an enemy tooltip, what cannot and why, and the new /tt diag line.
  • AGENTS.md records the client contract and the recovery as a rule in forever secrets, including why the gate is evidence-based rather than isForever-based and why the model is name-keyed.
  • workshop.md baseline line moved to v1.1.2 with Forever pins 303/303.

Verification

  • bash Tests/harness/run_all.sh → TOTAL 75 invocations: 75 passed, 0 failed.
  • lua5.1 Tests/harness/forever_tooltip_test.lua → FOREVER pins: 304/304 passed.
  • wowlua_ls check . → 70 warnings / 0 errors, identical to the recorded baseline (no suppression added).
  • bash Tools/verify_release.sh --worktree → PASS, including version 1.1.2 is consistent (TOC, main.lua, options.lua, README).
  • luac5.1 -p main.lua diagnostics.lua → clean. The first build of this change hit Lua 5.1's 60-upvalue ceiling in onTooltipSetUnit; both new helpers were moved onto TT (the documented remedy) rather than by trimming the function.
  • Not verified in game: no client was available for this session. The hover that fires the recovery needs a restricted map with an enemy player present — a battleground, or the engine's forced-restriction cvars (addonPvPMatchRestrictionsForced / addonMapRestrictionsForced).