Missing/incorrect ClassicAPI.dll causes errors and a blank grey readout; add setup and troubleshooting notes.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
OnMouseUp only fires while the cursor is still over the frame at the
instant the button is released, which a quick flick of this small
frame easily misses, leaving it stuck following the mouse forever.
OnUpdate now polls IsMouseButtonDown every frame and stops the drag
as soon as the button is released, independent of cursor position.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
worldLatency or homeLatency never fell back because 0 is truthy in
Lua, so servers that never populate world latency showed a stuck
0 ms. Also guard every XML script hook with a nil check so a failed
Lua load degrades silently instead of spamming
attempt to call global 'OctoLatency_OnUpdate' (a nil value) every
frame and blocking chat input.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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>
- Fix OnEnter tooltip crash: attempt to concatenate local
'worldLatency' (a nil value) when GetNetStats() hasn't populated
latency yet (e.g. right after login/loading screen); fall back to 0
like OctoLatency_UpdateText already does
- Add /octolat copyerrors and a minimap button opening a copy-errors
window (auto-highlighted EditBox), since vanilla WoW chat text can't
be selected/copied directly
- Minimap button also right-click toggles the latency frame and can be
dragged to reposition
- Color the addon's title in the AddOns list with a per-letter
dark-to-light green gradient
- Add CHANGELOG.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- 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>