promotional bannermobile promotional banner

Big Crits Don't Lie

Big Crits Don't Lie, top 10 leaderboard of your biggest crits

File Details

BigCritsDontLie.zip

  • R
  • Sep 13, 2025
  • 80.20 KB
  • 158
  • 1.15.7
  • Classic

File Name

BigCritsDontLie.zip

Supported Versions

  • 1.15.7

Big Crits Don’t Lie — v1.1 Changelog

Added

  • Shift-Left-Click share on any top-level tab (Personal / All / each class)
    → Posts the Top 5 from that tab to chat.
    → Channel order with fallback: INSTANCE_CHATPARTYSAY.
  • /crit sync — broadcasts your current character’s Top 10 (throttled) to group/guild via addon messages.
  • /crit sound on|off — toggle the “new personal best” sound.
  • /crit debug — prints character key, personal/global counts, and sound setting.
  • Safe print wrapper BCDL_Print to avoid issues if DEFAULT_CHAT_FRAME isn’t ready.
  • Settings in SavedVariables: BCDLDB.settings.sound (default true).

Changed

  • Persistence & migration hardened:
    • Safer migration from legacy BCDLDB.entries → per-character BCDLDB.perChar[charKey].entries.
    • Rebuilds global de-dupe set at load.
  • Timestamps now stored as YYYY-MM-DD HH:MM:SS (UI still shows date only).
  • Number formatting uses BreakUpLargeNumbers when available (e.g., 123,456).
  • Target level formatting: -1 shown as (Boss); others as (lvl N).
  • Global sync throttle adds slight jitter to avoid burst collisions.
  • Addon prefix registration guarded and done on load.
  • Window clamped to screen; minor size/spacing/title polish.

Fixed

  • Slash command handling: input trimmed and lower-cased; help updated.
  • Crit flag detection: accepts boolean or numeric (true/1) to avoid missed crits.
  • Global de-duplication: additional near-duplicate guard.
  • Tab refresh: consistent row clearing and enable/disable states (no “ghost” text/icons).

UI/UX

  • Login recap still shows Top 3 for the current character; numbers formatted; date-only display.
  • Class icons use CLASS_ICON_TCOORDS with safe fallback.
  • Draggable/closable board with backdrop when available.

Sync & Sharing

  • Addon sync channeling unchanged for internal messages (INSTANCE_CHAT/RAID/PARTY/GUILD).
  • Local “All” still merges this character’s Top 10 into global view without duplicates.

Commands (v1.1)

  • /crit — toggle window
  • /crit top — print this character’s Top 10 locally
  • /crit reset — clear this character + global
  • /crit reset all — clear all characters + global
  • /crit sync — broadcast your Top 10 (throttled)
  • /crit sound on|off — toggle personal-best sound
  • /crit debug — print key + counts + sound state

Data Model / Compatibility

  • SavedVariables: BCDLDB (unchanged).
  • Per-character storage: BCDLDB.perChar[<charKey>].entries.
  • Back-compat migration runs once if legacy BCDLDB.entries exists.
  • Existing entries are preserved; some fields normalized (e.g., timestamp).