Yards to Kilometer

Converts yard distances to meters or kilometers in WoW UI and spell tooltips, with automatic units and configurable precision.
Back to Files

v1.3.1

File nameYardsToKm-v1.3.1.zip
Uploader
nuwem746nuwem746
Uploaded
Nov 14, 2026
Downloads
60
Size
12.5 KB
Flavors
ClassicForever
File ID
9616075
Type
R
Release
Supported game versions
  • 1.60.1
  • 1.15.9

What's new

Changelog

1.3.1 (2026-11-14)

  • WoW Forever: spell tooltips no longer flip back to yards (such as 33 yd range) while a cooldown or cast lockout is counting down.
  • The UI text scan is spread over several game frames, fixing a script ran too long error with addons that create many frames.
  • /ytk debug lists the current tooltip's lines, to help report text left in yards.

1.3.0 (2026-11-07)

  • WoW Forever: the settings page uses the game's own checkbox and dropdowns, with a tooltip on each option. Classic Era keeps the existing page.
  • WoW Forever: fix a Lua error ("calling 'IsObjectType' on bad self") when the frame scan reached restricted Blizzard frames such as aura cooldowns.
  • Less memory churn: the 10-second frame scan and tooltip refresh no longer build a temporary table for every frame (about 27 MB of garbage between collections on Forever; about 4 MB is actually kept).

1.2.0 (2026-11-06)

  • WoW Forever: Yards to Kilometers appears in the minimap addon menu. Left-click opens settings (after combat if you're fighting), right-click turns conversion on or off, and the tooltip shows the current state.
  • The settings page is listed as Yards to Kilometers under Options > AddOns.

1.1.1 (2026-11-06)

  • Fixed empty Display and Decimal separator buttons (and a Lua error when opening settings) for players upgrading from 1.0: defaults for new options are now applied after saved variables load.
  • The Convert visible yard measurements checkbox is visible again.
  • README explains why only English clients are converted.

1.1.0 (2026-11-05)

  • New Display option: show yards and metric together, such as 30 yd (27 m).
  • New Decimal separator option: decimal comma (0,5 km) for players who use it.
  • Ranges written with "to", such as 8 to 35 yards, are now converted.
  • Settings panel buttons are aligned in one column; new /ytk replace, /ytk both, /ytk point and /ytk comma shortcuts.
  • CI uses Node.js 24 releases of its GitHub Actions.

1.0.0 (2026-11-05)

First stable release.

  • Supports WoW Forever (interface 16001) alongside Classic Era 1.15.9 in a single package.
  • On Forever, spell tooltips are hooked through tooltip data callbacks, and secret text values and forbidden frames are skipped safely.
  • /ytk now shows the current settings; new /ytk auto, /ytk km, /ytk compact and /ytk precise shortcuts.
  • Skips text with no digits or yard units before running conversion patterns.
  • Release ZIPs are now named YardsToKm-<version>.zip.

0.1.0-beta.2 (2026-10-10)

  • Fixed settings button labels going stale after changing options.

0.1.0-beta.1 (2026-10-10)

  • First Classic Era beta: converts yard measurements in UI text and spell tooltips to meters or kilometers, with unit and precision settings.

This mod has no additional files