kompolompoandClaude Sonnet 5 49992fc804 Fix stuck drag on off-frame mouse-up, add error logging and slash commands
- Remove dead VARIABLES_LOADED registration (no handler existed for it)
- Extract OctoLatency_StopMoving and call it from OnHide too, so a drag
  can't get stuck if OnMouseUp never fires on the frame
- Wrap tooltip/update/login handlers in pcall, logging failures to
  OctoLatencyDB.errorLog instead of raising a Lua error popup
- Add /octolat errors and /octolat clearerrors slash commands
- Update README with a short explanation of the addon and its options

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-05 11:41:42 +02:00
2026-08-30 09:42:08 +00:00
2026-08-30 10:05:29 +00:00

OctoLatency

A lightweight latency monitor for Vanilla WoW (1.12.1). Shows a small, movable, color-coded latency readout on your screen.

What it does

  • Displays your current world latency (falls back to home latency if world isn't available) as NNN ms next to your screen.
  • Color-codes the number so you can tell your connection quality at a glance:
    • Green — under 150 ms (good)
    • Yellow — 150-350 ms (moderate)
    • Red — over 350 ms (critical)
  • Hover the frame for a tooltip with home latency, world latency, and bandwidth.
  • Updates every 2 seconds (not every frame), so it has no meaningful impact on game performance.

Options

There's no settings panel — the addon is intentionally minimal. The only "option" is position:

  • Move it: left-click and drag the frame anywhere on screen. Its position is saved automatically and restored on your next login.

Error reporting

If something inside the addon errors (e.g. an unexpected GetNetStats() response), it's caught instead of spamming a Lua error popup, and logged for you to report:

  • /octolat errors — print the last 20 logged errors (with timestamps) to chat.
  • /octolat clearerrors — clear the error log.

The log is also saved to your SavedVariables file, so it survives logout/relog.

S
Description
Lightweight latency monitor with color-coding
Readme MIT
67 KiB
Languages
Lua 100%