promotional bannermobile promotional banner

Session Tracker

Tracks your session's gold, dungeons, delves, raids, deaths, and playtime in a lightweight on-screen HUD, with daily history and a weekly summary.
Back to Files

1.0.0

File nameSessionTracker-1.0.0.zip
Uploader
KetaSweKetaSwe
Uploaded
Sep 3, 2026
Downloads
5
Size
24.6 KB
Flavors
Retail
File ID
8802266
Type
R
Release
Supported game versions
  • 12.1.0

What's new

## [1.0.0] - 2026-09-03

First stable release.

### Added

- **History retention setting**: "Days of history to keep" in the Options panel controls how many archived days are kept (was hardcoded to 25). Clamped to 1-200. Lowering it trims existing history immediately instead of waiting for the next day to archive. Shows "(default: 25)" next to the field — click it to reset back to the default.
- **Weekly summary**: the Daily History window shows a "This week" line summarizing playtime, gold, dungeons, delves, raid bosses, and deaths across every archived/live day since the last weekly reset. Uses `C_DateAndTime.GetSecondsUntilWeeklyReset()` for the boundary, so it follows the server's actual reset time (US/EU/etc.) instead of a hardcoded day.
- **"Show this week" toggle**: button next to "Clear all" in the history window filters the row list down to just the current reset week (click again to go back to "Show all days"). The "This week" summary line always shows the full week's totals regardless of which filter is active.
- **Today / This week toggle on the on-screen HUD**: click the "Today" title on the draggable tracker to switch every row to this week's totals (title changes to "This week"; click again to go back). Reuses the same weekly aggregation as the history window (`ns.History.CollectAllItems/GetCurrentWeekStartTime/AggregateWeekly`). The underlying live session tracking and `/st current` are unaffected — only what's rendered on screen changes.
- **Project icon**: added `Resources/SessionTracker.jpg` (400x400) for the CurseForge listing.

### Changed

- Renamed `PrintHistory()` to `OpenHistoryWindow()` — it opens the graphical history window, it never printed to chat.

### Removed

- The one-time `BackupLegacyHistory`/`MigrateToChars` migration (the flat → per-character saved data move it handled already ran for every install, so it was a permanent no-op). `/st restorehistory` and the legacy `historyBackup` it reads from are untouched, since an install that already went through the old migration may still have one saved.

### Known limitations

- Delve tier detection is experimental: the currently observed public API does not expose a simple active tier value, so the tier is parsed from the instance name/difficulty text and can occasionally come back empty.
- Raid tracking counts successful boss encounters by design, not full raid clear state — you don't always kill every boss in a lockout, so per-boss kills are the more honest number.

### Technical Details

- Supports WoW interface versions `120000`, `120001`, `120005`, `120007`, and `120100`.
- Saved variables: `SessionTrackerDB`.
- Main files: `Core.lua`, `Options.lua`, `Debug.lua`, `History.lua`, and module files under `Modules/`.

This mod has no additional files