File Details
XPTimeTracker_02-06-26.zip
- R
- Jun 2, 2026
- 21.81 KB
- 1.2K
- 12.0.7+5
- Classic + 3
File Name
XPTimeTracker_02-06-26.zip
Supported Versions
- 12.0.7
- 12.0.5
- 5.5.4
- 5.5.3
- 2.5.5
- 1.15.8
[2.12.0] - 2026-06-02
Fixed
- Statistics reset timing — `ResetStatistics()` and level-up now call `SyncXPTimers()` so the next XP gain after a reset does not attach a long idle gap to total time (stale `lastTime` / `lastXPTime`).
- XP loss — negative XP deltas (e.g. death penalty) only resync position timers; they no longer inflate or corrupt session or pool totals.
- `SessionTimeout()` — uses the same 30–600s clamp and 10s step as `InitDB()` instead of falling back to 120s when a stored value is below 30.
Changed
- Saved settings validation — `InitDB()` normalizes boolean flags (`frameHidden`, `locked`, `perCharacter`, `showAtMaxLevel`, `showMinimapButton`) so corrupted SavedVariables cannot leave toggles in an undefined state.
- Slash commands — call `InitDB()` before handling `/xptt` so settings and DB defaults exist even if a command runs before `ADDON_LOADED` finishes.

