Files
bdot89andClaude Opus 5.5 3742a01cec 2.21.0 + DmorphHelper v16: flight paths during race morphs, stuck race fix, new look with preview boxes
2.20.0 / DmorphHelper v16:
- Flight paths: the game works out routes with your race byte when the
  flight master's list arrives (0x4DC010), before TAXIMAP_OPENED; v16 runs
  it with your own race, so other-faction race morphs keep your paths.
- Race holds (chat, reputation, taxi) only put the morph race back if the
  byte and display didn't change during the call.
- Addon: RepairRace checks the race byte against the model shown once a
  second and repairs it (wrong skin / no gear until a restart).

2.21.0:
- Flat purple look (OctoBG / shootyepgp style), Roboto font.
- Every list tab: list + preview box (whole model, zoom, drag, Previous /
  Next wear the entry above / below). Floating hover cards removed.
- Data/ModelFrames.lua (tools/build_frames.ps1): portrait camera and size
  per model, so previews show the whole model; ported packs carry
  PortedFrames.lua.
- Hidden slots show the empty slot, not a question mark.
- tests/layout.lua draws every tab's layout; tests/ported_check.lua.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 23:29:03 +01:00

22 lines
914 B
Lua

-- Loads DMorph with this PC's real Data/Ported.lua and counts what each list shows.
dofile("tests/mock_wow.lua")
dofile("Data/Ported.lua")
Mock.portedData, Mock.portedItems = DmorphOcto_PortedData, DmorphOcto_PortedItems
Mock.ResetUI()
Mock.LoadAddon("DmorphOcto.toc")
Mock.Fire("VARIABLES_LOADED")
local c = DmorphOcto.GetCreatureCatalog()
local ported, mounts = 0, 0
for i = 1, c.count do
if c.kind[i] == DmorphOcto.KIND_PORTED then
ported = ported + 1
if c.tags[i] and strfind(c.tags[i], "mount") then mounts = mounts + 1 end
end
end
print("creature catalogue: " .. c.count .. " entries, ported " .. ported .. " (mounts " .. mounts .. ")")
for _, slot in ipairs({ 16, 17, 18 }) do
local items, p = DmorphOcto.GetItemCatalog(slot), 0
for i = 1, items.count do if items.kind[i] == DmorphOcto.KIND_PORTED then p = p + 1 end end
print("slot " .. slot .. ": " .. items.count .. " items, ported " .. p)
end