It conflicted with a minimap button-collector addon. Error logs stay easy to copy via /octolat copyerrors, which is unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Changelog
All notable changes to OctoLatency are documented in this file.
[Unreleased]
Added
/octolat copyerrors, opening a copy-errors window: a multi-lineEditBoxpre-filled with the error log and auto-highlighted, so the text can be selected and copied with Ctrl+C (vanilla WoW's chat frame doesn't support text selection).- Colored addon title in the character-select AddOns list:
OctoLatencynow renders as a per-letter gradient from dark to light green (## Title:inOctoLatency.toc).
Fixed
- Tooltip (
OnEnter) no longer errors withattempt to concatenate local 'worldLatency' (a nil value).GetNetStats()can returnnilfor latency/bandwidth briefly after login or a loading screen; the tooltip now falls back to0forbandwidth,homeLatency, andworldLatency, matching the fallback already used by the status text update.
[1.0]
Added
- Core addon: draggable frame showing world latency (falling back to home latency) with color-coded text (green < 150ms, yellow 150–350ms, red > 350ms), updated every 2 seconds.
- Tooltip on hover showing home latency, world latency, and bandwidth.
/octolat errorsslash command to view the last 20 logged errors in-game./octolat clearerrorsslash command to clear the error log.- Error logging: tooltip/update/login handlers run through
pcall, with failures recorded toOctoLatencyDB.errorLog(persisted in SavedVariables) and echoed to the chat frame instead of raising a Lua error popup.
Fixed
- Stuck drag state when the mouse button is released off-frame: dragging now also stops on
OnHide, not justOnMouseUp.
Removed
- Dead
VARIABLES_LOADEDevent registration (no handler was ever attached to it).