promotional bannermobile promotional banner

XP Time Tracker

XP Time Tracker is a lightweight and user-friendly World of Warcraft addon that helps you estimate how long it will take to reach your next level.

File Details

XPTimeTracker_15-02-26.zip

  • R
  • Feb 15, 2026
  • 7.74 KB
  • 2.8K
  • 12.0.1+4
  • Retail + 3

File Name

XPTimeTracker_15-02-26.zip

Supported Versions

  • 12.0.1
  • 12.0.0
  • 5.5.3
  • 2.5.5
  • 1.15.8

Bug Fixes

  1. UI duplication fix — Settings UI elements (labels, dropdowns) were recreated every time PLAYER_ENTERING_WORLD fired (zone changes, /reload). Now they are created once and reused.
  2. Frame position save/restore — GetPoint() returns 5 values including relativePoint, but only 3 were saved. Now all 4 relevant values are persisted, with backward compatibility for old saves.
  3. Level-up XP tracking — lastXP was set to 0 on level-up, causing a false XP delta on the next update. Now correctly set to UnitXP("player").
  4. Memory leak prevention — xpGainsActive array had no size limit (unlike xpGainsAll which was capped at 1000). Added the same cap.
  5. Fractional seconds in time display — seconds % 60 could produce decimals. Added math.floor() to all time formatting.
  6. Frame clamped to screen — Added SetClampedToScreen(true) to both the main frame and settings window to prevent them from being dragged off-screen.
  7. Dropdown checkmarks — Changed info.checked from static boolean values to functions for correct checkmark updates when reopening dropdowns.

New Features

  1. Slash commands — /xptt (toggle visibility), /xptt settings (open settings), /xptt reset (reset stats), /xptt lock (lock/unlock frame), /xptt help (show commands).
  2. ESC closes settings — Settings window registered in UISpecialFrames so pressing Escape closes it (standard WoW behavior).
  3. Close button — Added an "X" button (UIPanelCloseButton) to the settings window.
  4. Frame lock/unlock — Checkbox in settings + /xptt lock command. When locked, the frame cannot be dragged.
  5. Auto-detect language — Uses GetLocale() to automatically select the matching addon language on first launch instead of defaulting to English.
  6. XP progress bar — A purple status bar at the bottom of the frame showing current XP progress with a percentage label.
  7. Rested XP overlay — A blue bar behind the purple XP bar visualizing available rested experience (GetXPExhaustion()).
  8. Extended hover tooltip — Hovering over the main frame shows: current XP / max XP (%), rested XP amount, session XP gained, and a /xptt help hint.
  9. Scale slider — Adjustable frame scale from 50% to 200% in settings.
  10. Opacity slider — Adjustable background opacity from 10% to 100% in settings.
  11. SavedVariables optimization — Removed per-entry gainsAll/gainsActive arrays from saved data. Only totals (totalXPAlltotalTimeAll, etc.) are stored now, with automatic migration from the old format.
  12. Session XP tracking — Tracks XP gained since login, displayed in the hover tooltip.