LootMate

A comprehensive tracking suite for gold, farming sessions, loot, bag values, and currencies with QoL automations.

File Details

LootMate

  • R
  • Jul 2, 2026
  • 25.23 KB
  • 6
  • 12.0.7
  • Retail

File Name

LootMate.zip

Supported Versions

  • 12.0.7
# Changelog - LootMate

## [2.0.0] - 2026-07-02

### Added
- Added `/lm` slash command as a primary shortcut alongside the existing `/wt`.
- Created a centralized initialization callback system (`OnAddonLoaded`, `OnPlayerEnteringWorld`) to sync and coordinate loading states across all sub-modules.
- Properly registered missing source files in `LootMate.toc` so `QoL.lua`, `MinimapIcon.lua`, and `Dashboard.lua` are loaded by the client.

### Fixed
- **XP Negative Value Bug:** Fixed session XP calculation. It now monitors player level changes via the `PLAYER_LEVEL_UP` event, storing baseline levels and accumulating completed level caps to prevent gains from displaying as negative numbers.
- **Taint / Duplicate QoL Executions:** Removed the duplicate `MERCHANT_SHOW` handler from `WalletTracker.lua`. All auto-sell and auto-repair QoL behaviors are now handled solely inside `QoL.lua`, solving action-tainting issues that caused errors in other addons.
- **Dual Minimap Buttons:** Removed the redundant minimap button structure and consolidated positioning, drag behaviors, tooltips, and the dropdown menu under a single instance in `MinimapIcon.lua`.
- **Timer Drift:** Updated the session timer to accumulate real delta frame-time (`elapsed`) instead of using hardcoded decrement steps.
- **Settings Hierarchy:** Corrected the options category mapping in `SessionOptions.lua` to sit cleanly under the parent "LootMate" panel.
- **Alt Character Memory Leak:** Optimized the Dashboard's Alt list to reuse font strings rather than allocating new UI components each time the panel is toggled.

### Changed
- **WoW Midnight (12.0) Compatibility:** Bumped interface TOC version to `120000`.
- **Removed Deprecated API Calls:**
  - Replaced `GetMaxPlayerLevel()` with a wrapper around `GetMaxLevelForExpansionLevel(GetExpansionLevel())`.
  - Replaced `InterfaceOptions_AddCategory` fallback wrappers with the modern `Settings.RegisterCanvasLayoutCategory` API.
  - Cleaned up obsolete `RepairAllItems` boolean args (updated to `1` for guild bank, `0` for personal).
- Refactored `BagTrackerFrame.lua` to consume a shared, deduplicated bag scan helper (`WT:ScanBags`).
- Unified numerical and gold formatting across all frames under shared methods: `WT.FormatMoney`, `WT.FormatNumber`, and `WT.FormatDiff`.
- Cleaned up global variables and prefixes to standardise on the `LootMate` prefix.