LibQuestDB

A standalone, offline quest database for World of Warcraft Classic. It answers questions about a quest without the quest being in your log or the game's cache; the quest counterpart to LibItemDB and LibProfessionDB.
Back to Files

QuestDB-v0.2.1

File nameQuestDB-QuestDB-v0.2.1.zip
Uploader
PmptastyPmptasty
Uploaded
Dec 1, 2026
Downloads
332
Size
79.4 MB
Flavors
Classic TBCClassicForever
File ID
9949607
Type
R
Release
Supported game versions
  • 2.5.6
  • 1.60.1
  • 1.15.9

What's new

QuestDB Changelog

[v0.2.1] (2026-12-01) - More of WoW Forever's own quests, and a capture never loses what was shipped

WoW Forever harvest: more quests, and nothing shipped is lost (2026-11-29 to 2026-11-30)

  • The harvest no longer drops data a capture failed to collect. Operator, 2026-11-30: "we should not remove data just because a run failed to collect it. we should only remove it if we've proven it to be there incorrectly." TOGTools rewrote a quest's whole reward block on every quest window, including one that showed no rewards, so its SavedVariables had lost 274962 from 95991 and 274963 from 95120, and the v0.2.0 rebuild dropped both. tools/build-forever-harvest.py now starts every Forever data file (Harvest.lua, HarvestRewards.lua, HarvestPlaces.lua, enUS/HarvestText.lua) from what was shipped: the last commit (git show HEAD:<file>) with the working copy laid over it, since a run that already lost a row rewrites the working copy. A capture adds to that and replaces only with proof. A reward set is replaced when a window shows an item the shipped set lacks; a set that is only part of the shipped one keeps the shipped set. Text merges field by field. A quest is removed only for a placeholder title or when Coverage.lua no longer lists it as uncovered. Each run prints the rows it kept. Both rewards are back (run 20261130-141434.879). 5 specs in Tests/test_build_forever_harvest.py. TOGTools fixed the capture on its side as well (inbox 57aac863; it ships in TOGTools v0.20.0).
  • Rebuilt from the operator's latest Forever questing: 116 of Forever's own quests now carry rewards (79 in v0.2.0), 103 carry objective places (43), and the text of 103 quests changed (git diff --numstat against v0.2.0).
  • .harness-suites.json declares every Tests/test_*.py as one unittest suite. Python 424 pass, Lua 417 pass (2026-11-30).

Editor: the generated data files no longer reach the Lua language server (2026-11-29)

  • .vscode/settings.json and QuestDB.code-workspace treat everything under Walk/ and Data/ as plain text, and .luarc.json also skips tools/squaregrid_out, tools/terrain_cache and tools/wago_cache in its scan. The full-detail walk files are over the language server's 10 MB limit, and VS Code sent them to it when it opened them, which raised a "too large" warning per file. Checked in the server's log after a window reload: no Walk data file reached it.

[v0.2.0] (2026-11-23) - A walk map of the ground, with roads, and WoW Forever's own rewards, objectives and traders

Square-grid walk map experiment (2026-11-22)

  • New dev tool tools/build-squaregrid.py, built beside the shipped walk map without changing it (operator, 2026-11-22: "i don't want to change anything, in case we have to go back to it"). Each map tile is cut into fixed squares (16 yd asked, 16.16 yd so whole squares fill a tile). Every walkable polygon under a square's centre gives one point at that centre, on the floor (one per floor where floors stack); a square with no floor there is written as not walkable. Neighbours (8 directions) link only when the straight line between the centres stays on the walkable mesh both ways, crossing the tile border where both halves meet. Output goes to tools/squaregrid_out/, git-ignored and not shipped. It does not carry swim or road marks or the bots' walk joins yet. 16 Python specs (407 pass).
  • tools/walkmap-viewer.html reads the new Grid<map>.lua files: grid points (upper floors in their own colour), links, squares that are not walkable and squares that are walkable but left out, each shaded differently. Not yet opened in a browser.
  • Desk tool qdb-build-squaregrid declared and approved. First builds at 16.16 yd, 3.5-5.5 minutes per version (qdb-build-squaregrid runs 20261122-125437, -130020, -130400). Per continent, Classic Era / TBC / Forever:
    • Eastern Kingdoms: 748,143-801,504 squares, 77-79% with floor at the centre; 179,122-199,291 points kept; 2.36-2.60 MB (Walk32 2.00-2.27 MB, Walk16 4.91-5.57 MB).
    • Kalimdor: 1,066,131-1,075,932 squares, 76-77% with floor; 293,505-296,651 kept; 3.84-3.87 MB (Walk32 2.89-2.96 MB, Walk16 6.91-7.13 MB).
    • Outland (TBC): 871,200 squares, 85% with floor; 198,853 kept; 2.56 MB (Walk32 1.90 MB, Walk16 4.38 MB).
    • Stacked floors are rare: about 1% of kept squares hold two or more. 99.2-99.6% of quest places land on a point (Outland 97.7%).
    • Only 28-35% of the points with floor under them are kept, because the rest sit in pieces with no quest place. The build now reports what it leaves out by piece size: on Classic Era most of it is ONE piece per continent (277,670 points on Eastern Kingdoms, 342,617 on Kalimdor), bigger than the largest kept piece (75,517 and 174,615). Checked against the game's water data, the same test the walk map's swim marks use: that piece is 100% under water, so it is the sea floor, which the mesh treats as ground (qdb-build-squaregrid run 20261122-132002). The other dropped pieces of 1,000+ points are dry except one of 5,186 on Kalimdor (81% wet). The rest is small: 54,069 and 86,863 points in pieces under 10. The kept points are 22-23% under water (lakes and shore). 2 more specs (18 pass).
    • The grid now marks those points as swum, in a new last field of each tile line, by the same test the walk map uses, and the viewer draws them in the swim colour. Older grid files without the field still load. Python 412 pass.
    • The build also prints where lines traced only one way are and why the way back failed. They gather in single tiles with stacked structures, and which tiles depends on each version's map: Forever Kalimdor has 110 of its 208 in tiles (40, 36) and (41, 36), Classic Era has 51 of its Eastern Kingdoms 72 in tile (28, 27). Merging floors within 2 yd instead of 1 was tried and raised Forever Kalimdor to 461, so it was reverted.
    • Cause found and fixed. The build now re-traces one case per continent and prints each leg. Several surfaces at one height under a square count as one floor, but the way back was traced only from the first of them, so a line that arrived on another surface left by a different slope and named a different floor (Forever Kalimdor tile (40, 36): there via polygon 904, back from 665). Every surface of a floor is now traced, and a link counts when any of them gets back. One-way lines fell to 4-8 per continent (Forever Kalimdor 208 to 4, Classic Era Eastern Kingdoms 72 to 5), none of them to another floor; the rest are lines walled on the way back, and a few hundred more points stay in connected pieces (qdb-build-squaregrid runs 20261122-142026, -142708, -143158). Spec run red against the old trace. Python 414 pass.
    • A line that stalls where four polygons meet at one corner is now retried 0.01 yd to each side. That found about 230 more linked pairs on Classic Era Eastern Kingdoms and a few dozen more kept points per continent, but the one-way count rose to 12-24 per continent (Eastern Kingdoms 5 to 14, Forever Kalimdor 4 to 24): some lines now get through one way only after the shift. Kept, because a one-way line is simply not linked; that every new link is a real walk is not verified (a shifted line could slip a gap a player cannot) (qdb-build-squaregrid runs 20261122-143931, -144734, -145245). 3 specs (417 pass).
    • Lines leaving the tile are now traced from every surface of the floor too, keeping the first that reaches the border (self-audit S1, inbox b5a5a592: only the first surface was traced there, so a floor whose first surface was a dead end got no join into the next tile). The report counts the border half-lines only a later surface found. Spec run red against the old trace; Python 418 pass. Not yet rebuilt: qdb-build-squaregrid is now pinned to build-squaregrid.py and build-walkgrid.py and waits on approval.
    • The report now lists links whose line got through only when shifted, in both directions (self-audit S3), so those can be checked in the viewer. No spec forbids a shifted line through a narrow joining edge: the mesh is already shrunk by the agent's 0.5 yd radius (navbuild.cpp rcErodeWalkableArea, navmesh.py AGENT), so any joining edge in it is one the player's centre can pass. Python 419 pass.
    • The build takes an optional third argument, the floor-merge height (default 1 yd); any other value writes to squaregrid_out/<version>-merge<value>, so the 2 yd try can be re-run under member tracing (self-audit S2) without touching the normal output. The comment's old reason for that try failing no longer holds and now says so.
    • Rebuilt at 16 yd, all three versions (qdb-build-squaregrid runs 20261122-205924, -211332, -212349, -213331):
      • Border half-lines from a later surface (S1): 4-8 per continent (Classic Era Eastern Kingdoms 4, Kalimdor 5; Outland 8; Forever Kalimdor 6), so the first-surface-only defect was real but rare.
      • Links shifted both ways (S3): 270-502 per continent (Classic Era Eastern Kingdoms 342, Kalimdor 480; Outland 270; Forever Kalimdor 502), against 1.1-1.9 million link ends; the report lists the first six for the viewer.
      • 2 yd floor merge, re-tested on Forever (S2): one-way lines unchanged (Eastern Kingdoms 16, Kalimdor 24, against 461 on Kalimdor in the first try), kept points +28 and +15, cross pairs -2 and -21. Merging no longer hurts but gains nothing, so 1 yd stays the default.
      • One-way lines: 12-24 per continent, all but one walled on the way back.
    • Outland's biggest left-out piece (236,726 points) is dry, unlike the sea floor on Azeroth. The report now gives each big left-out piece's extent and height range: it and the next two dry pieces lie 1,072-1,241 yd below sea level, under the floating continent, while every kept point is between -417 and 460 yd (qdb-build-squaregrid run 20261122-140744). That ground cannot be reached, so leaving it out is right. 18 specs.

The shortcut measure compares against the walk's own level (2026-11-22)

  • max_shortcut's height figure now uses the raw walk segment nearest each sample by plan distance and height gap together, not plan distance alone, so a walk that passes over or under itself is measured against its own level (Peer Review c562a34d reply a5cbda5f). The same change ends the steep-slope reading of 2026-11-21: a sample beside a steep grade no longer takes the segment further up it. The across figure stays the plan distance to the nearest segment (same thread, reply aec88f04): the first version used one segment for both, and the build figures below came from that version. 3 Python specs added, 1 rewritten (410 pass); each new assertion was run red against the code it replaces and fails there.
  • build-paths prints each Paths.lua's sha256 beside its byte count, so two builds can be shown to match (same review): Classic Era b4a6a9e3fa4e, TBC 18d3348e2a7b, Forever 38e33c561833. The rebuild after the split below gave the same three hashes, so neither max_shortcut change moved Paths.lua.
  • Paths rebuilt for all three versions with the first, one-segment version. With the hook-tip chords left out, the worst shortcut read 9.1-9.4 yd across and 8.0-8.3 yd in height on every continent (was 7.8-8.0 and 8.5-9.9). The across rise came from the one-segment choice. Rebuilt again with the split: the worst is 7.9-8.0 yd across (the thinning's own tolerance) and 8.0-8.3 yd in height on every continent, p95 7.5-7.6 / 7.4-7.7 (qdb-build-data runs 20261122-131108, -131245, -131350). With the tip chords in, 22.7-26.3 yd across and 9.2-11.4 yd in height.
  • Forever harvest re-run on the latest game captures: 62 quests with rewards (was 51), 12 with objective places (was 7). 91777 Rare Books still has no reward recorded. Re-run twice more after new walks: 72 with rewards and 28 placed, then 1,840 shipped, 79 with rewards and 43 placed (qdb-forever-harvest run 20261122-233541). 91777 Rare Books and 95066 The Rog'mar Situation still have no reward recorded. Lua 417 pass.

The drift guard and the stray report use one segment (2026-11-21)

  • remove_doublebacks' drift guard now judges a point only against the one segment that replaces its span, the segment max_deviation later measures it against; until now a match on either neighbouring segment was accepted, so a shipped height stray of 8.0-17.6 yd passed with no guard failing (Peer Review adb4828d reply ff59dcb3). The cut set is judged on the final line by the same rule, which also retires the 2026-11-20 caveat that it could understate (18f0ea26, F3).
  • Paths rebuilt for all three versions. As shipped the walks still stray 40-53 yd across and 25-38 yd in height (the hook tips cut off on purpose). Without those tips the figure is now 8.0 / 8.0 yd on every continent, but that is a guarantee, not a measurement: every uncut point is held within 8 yd of its final segment by construction, so the number restates the guard rather than checking the walk (Peer Review adb4828d reply 413107be). build-paths says so in its output. Sideways drift is bounded only by the reach guard (40 yd).
  • New independent measure, max_shortcut (tools/questdb_common.py): each shipped segment is sampled every 2 yd and measured against the bots' walk it replaced, so a chord cut across a hook or switchback shows as the yards it leaves the walked ground. The guards never test that direction. Largest per continent, across / height: Classic Era and Forever 24.2 / 11.2 (Eastern Kingdoms) and 26.0 / 13.1 (Kalimdor); TBC 22.7 / 9.2, 24.8 / 13.1 and 26.3 / 10.0 (Outland). 95% of walks stay within 8.2-8.5 yd across and 7.5-7.8 yd in height. 3 Python specs (389 pass).
  • That tail is the hook tips cut on purpose. max_shortcut now also runs with those chords left out (Peer Review adb4828d reply 4bff78e8), and build-paths names the five worst remaining walks per continent. Left out, the worst shortcut is 7.8-8.0 yd across on every continent, the thinning's own tolerance (for example Duskwood Addles Stead to Raven Hill, Silithus Hive'Zora to Twilight Base Camp, Netherstorm Netherstone to Gehenna), and 8.5-9.9 yd in height. 1 more spec (390).
  • The height side passes 8 yd only on steep slopes, and that is the measure, not the thinning. max_shortcut takes the height of the nearest walked point beside the sample, which on a slope sits a few yards further up or down it. TBC's worst case, Hellfire Peninsula Thornfang Hill to Cenarion Refuge (9.9 yd), runs down a 74% grade: the raw walk there is 5.6 yd from the shipped line at its own spot, and the 4.5 yd along the slope between it and the sample add about 3.3. Ashenvale Night Run to Raynewood Retreat (9.7 yd) is the same on a 64% grade. build-paths prints the three worst height cases per continent with every point involved; a spec reproduces the effect (391). The measure is kept as it is: it describes the shipped line honestly.
  • All nine walk-map parts rebuilt on these paths (qdb-build-walkgrid, 7-14 minutes each). Recorded walks join 826-1,551 pieces per continent. 32 yd parts are 1.9-2.9 MB per continent, 16 yd 4.4-7.1 MB, full 14.7-25.4 MB.
  • WoW Forever's quests re-harvested from TOGTools: 1,697 shipped, 51 with rewards, 7 with objective places (25 TOGTools points and 4 hand reports); 98221 From the Ashes now has its description. 91777 Rare Books still has no recorded reward. Lua 417, Python 386 pass.

LibQuestDB MINOR 26: where WoW Forever's own quest objectives are

  • lib:GetObjectivePlaces(questId) returns { { objective, areaId, x, y }, ... } (x, y 0-100 on that area's map; objective 1-based as C_QuestLog.GetQuestObjectives numbers them): nil before any place data has loaded, an empty table for a quest with none, a fresh table per call. Capability objective-places; loader lib:LoadObjectivePlaces. Data: Data/Forever/_core/HarvestPlaces.lua, Forever TOC only.
  • Two sources, both read by build-forever-harvest.py: TOGTools v0.17.0's new questDB.places (the player's map and position each time an objective count rises, Developer Tools on; TOGTools inbox 70e6e28d), and hand reports in the new tools/forever_objective_places.json, which refuses an entry without a uiMapId. A uiMapId becomes an area through Zones.lua; a map with no single area, a point with no position, and a quest the harvest does not ship are dropped and counted.
  • First quest placed: 98221 From the Ashes, its four Attack Plans in the Angerfang Encampment, Wetlands: Menethil Harbor 45.7, 42.7; Thelsamar 49.4, 46.8; Southshore 45.5, 45.7; Ironforge 38.5, 46.1 (operator in game, 2026-11-20). Questbook reads them for its HUD target and quest panel (inbox c5639645). TOGTools' own capture had no points yet: its recorder was built after the quest was done.
  • Specs: 20 Python tests (parsing, the no-position form, dedupe, refusals, the map-to-area conversion) and 6 Lua specs. Lua 417, Python 385 pass.

A walk-map choice made before QuestDB loads is kept

  • WalkDetail.lua replaced lib.walkSettings with QuestDBSettings on ADDON_LOADED, so a SetWalkDetail call made by another addon before then was dropped silently. The earlier choice is now carried into QuestDBSettings first and wins over the saved one (Peer Review 18f0ea26, F1). New specs cover both orders; toc_spec now also ties lib.WALK_DETAILS to the shipped parts (F2).

LibQuestDB MINOR 25: three walk-map details, one loaded

  • The walk grid ships as three load-on-demand addons, QuestDB_Walk32, QuestDB_Walk16 and QuestDB_Walkfull, each with one TOC per flavour (LoadOnDemand: 1, Dependencies: QuestDB) listing that flavour's continents. In the repo they live at Walk/QuestDB_Walk<detail>/<Version>/, and .pkgmeta move-folders makes each its own addon folder in the release. QuestDB's own TOCs no longer list any walk file. The operator, 2026-11-18: "build all 3, then let the user chose wich one is loaded on the next reload [...] have the 32y one load by default."
  • New WalkDetail.lua (loaded right after the library) loads the chosen part with C_AddOns.LoadAddOn when QuestDB's ADDON_LOADED fires, from the new saved variable QuestDBSettings: 32 by default; if the chosen part will not load (missing or disabled) it loads 32 instead and says so in chat. /questdb walk shows the loaded and chosen detail; /questdb walk 32|16|full chooses the next one, which takes effect on /reload.
  • lib:GetWalkDetail() returns the loaded detail (nil when none) and the one chosen for the next login; lib:SetWalkDetail(detail) chooses it (false for anything but 32, 16, full). lib.WALK_DETAILS, lib.WALK_DETAIL_DEFAULT, capability walk-detail. Questbook needs no change: its router reads tiles lazily and falls back when none is loaded (inbox 6f4b107d reply 2e95e417).
  • wow-version-replication.ps1 mirrors move-folders: a file under a moved folder goes to Interface\AddOns\<target> in every listed install, the source's own included, because a folder nested in AddOns\QuestDB is never seen by the client. Without it the dev installs would have no walk map (Questbook raised the same gap, reply b53617c9). Dry run checked: each walk file routes to all four installs. The running watcher still has the old script until it is restarted.
  • All nine parts built (qdb-build-walkgrid, 2026-11-20, with the 4-yd road sampling and road tidying below). Eastern Kingdoms / Kalimdor / Outland: 32 yd 2.0-2.3 / 2.9 / 1.9 MB, roads 9.9-10.3% / 5.2% / 9.4% of nodes; 16 yd about 4.9-5.6 MB on Eastern Kingdoms, roads 5.7-6.0% / 2.8% / 5.9%; full 17.9-20.4 MB on Eastern Kingdoms, roads 2.0% / 0.9% / 2.4%. The share of nodes on road falls with the node size, since a road a few yards wide crosses a 32-yd square but covers few single polygons, so the data spec's floor is now per detail (2% / 1% / 0.4%). Not checked in game; how long the full part takes to load and how much memory it costs are not measured.
  • Specs: new Tests/walkdetail_spec.lua (setting, loader, fallback, /questdb); toc_spec checks the loader's place, the saved variable, all nine part TOCs and the move-folders lines; data_spec checks every part; the capability lists gain walk-detail. .luacheckrc and .luarc.json know the new globals and skip Walk.

Every dump-built file rebuilt from the refreshed CMaNGOS dumps (2026-11-20)

  • The dumps changed under us. QuestDB reads the CMaNGOS world databases from LibItemDB's cache, and they were replaced after 2026-11-18: Classic classicmangos.sqlite sha256 0c908c740286 -> fd055b91b70e, TBC tbcmangos.sqlite f76a4e173ce5 -> f888b9102b68 (from the builders' source lines). Found when the routes rebuild below left six Approaches specs red: the approaches named spawn points (e.g. NPC 11917 in Stonetalon at 58.51, 91.47) that the old NPCSpawns.lua did not have. What replaced the dumps is not known here.
  • Rebuilt for all three versions with qdb-build-data: rewards, quests and coverage, English quest text, NPCs and objects, zones, spawns, drops, paths, approaches, and the ground road snap. Quest spawn points targeted by approaches 65,528 -> 69,745 (Classic Era and Forever) and 92,001 -> 92,659 (TBC); approaches shipped 10,346 -> 11,280 and 16,107 -> 16,212, and the data spec's pin moves with them. The same rebuild also ran uncommitted changes to place_spawns, ZoneMaps, douglas_peucker and remove_doublebacks (Peer Review 18f0ea26, F4), so the two were split with the new tools/approaches-at-ref.py (desk tool qdb-approaches-at-ref), which builds at a commit against today's dump in a throwaway git worktree. At c7015a9 with the new dumps: 11,280 approaches of 69,745 targets (Classic Era) and 16,212 of 92,658 (TBC), the same approach counts as now. The dumps are the whole change in approaches; the code moves one TBC target point.
  • Ground network rebuilt too (build-ground, terrain-ground write, snap-ground-roads, all three versions, 11-14 minutes each with the mesh cache). terrain-ground dropped 2,187-2,647 blocked links per continent and shipped routes around obstacles; 16,086-17,806 points per continent after. Lua suite 408 pass.
  • TBC's eight titles-only locale files rebuilt with the new tool qdb-build-text-locale (qdb-build-data cannot pass --locale/--fields).
  • All nine walk-map parts rebuilt afterwards on these paths and ground (qdb-build-walkgrid now writes straight into Walk/QuestDB_Walk<detail>).

Routes rebuilt with the corrected climb and drift guards (2026-11-20)

  • build-paths, build-approaches and snap-ground-roads for all three versions (Peer Review adb4828d C1/C2). Out-and-back points removed: Classic Era and Forever 909 (Eastern Kingdoms) / 820 (Kalimdor); TBC 907 / 1,013 / 921 (Outland). Sharp turns kept by the climb / drift / reach guards: 132 / 9 / 31 and 180 / 15 / 27; TBC 122 / 6 / 38, 166 / 21 / 48, 131 / 29 / 48. As shipped, walks stray at most 40-53 yd across and 25-38 yd in height from the bots' walk. 18-24 road points per continent snapped; one TBC Kalimdor point was too steep and is no longer a road point. The Stonetalon Peak hook spec and the Ground specs pass. These counts are not a clean before/after of the guard fix alone: the same rebuild read the refreshed dumps above (Peer Review, inbox adb4828d reply 5fd72432). The as-shipped stray mostly measures the hook tips the overshoot rule removes on purpose, so it says little about a route drifting. build-paths now prints a second figure with those points left out: across / height 28.0 / 14.7 yd (Eastern Kingdoms) and 12.0 / 9.8 (Kalimdor) on Classic Era and Forever; TBC 17.4 / 8.0, 20.8 / 17.6 and 12.0 / 11.1 (Outland). It can understate, since a cut point is judged only at its own drop (Peer Review 18f0ea26, F3).

LibQuestDB MINOR 24: road marks on the walk grid

  • lib:LoadWalkTile takes an eighth string, the road nodes, and lib:GetWalkTile hands it back fifth ("" when a file has none). The capability walk-roads names it. Questbook asked for it so routes follow the road and leave it near the target (inbox 9b8a352a). Spec: 1 new in Tests/libquestdb_spec.lua (363 pass).
  • New tools/adt_tex.py reads each map square's ground textures from its _tex0 ADT: the texture list (MDID FileDataIDs, or MTEX names), each chunk's layers and alpha maps in all three formats (4-bit, 8-bit, compressed), per wowdev ADT/v18 and WDT. 13 specs on synthetic bytes. Not verified on real files: which alpha format this client uses, and the alpha map's axis order.
  • tools/build-walkgrid.py marks road nodes from textures NAMED for roads. A node is road when such textures cover half its ground (a guess). The road textures come from new tools/road-textures.py (desk tool qdb-road-textures), which reads the community listfile (wowdev/wow-listfile, FileDataID to path) and writes tools/road_textures.json: every tileset texture whose file name says road, path, cobble, trail or street. Picking them by what lies under the recorded walks failed twice on Forever (2026-11-19): against the whole continent most textures came out 1-2 times commoner under the walks, and against each walk's own tiles every texture came out at about 1x, read either way round. The walks cross country as often as they keep to a road, which is the operator's complaint itself. The walk comparison stays in the build's output as a check: named road textures should sit under the walks somewhat more than their tiles give at random, and the alpha-map axis order that puts more walk samples on road is the right one.
  • Walk joins (Silithus). qdb-walk-probe found the walk into Silithus at Kalimdor (-6233, -472) crossing from the walk's piece of the map to one 3-4 yd lower, 5.4 yd away, unlinked, with no building or doodad there. Wherever a recorded walk steps from one piece into another between two samples whose nodes are within 24 yd across and 8 yd in height (guesses), the build now joins those two nodes, once per pair of pieces, and prints how many it added and the piece count before and after. Two-way: a walk does not say whether a step can be climbed back. Forever 32 run: 1,243 joins on Eastern Kingdoms and 1,504 on Kalimdor; quest places in the main network 89.1% to 92.4% and 78.8% to 85.1%; Silithus no longer breaks off.
  • The road list first matched nothing. A _tex0 ADT names each layer by its _s.blp FileDataID (wowdev MDID), and the list dropped the _s.blp files, so that run marked 0 road nodes. It now keeps every .blp and drops only .blp.meta; "trail" must start a word (it had caught "entrails"). With that fixed (598 textures) the next Forever run confirmed the rule and the alpha-map reading: named road textures top 3 to 27 times their tiles' share of the walk samples, and the alpha map as read beats it transposed (2.5% vs 2.3% of walk samples on road). But half-the-node marked only 0.4% / 0.2% of nodes: a road a few yards wide is a small share of a 32-yd square. A node is now road when a road runs THROUGH it (road_through: road textures at 0.5+ at any polygon centre or corner); 1 new spec (39 pass).
  • Built for all three versions at 32 yd, with the walk joins too. Road share of nodes: Forever 5.1% (Eastern Kingdoms) and 2.1% (Kalimdor); Classic Era 5.0% / 2.1%; TBC 5.0% / 2.1% / 4.8% (Outland). Era and TBC use 4-bit alpha maps, Forever 8-bit, and the shares agree. Kalimdor's 2.1% may miss roads painted with textures not named for roads (not verified; Questbook checks the marks against the world map). The data spec now checks every road index is a node and that each continent marks 1-25% road (366 pass).
  • Roads came out broken, so marking now samples inside the polygons and tidies. Questbook measured those marks (inbox 9b8a352a reply 3fc4b091): Eastern Kingdoms' 3,945 road nodes formed 779 separate runs with 300 lone nodes, and found walks kept to the road for only 10% (Eastern Kingdoms) and 0% (Kalimdor) of their length. Sampling at centres and corners misses a road that crosses a polygon between them. road_through now samples a 4-yd grid inside every polygon (polygon_samples; a road narrower than 4 yd can still fall between grid columns), and tidy_roads then marks a node joined to two road nodes and drops a road node joined to none, one pass each. 3 new specs (42 pass). Run on all three versions 2026-11-20: road share at 32 yd went from 5.1% / 2.1% to 10.3% / 5.2% on Forever (Eastern Kingdoms / Kalimdor), 9.9% / 5.2% on Classic Era and 9.9% / 5.2% / 9.4% on TBC, with 3,032 / 1,870 gaps filled and 618 / 274 lone nodes dropped on Forever. Questbook measured it (measure-walkgrid Forever 32, inbox 9b8a352a reply e7d5d30c): the roads now form 137 runs on Eastern Kingdoms and 86 on Kalimdor (were 779 and 645), 92.5% and 91.5% of road nodes in runs of 20+, no lone nodes, and found walks keep to the road for 39% / 18% of their length (was 10% / 0%). Classic Era and TBC not yet measured.
  • 11 new specs across the build (38 pass) and the reader (13); the probe now takes two points in one argument, as its desk tool passes them (24 pass). The build and probe wait on the operator's re-approval.
  • New tools/walk-probe.py (desk tool qdb-walk-probe, waiting for approval) shows the walkable mesh at one or two world points: the pieces near each, where the mesh stops along the line between them, tile-border joins, and the buildings and doodads placed there. First case: where Silithus breaks off at Kalimdor (-6233, -472). 23 specs; not yet run on game data.

LibQuestDB MINOR 23: the walk grid reader

  • lib:LoadWalkTile(continent, row, col, nodes, joins, cross, swum) keeps each map tile's four walk-grid strings packed, so a tile costs nothing until a router asks for it, and lib:GetWalkTile(continent, row, col) hands them back (nil for a tile no file loaded). The capability walk-grid names it. Questbook decodes the strings itself, so the decoder lives in one place (inbox 6f4b107d). Specs: 5 in Tests/libquestdb_spec.lua.
  • WoW Forever loads the 32-yd walk grid by default. QuestDB_Camelot.toc lists Data/Forever/Walk32/Walk0.lua and Walk1.lua (2.2 and 2.9 MB), the default the operator chose, and .pkgmeta now ignores only Walk16 and Walkfull. Questbook asked for this first: without it its router drew a short route as a straight line up a mountain. A new data spec loads both files and checks every join, cross join and swum index. The 16-yd and full parts and the setting that picks one come later. Not yet checked in game.
  • Classic Era and TBC load their 32-yd walk grids too (QuestDB.toc, QuestDB_TBC.toc; TBC adds Walk530.lua for Outland). Quest places in the largest piece: Classic Era Eastern Kingdoms 89.4%; TBC Eastern Kingdoms 89.2%, Kalimdor 79.3%, Outland 59.4% (Outland's splits not looked at yet). The data spec covers all seven files; Lua suite 362 pass.
  • build-walkgrid.py follows the recorded walks to find breaks. Every place a bot's recorded walk steps from the main piece into another is listed with its coordinates. Silithus meets the main piece at Kalimdor (-6233, -472), 62 yd below sea level, tile (43, 32), which looks like the Un'Goro tunnel (not verified); it is not fixed yet. Specs: 27.
  • The Forever 32 walk grid reaches most quest places (Questbook's measure-walkgrid, 45-yd step-on): Eastern Kingdoms 94.5% of its places in the largest piece; Kalimdor 82.3%, 93.8% in a piece of 1,000+ nodes. Most of the rest is real geography (Teldrassil, the Thunder Bluff mesa, indoors); all of Silithus is its own piece, which is not checked yet.
  • build-walkgrid.py leaves out every piece holding no quest place (no Ground.lua point near one of its nodes), since no route between quest places can use it. 98.3% of tile border already joined, so the pieces were tree tops, roofs and rocks, not a border fault. Not run yet. Specs: 22.

Terrain from the client's own map files: the first reader (prototype)

  • Why. The ground network only knows where creatures and objects stand, so cliffs, walls and water between two points stay invisible at any density. The map files in the client's CASC storage know them. The operator said yes to building from them (2026-11-16); nothing from this ships yet.

  • tools/casc.py fetches CascLib (MIT) at commit 6b889ec8 into tools/terrain_cache/ (gitignored) and compiles it with MSVC cl.exe, using CascLib's own source list. A ctypes Storage opens one local product (wowf, wow_classic_era, wow_anniversary, from the install's .build.info) and reads a file by FileDataID. Its chunk and WDT MAID readers are written from the wowdev.wiki format pages, not from Guidelime Pathfinder (GPL-3.0).

  • tools/terrain-probe.py <Version> <map> reads the continent's WDT by the WdtFileDataID in the client's Map table (Forever: 775971 Eastern Kingdoms, 782779 Kalimdor), counts its tiles, and lists one tile's root and _obj0 ADT chunks. Desk tool qdb-terrain-probe. Classic Era's and TBC's Map tables have no WdtFileDataID, so the probe borrows WoW Forever's id for the same map, and opens Outland's WDT by its path (Storage.read_name). The first compile failed because a list argument to subprocess.run writes inner quotes as \", which cmd.exe can't read. It now passes one string to cmd /s /c.

  • Measured 2026-11-16, one tile each: WoW Forever Eastern Kingdoms (736 tiles), Classic Era Eastern Kingdoms (687) and TBC Outland (800) all read the same way. Height is position[2] and IndexX runs along MCVT columns: seam error 0.0000, 0.0000 and 0.0001 yd, against 83+ yd for every other layout. +1 IndexX moves position[1] by -33.33 and +1 IndexY moves position[0]. The MAID record is (row, col) = (tile from position[0], tile from position[1]), and all three agree once the tile is taken from the chunk centre, not its corner, which sits exactly on the tile edge.

  • tools/adt.py reads each MCNK's index, position, 145 MCVT heights and 8x8 holes (low-res 4x4 bits or the high-res byte rows) from a root ADT. The wowdev page does not give the axis order of position, the direction IndexX runs, or how MAID is indexed. So the probe measures them on the real tile: heights must agree where neighbouring chunks meet (seam_errors), and the chunk's position must give back the tile's own number.

  • Terrain to triangles: adt.triangles() builds the tile's mesh in that measured layout. Each quad is four triangles around its centre vertex, and a hole quad gives none.

  • Walkable mesh (not run yet): tools/navbuild.cpp links recastnavigation (zlib) at commit 9f4ce644. It runs Recast's documented pipeline on a triangle soup and writes the polygon mesh. tools/navmesh.py compiles it with cl and swaps axes to Recast's Y-up and back. The agent size (0.5 yd cells, 50 degree slope, 2 yd tall, 1 yd step, 0.5 yd radius) is a first guess, not measured in game. `tools/terrain-tile.py <Version> <map> <row>

    <col>` reports one tile's polygons, walkable area, separate pieces and bytes. Desk tool `qdb-terrain-tile`. Bare ground only: no buildings, trees or water yet.
  • Winding fix. The first real run found 0 walkable polygons. The swap to Recast's Y-up axes is a mirror image, which reverses winding, so every normal pointed down. write_input now swaps each face's last two corners, and test_flat_terrain_faces_up_in_recasts_frame pins it.

  • First tile, measured 2026-11-16 (WoW Forever Eastern Kingdoms tile 40,31; which zone it is, not checked): 65,536 terrain triangles give 3,121 walkable polygons in 63 separate pieces, covering 49.6% of the tile. The raw text mesh is 309,990 bytes. Times 736 tiles that is about 228 MB for the continent, far too much to ship. So what ships has to be a sparse graph checked against this mesh, not the mesh itself.

  • A first sparse graph on that tile (sparse_graph, 1 spec): polygons merge per grid square and per walkable piece, so a cliff top and its foot stay apart, and they join only where the mesh connects. Per tile: 744 nodes at 16 yd, 322 at 32, 163 at 64 and 96 at 128. Times 736 tiles, even 128 yd squares give about 70,700 nodes per continent, roughly six times Questbook's 12,000. So squares alone won't fit. The next step has to drop small unreachable pieces and thin along open ground, the way Ground.lua does.

  • Two more tiles. Classic Era Eastern Kingdoms (39,37) is 87.3% walkable, with 1,203 polygons in 34 pieces and 62 nodes at 128 yd. TBC Outland (33,15) is 54.9% walkable, with 2,644 polygons in 78 pieces and 122 nodes at 128 yd. At 128 yd squares, a continent extrapolates to about 43,000-98,000 nodes from these three samples (not a continent-wide count).

  • Dropping small pieces (sparse_graph(min_area=...), spec extended). On the WoW Forever tile, leaving out pieces under 2,500 sq yd (a 50 x 50 yd patch) cut 128 yd nodes from 96 to 29 at first, about 21,300 per continent. That figure was too low: each tile was meshed alone, so ground cut by the tile edge looked like a small piece and was dropped.

  • Tiled build. navbuild now takes the tile's bounds and a border. terrain-tile.py meshes the tile with its eight neighbours' ground cropped to that border (crop, tile_bounds), Recast's own tiled method. The border is agent radius + 3 cells, as in RecastDemo Sample_TileMesh.cpp:845. Recast marks an edge on the tile border as a portal (0x8000 | side, RecastMesh.cpp:1248-1275). navbuild writes that as -2, and a piece with a portal is never dropped as small. On the WoW Forever tile: 79 polygons reach the edge, and 3,112 polygons form 74 pieces, 49.9% walkable. With pieces under 2,500 sq yd dropped: 58 nodes at 128 yd (about 42,700 per continent) and 113 at 64 yd (about 83,200). Still about 3.5 times the 12,000 budget, so chain thinning comes next.

  • Thinning doesn't close the gap. thinned() reuses build-ground.thin with the tile-edge nodes as its keys. On a spanning tree (spanning_tree, rooted at those nodes) it leaves 88 nodes per tile at 64 yd, mesh or tree alike, about 64,800 per continent. A 64 yd tile has about 70 squares, so the count is one node per walkable square, set by how much ground is covered. 12,000 per continent is about 16 nodes per tile, one per ~133 yd square. Questbook decides the budget its router can take, so this went to Questbook. 4 new specs, Tests/test_navmesh.py 15 pass.

  • Questbook chose option (c) (inbox fb3ad5e0, reply 992c14f6): no new terrain graph. Use the mesh to check Ground.lua's links. Drop a link that crosses a cliff, a drop or deep water, ship a walkable bridge as a hop, and reconnect any cut-off part along the mesh, at most 3,000 new points per continent. Build and measure only: whether anything derived from the client's map files ships is the operator's decision.

  • The link checker (not run yet). tools/meshwalk.py walks a straight line across the walkable polygons. Crossing an edge with nothing on the other side is BLOCKED, and a tile-border portal is "left tile". navmesh.read_output now keeps each polygon's per-edge neighbours for this. tools/terrain-check.py <Version> <map> <row> <col> reads Ground.lua and measures which plan axis is server x. Of the two orders, it uses the one that puts more Ground points within 3 yd of the terrain, and prints both counts. It then sorts each hop and bridge on the tile into reached, blocked, left tile, or off mesh (an end with no polygon within 4 yd of its height, such as a point on a building, is reported, never judged). terrain-tile.mesh_tile is the tiled build both tools share. Desk tool qdb-terrain-check. Specs: Tests/test_meshwalk.py (12 pass).

  • Axis order measured (2026-11-17). On WoW Forever Eastern Kingdoms tile (44,34), the busiest square under either order, pos0 = server x and pos1 = server y put 47 of 78 Ground points within 3 yd of the terrain. All seven other sign and swap combinations put none on the tile. The first test tile (40,31) had no Ground points under the right order, so it could not tell. The order is now fixed (ORDER), and the checker warns when another order fits a tile better.

  • Ends are judged on the exact ground. Recast's polygon heights drift on hills, so whether an end is on the ground is now read off the exact terrain triangles. An end not on the ground (a building, say) and an end on ground too steep to walk are counted apart.

  • First result, tile (44,34), bare ground only: hops 15 walkable, 3 blocked, 29 with an end not on the ground, 1 on steep ground. Bridges 12 walkable, 12 blocked, 39 with an end not on the ground. One tile, not yet the continent, and buildings are still missing from the mesh.

  • The operator approved shipping it (2026-11-17). Questbook relayed the operator's "yes" to shipping routing data derived from the client's files (inbox fb3ad5e0, reply 3722bc1b).

  • Buildings in the mesh (tools/wmo.py, Tests/test_wmo.py 13 pass). Each tile's _obj0 placements (MODF) and the WMO root (MOHD, GFID) and group files (MOGP, with MOPY/MOVI/MOVT collision triangles) are read clean-room from the wowdev pages. Collision follows the WMO page's own rule. The pages don't pin how a placement's position and three angles map onto the map, so settle tries 8 position and 256 rotation readings. It keeps the one that rebuilds each placement's stored world box from the WMO's own box. On tile (44,34) one position reading put any boxes on the tile (9 of 21), and one rotation family rebuilt all 21 with 0.0 yd error. These are now fixed (POSITION, ROTATION), and each run warns if its tile fits another reading better. Not settled: the tilt angles. Nothing on that tile is tilted, so seven tilt readings tie. Each building triangle is turned to face up, because the page gives no winding and a floor is a floor from either side.

  • Doodads in the mesh (tools/m2.py, Tests/test_m2.py 6 pass). Trees, rocks and fences come from the MDDF placements and each M2's collision arrays (MD20 header 0xD8/0xE0). A doodad carries no world box, so it reuses the buildings' reading, as wowdev gives both one coordinate system (not measured on doodads). Models older than M2 version 264 are counted, not read. On (44,34): 1,740 placements, 267 models, none unreadable, 17,474 triangles.

  • Routes around obstacles (Mesh.route, Tests/test_meshwalk.py 18 pass). With buildings in, most links that had an end off the ground started on a building floor around 180 yd with terrain 50-160 yd overhead. That's a cave, so the straight line between them ran into rock. A blocked straight line now gets an A* corridor over the mesh, then a funnel pull to the tightest path. It is "walkable around" if that path is at most 1.5 times the straight length (DETOUR, a first threshold, not tuned). Midpoint lengths alone overstated a 1.03x path as 2.1x on a test square.

  • Tile (44,34) with buildings and doodads: hops 16 straight, 21 around, 4 blocked, 3 not on the ground, 4 steep. Bridges 14 straight, 15 around, 30 blocked (25 with no route within 3x; most drop 40+ yd between plateaus), 3 not on the ground, 1 steep. Routes that leave the tile aren't searched yet, so the continent build may turn some blocked links into walkable ones.

  • Tiles joined (meshwalk.join, specs in Tests/test_meshwalk.py, 23 pass). A tile is 533.33 yd, not a whole number of 0.5 yd cells, so two tiles' border edges can lie up to a cell apart. Border edges are joined where they run along the same line within 1 yd, overlap, and sit within 2 yd in height. Both the straight walk and the route search cross them.

  • Routes ship as their corners. Questbook draws and steers along each link's two points (inbox fb3ad5e0, reply a37a1947), so a route around a rock must ship as the points it turns at. Mesh.route_path returns them, with heights, and they share the 3,000-point cap with reconnects. A route the cap can't carry is dropped, never shipped straight.

  • The continent build (tools/terrain-ground.py <Version> report|write, Tests/test_terrain_ground.py 9 pass, desk tool qdb-terrain-ground, waiting for approval). Pass 1 meshes every tile with a Ground point, plus its neighbours. It records which points stand on the ground and caches each walkable mesh under tools/terrain_cache/walk, keyed by a hash of the pipeline's sources. Pass 2 joins the 3x3 block around each tile and judges every link that starts there. rebuild then applies Questbook's rules:

    • walkable bridges become hops;
    • routes around obstacles ship as corner chains, cheapest first;
    • blocked links are dropped, or reconnected along a route within 3x where the drop cut points off from the road;
    • a link with an end on ground too steep to stand on is dropped like a blocked one. The operator found route points "on impassible objects, like this hill in front of me" (2026-11-17, via Questbook reply 3dc0c703);
    • points left with no way to a road are removed.

    write rewrites Ground.lua in place with a header line naming the client build. Run it after build-ground.py.

  • Every version's Ground.lua is terrain-checked. At Questbook's first cap of 3,000 corner points, about 28-30% of each network was cut off. At 7,000, about 22% still was. Questbook measured the 7,000 file at roughly the old memory, so it raised the cap to 10,000. At 10,000 it accepted WoW Forever and Classic Era (inbox fb3ad5e0); its TBC measurement is pending. Each version was rebuilt from build-ground.py's output first.

    Version, client Continent Points (was) Bytes Around / capped / dropped / cut off
    Forever 1.60.1.70959 Eastern Kingdoms 16,545 (9,799) 433,383 3,933 / 753 / 2,525 / 1,791
    Kalimdor 16,065 (9,221) 420,607 3,746 / 969 / 2,217 / 1,658
    Classic Era 1.15.9.70576 Eastern Kingdoms 16,482 (9,799) 431,468 3,967 / 778 / 2,544 / 1,818
    Kalimdor 16,056 (9,221) 420,089 3,754 / 987 / 2,195 / 1,653
    TBC 2.5.6.70577 Eastern Kingdoms 16,887 (10,080) 443,784 3,993 / 820 / 2,577 / 1,802
    Kalimdor 16,240 (9,497) 427,079 3,848 / 1,124 / 2,254 / 1,706
    Outland 17,806 (10,959) 471,983 4,141 / 833 / 2,645 / 1,576

    Files: Forever 855,379 bytes, Classic Era 852,946, TBC 1,344,286. The Lua suite passes (346). The character size is still a first guess.

  • Fixed: hooks on walk routes. The operator saw routes leaving the Stonetalon Peak flight master hook back on themselves: "why does it do this wierd hooking?" (2026-11-18). The bots' recorded walks step back and forth, and thinning kept the tip of each step as a sharp turn. Questbook counted 698 such turns on Classic Era Kalimdor alone (inbox 4f14650f). questdb_common.remove_doublebacks now drops a walk point where the walk turns back by more than 110 degrees and a side is under 40 yd, as long as its height stays within 8 yd. It repeats until none is left, and keeps long switchbacks. build-paths.py reports the count per continent. At Questbook's request (reply 6420cbb6), build-approaches.py does the same for the approach routes, which are drawn the same way. 3 specs, Tests/test_build_paths.py 42 pass. Rebuilt for all three versions. Points removed from walks: Classic Era and Forever 964 (Eastern Kingdoms) and 952 (Kalimdor); TBC 985, 1,078 and 949 (Outland). Points removed from approaches: 659, 659 and 1,581. The Lua suite passes (346).

  • Fixed in the hook removal (Peer Review, inbox adb4828d). An evenly climbing switchback has each corner on its neighbours' height line, so the height test alone let it collapse into a straight run up the slope. A turn is now also kept when the walk climbs more than 8 yd across it. A drop is also refused if it would carry any earlier-dropped point more than 8 yd off the line, so a run of drops can't drift. build-paths.py now also reports the as-shipped stray: its "max 8.0 yd" figures were measured before hook removal, and I quoted them to Questbook as if they described the shipped lines. 2 specs, Tests/test_build_paths.py 44 pass. Not rebuilt yet: qdb-build-data needs re-approval. Peer Review's second look (same inbox) found three more: the drift spec never reached the drift guard (rewritten so it fails without the guard, checked by removing it), positions were keyed by id() so a walk ending on the tuple it started on switched the drift guard off (now an index list), and build-paths.py now prints how many sharp turns each height guard kept, so the rebuild measures the 8-yd threshold. 45 pass. Rebuilt for all three versions. Points removed from walks: Classic Era and Forever 672 (Eastern Kingdoms) and 646 (Kalimdor); TBC 711, 762 and 696 (Outland). Sharp turns the climb / drift guards kept: 218 / 75 and 240 / 77; TBC 195 / 56, 246 / 89 and 225 / 76. That is about a quarter of what would otherwise go, so the 8-yd climb threshold may be too low for hooks on hillsides (not checked on the map). Shipped walks stay within 8.3-9.2 yd of the real height. Points removed from approaches: 181, 181 and 615.

  • Fixed: both hook-removal height guards were wrong (Peer Review, inbox adb4828d C1 and C2). The climb guard measured the climb across the whole span, so a short step back at the end of any long uphill leg was kept as a "switchback". That is the hook the operator reported leaving the Stonetalon Peak flight master, still in the data after the rebuild above (Questbook, inbox 4f14650f). A turn is now kept only when the walk climbs through it: both legs climb the same way and the short leg climbs more than 4 yd. Questbook measured 4 near Stonetalon Peak on Forever: real same-way turns climb 7-14 yd on their short leg, the bots' small steps 2 (inbox 30bb9987). Questbook's own draw-time pass now uses the same climb rule. The drift guard checked only the thinned points, so a raw point thinning had dropped beside a hook tip went unchecked. That, not rounding as I told Peer Review, is why shipped walks strayed 8.3-9.2 yd in height. It now checks the raw walk. Checking the operator's own points (Forever walk 1303 to 1304: 304, then 326 at the tip, then 316) showed the drift guard kept that hook too: it judged the tip's own height, 10 yd over where the new line ends. So the drift guard now judges only points the new line passes beside (within 8 yd from above, on the new segment or the one either side). A point it doesn't pass beside is the overshoot being cut off, and its height isn't checked. That loosens the guard on purpose: a 10-yd hook whose tip stands 20 yd up is now dropped, and a spec says so (Peer Review C3, which caught that I had first made the change by moving a test fixture). The same rule went to Questbook in place of its proposed end-to-end 10-yd climb test, which the operator's hook passes (inbox 30bb9987). 6 specs, Tests/test_build_paths.py 50 pass, and a data spec that the Stonetalon Peak walk (1303 to 1304) has no hook at (2472, 1214), on Classic Era and Forever (TBC's routes don't pass there). The first rebuild with this removed that hook. But with the tip's height no longer judged, a chain of drops (each removal exposing the next) carried routes up to 111 yd from the bot's walk, and snap-ground-roads.py refused to run: some road points were more than 64 yd from any road. A new REACH guard refuses a drop that would leave any point more than 40 yd (one hook's worth) from the line. 1 spec, 51 pass. Rebuilt for all three versions and snapped again; the Lua suite passes (351). As shipped, walks still stray up to 40-53 yd across from the bot's route: the reach guard bounds a point's distance to the nearest local segment, while the report measures it against the one thinned segment that replaced it, plus up to 8 yd of thinning.

  • New, not shipped: a route graph from the game's own walkable map. The operator, 2026-11-18: "why is there bot walking at all? we should be able to just draw a route based on obstructions and map points?", then chose to build three detail levels and let the player pick one, 32 yd by default. tools/walkgraph-measure.py sized it from the cached meshes; a grid of obstacle corners was no smaller, so the design is cells per ADT tile. tools/build-walkgrid.py builds it per tile (polygons merged per 32 or 16 yd and connected piece, or every polygon), joins tiles where the mesh continues across the border, and drops unreachable pieces under 64 sq yd. The first Forever 32 build (14.2 MB) fell into about 80,000-107,000 pieces per continent (Questbook's measure-walkgrid); the join rule was rewritten and waits on a rebuild. tools/liquid.py reads the map's water (MH2O), and build-walkgrid.py now writes each tile's swum nodes as a seventh LoadWalkTile string: a node whose polygons mostly sit over 1.5 yd (a guess) under the water surface. Peer Review (inbox 0eb16946) found the reader ignored the vertex-format field: an LVF of 2 is now surface 0, and a LiquidObject id covers the whole chunk. wowdev's page gives two answers for water with no vertex data, so each cell records which rule set its height and the build reports the ground-under-water check per rule. The rebuild with the new border join raised the largest connected piece only to 33% (Azeroth) and 30% (Kalimdor), so the build now also reports how much tile border fails to join and by what height gap, before the 2-yd match is changed. On Forever every water instance is the LiquidObject form, and 99% of water quads have their ground under the surface. Nothing loads these files, and .pkgmeta ignores Data/*/Walk*. Specs: test_walkgraph_measure.py (4), test_build_walkgrid.py (14), test_liquid.py (8).

  • Fixed: snap-ground-roads.py stacked points and hopped down ledges (Peer Review F1 and G1, inbox 0eb16946). It added a new road point each time a rebuilt road left one behind and never restored the original, so Ground.lua grew with each Paths rebuild. Its mark line now records each continent's point count before and after snapping, and a rerun takes its own points out and gives the originals their road flag back before snapping again; a Ground.lua changed since is refused. Its new hop was never terrain-checked, so a hop steeper than the walkable mesh allows (50 degrees plus a 1-yd step) is now refused and that point stops being a road point. The old code had snapped Ground.lua more than once, so all three versions were rebuilt from scratch (build-ground.py, terrain-ground.py write, then the snapper): 18-24 road points snapped per continent, one refused as too steep (TBC Kalimdor), and a second Forever run gave the same file. Lua suite 351 pass. Specs: test_snap_ground_roads.py (10).

  • Fixed: ground road points left behind by the de-hooked road. GetGround promises a road point lies within 8 yd of a walk as drawn, but build-ground.py takes road points from the raw walks, so a point on a removed hook tip could sit far from the shipped road, beyond Questbook's 12-yd join. A new spec in Tests/data_spec.lua measures every road point against the shipped walks, across and in height. Before the fix it found 23 to 25 of about 2,740 Eastern Kingdoms road points too far in each version, the worst about 52 yd. New tools/snap-ground-roads.py gives each such point's road flag to a new point at its foot on the drawn walk, joined by a hop, and changes nothing else. 6 specs, Tests/test_snap_ground_roads.py. Run after the Paths.lua rebuild. Snapped: Classic Era and Forever 13 (Eastern Kingdoms) and 16 (Kalimdor); TBC 18, 19 and 13 (Outland). The Lua suite passes (349).

  • Fixed: walk routes kept their shape on the map but lost their height. douglas_peucker thinned in the x/y plane only. A climb that runs straight on the map lost the points holding its height, so the shipped road's height there could be tens of yards off the real route. Questbook found two TBC ground road points 39.7 and 71.1 yd off the road beside them, and it can't tie those (inbox 8595ff21). Walks and approach routes now also keep height within the same tolerance (vertical=True), and build-paths.py reports the largest height gap per continent. Spec: test_vertical_keeps_a_climb_that_is_straight_on_the_map. Rebuilt for all three versions: the largest height gap is now 8.0 yd on every continent. TBC Paths.lua has 75,235 points (was 67,166), Vanilla and Forever 51,373 (was 45,880). The Lua suite passes (346), and Ground.lua is unchanged.

  • The tool refuses a file it has already checked. Ground.lua isn't in git, and re-checking the tool's own output can never bring back the points it removed. Raising the cap exposed this: the first re-run would have started from the checked file. Rebuild with build-ground.py first.

  • Fixed during the first continent runs: newer WMO groups store triangle flags as MPY2 and indices as MOVX, and the first run crashed on one. The route search could also hand back a link's own end as a corner. Both have specs.

  • Fixed in my own code before it ran: the "points cut off" count missed points whose only link was dropped (caught by the new spec). Also, a comment I wrote in navmesh.write_input called its axis reorder a mirror. It's a rotation; the winding flip comes from adt.triangles winding clockwise.

  • Shared plumbing: the compile step (casc.compile_cl), the source download (casc.fetch_zip) and the WDT lookup (casc.read_wdt) are shared by the probe and the tile tool.

  • Specs: Tests/test_casc.py (8 pass), Tests/test_adt.py (12 pass) and Tests/test_navmesh.py (7 pass), declared in .writ-suites.json.

A ground network for routing off the roads (MINOR 22; data not built yet)

  • The ask. Questbook (inbox 18d3d3d6), for the operator: routing should follow real ground off the roads, not a straight line. The approach search already joins every creature, object and patrol position on a continent to the walk graph. tools/build-ground.py ships that search's tree as Data/<Version>/_core/Ground.lua: points, hops, bridges (kept apart, the weak part) and the road points it meets. A crumb within 5 yd of a road point becomes that road point. The rest merge per 8 yd cube in x, y and z. A link between two road points is dropped.
  • Not terrain: nothing knows the ground between two points, so cliffs are known only through the hop's slope test.
  • Reader: lib:GetGround(continent) returns { points, hops, bridges, road } (nil with no data), loaded by lib:LoadGround. Capability ground-network, MINOR 22.
  • Built, not yet loaded. Ground.lua is 2,945,841 bytes for Vanilla and WoW Forever, and 5,111,670 for TBC. Per continent that's 56,000-79,000 points and 1.4-2.0 MB. The 8 yd merge took only about 20% off, and bridges are about a third of the links. That's real: the labels match the search's own hop and bridge rule.
  • The budget. Questbook loaded that file into its router: 1-2 s and about 55 MB more per continent. It set at most 12,000 points per continent (reply 39eb049b), keeping points where the ground bends or climbs.
  • The thinning. After the cube merge, thin() drops each leaf within 20 yd of its one neighbour (one pass, so a chain of short steps never erodes). Then it runs Douglas-Peucker in x, y and z along every chain between road points, leaves and branch points, so a climb is kept like a bend. A merged link is a bridge if any link it replaced was one. fit() picks the finest cell and tolerance from a fixed ladder that fits --budget (default 12,000), per continent. The build stops if no setting fits, or if a point loses its way to a road. --cell is gone.
  • Road join points merge too. Even the coarsest setting left 14,872 points (Vanilla, 2026-11-16), because every chain kept its own road point, about 11,000 per continent. network() now merges road points per cube like the ground points. Each is still a real walk-route point (18 ground specs pass).
  • Rebuilt 2026-11-16, every continent under 12,000: Eastern Kingdoms 9,799 points (cell 96 yd) and Kalimdor 9,221 (cell 128 yd) for Vanilla and WoW Forever (539,538 bytes). TBC is 10,080 / 9,497 / 10,959 with Outland (876,589 bytes). Tolerance 2 yd throughout. Bridges rose to about half the links. Sizes are with Questbook (reply 3d5772d2) for re-measuring.
  • In all three TOCs now. It was held out until Questbook re-measured (Peer Review 07143a52 G1). Questbook accepted the thinned file (reply 85c704a8): Eastern Kingdoms 50,000 nodes, 25.0 MB, built in 0.74 s, and Kalimdor 43,976 nodes, 23.7 MB, 0.43 s, in stock Lua 5.1, not the game client. Roads alone are 17.6 and 16.9 MB. Tests/toc_spec.lua now requires Ground.lua in every flavour. Whether the coarse off-road lines are accurate enough is for the operator to judge in game.
  • Reader doc fix: GetGround's points are positional {x, y, z}, not the named .x/.y/.z of path() points. The comment said otherwise (Questbook, reply 30555278).
  • Specs: Tests/test_build_ground.py (17 pass), declared in .writ-suites.json, and five reader cases in Tests/libquestdb_spec.lua.

Path thinning measures to the drawn segment, and reports its error

  • The report. Questbook (inbox 1c17f3e3) read "corners re-thinned below 60 deg" in the Paths.lua header as thinning by turn angle. The thinning is by distance (Douglas-Peucker at 8 yd, or 2 yd for a walk touching a capital). The 60-degree rule only adds points back around a sharp corner.
  • The defect, found while checking. _dp_keep in tools/questdb_common.py measured a dropped point's distance to the infinite line through the two kept points, not to the segment between them. A road that ran past where the chord stops and came back could be dropped while far from anything drawn. It now measures to the segment (_segment_distance).
  • The measurement. max_deviation gives the furthest a thinned polyline strays from the points it replaced. tools/build-paths.py prints its median, p95 and max per continent for the walks. Rebuilt 2026-11-16: on every continent of all three versions the median is 5.7-6.2 yd, p95 7.8-7.9 yd and max 8.0 yd, the tolerance. Vanilla and WoW Forever paths gained 110 points (45,770 -> 45,880). Approaches were rebuilt too.
  • Specs: Tests/test_build_paths.py gains three cases: a point beyond the end is kept, no dropped point strays past the tolerance with or without the corner pass, and max_deviation measures to the segment.
  • max_deviation fails loudly. It walks the thinned points by identity, so copies of the points would have measured everything against the first segment without a word. It now raises unless it met every thinned point (Peer Review 07143a52 G2). 38 pass.

Tried and reverted: lone spawns inside a capital

  • The problem: eight Vanilla NPCs with a single spawn point stand inside a capital, but are filed under the zone around it. They are Stormwind 5518, 5519 and 11026, Undercity 347, 2425, 2804 and 15007, and Orgrimmar 3189. ZoneMaps.locate (tools/questdb_common.py) ranks by depth alone at a point no overlay covers, so Stormwind's Dwarven District went to Elwynn and Undercity's Royal Quarter to Tirisfal. Orgrimmar's centre ranked the city first, but unnamed, so place_spawns' quest-zone vote chose Durotar.
  • What I tried: at a point no overlay covers, a flagged capital whose map has no overlays counts as named. It fixed all eight. But a city's box also covers its outskirts, and overlay gaps there moved into the cities too: Silverpine, Teldrassil, Elwynn and Durotar NPCs. Agreement with Questie fell (qdb-verify-parity Vanilla): NPC spawn areas 9,169 -> 9,161 and objects 6,258 -> 6,245. I reverted it, and rebuilt the spawns for all three versions with the old rule. Vanilla is back to 9,169 NPC spawn areas and 89.2% of Questie's points. A real fix needs a key that separates a city from its outskirts. That's on the todo list, and locate has a comment recording the attempt.
  • Second attempt, not yet rebuilt: measured on 1.15.8.67156's overlay and zone tables, the three saved points lie just outside the city overlay's hit rectangle on the zone map. Stormwind 5518 is 8 yd out on Elwynn's, Orgrimmar 3189 17 yd on Durotar's, Undercity 347 21 yd on Tirisfal's. The hit rectangle is a mouse-over box drawn inside the city's art. The overlay's texture is far too big to use instead: Stormwind's covers Northshire. So _covering now lets an overlay naming a capital reach CITY_MARGIN (25 yd) past its hit rectangle. Spec CityMarginOnRealMaps pins the three points on Vanilla's real maps, plus a point 68 yd out that stays unnamed.
  • Measured, then narrowed. Rebuilt for Vanilla with the margin on every point, five lone NPCs moved into their city (347, 3189, 5518, 5519, 11026). But edge points of five packs moved in too (Tirisfal 1537 and 1553, Durotar 3100 and 3105, and 6033), so NPC spawn-area agreement with Questie stayed at 9,169. Found by comparing the city lists of two qdb-verify-parity runs NPC by NPC. So the margin now applies only to an NPC or object with ONE spawn point: place_spawns re-locates that point with city_margin=True. A pack still decides by its other points. Specs pin both (22 pass). Undercity 2425, 2804 and 15007 stay under Tirisfal even with the margin.
  • Measured with the narrowed rule (Vanilla rebuilt): NPC spawn areas agreeing with Questie 9,169 -> 9,174, objects 6,258 -> 6,259, city differences 83 -> 78. All five lone NPCs fixed and no pack moved. Spawns and approaches rebuilt for all three versions.
  • Undercity is underground, so height decides the last three. 2425, 2804 and 15007 stand at z -60 to -64, more than 25 yd past the overlay. Measured from classicmangos.sqlite: Undercity's 359 city-named NPC points have median z -60.7, and the 5 Tirisfal-named points in its box sit at z 34-47. underground_cities derives this from the spawns themselves. A capital whose named points' median is more than 50 yd (UNDERGROUND) below its host's points in its box counts as underground. A lone point that deep inside its box then goes to the city. Stormwind and Orgrimmar are at ground level and never qualify. Specs, including one on the real database that files all three under Undercity. Rebuilt for all three versions: Vanilla NPC spawn areas agreeing with Questie 9,174 -> 9,177, city differences 78 -> 75, none of the eight left.
  • The parity count that moved by one was Questie's input, not ours. Every run on 2026-11-14 and 11-15 read 61,508 Questie NPC points and 50,359 object points, and every run on 11-16 read 61,496 and 50,360. Spec PlacementIsDeterministic places every Vanilla creature and object in two processes with different hash seeds and requires identical output (27 pass).

Forever quest walks: a removed objective no longer survives

  • merge_records (tools/build-forever-harvest.py) kept the record with the most named objective lines. So an objective the live client removed survived from an older walk (Peer Review 07143a52). Now the newest record whose every objective line names something wins. Only when no record is wholly named does the most-lines rule decide, so a bare counter still loses. Two new specs.
  • Rebuilt with the operator's new capture: 13 WoW Forever quests now have rewards, up from 8, among them three library books turned in to Garion Wendell (78142, 79092, 79093).
  • A window with no walk record in its own file was dropped. 78124 and 79091 were turned in on WoW Forever, but their walk record is in the beta file. My read_harvest only laid a captured window over a record in the same file, so both lost their reward and text. Now such a window becomes a record with an empty walk part, which merge_records never takes title or level from. Two specs. Its first run then stopped on the reader's count check, which counted those window-only records against the walk's own count; walk_records now counts only records with a title (46 pass). Rebuilt: 15 quests with rewards, all five library books among them.

WoW Forever's client tables move to the release client's build

  • The pin moved from 1.60.1.69913, a beta build, to 1.60.1.70938 in tools/questdb_common.py (WAGO_BUILD). That is the build the installed release client reports in the install's .build.info (product wowf), and the one ProfessionDB reads. The comment there wrongly said no Forever client is installed on this box; it now names .build.info as the anchor.
  • All 24 client tables QuestDB reads were fetched at the new build with qdb-wago-fetch. All of Data/Forever was rebuilt against them on 2026-11-16: zones, quests, quest XP, NPCs, spawns, paths, approaches, the captured NPCs and the quest harvest. The client now lists 6,626 quest ids, of which 3,091 are not covered by the dump. The harvest ships 1,697 of Forever's own quests, 8 of them with rewards.

Merging quest walks follows how TOGTools writes each field

  • Order. tools/build-forever-harvest.py merge() let the FIRST file listed win, and that was usually the older _classic_beta_ walk, so its wording could beat the live _forever_ client's. Files are now taken newest first by builtAt. Files with the same or no builtAt keep their listed order.
  • Empty can be the true value (Peer Review a8cbcfe8, M1). My field-by-field merge kept the first non-empty value, but TOGTools writes a group size of 0 and money of 0 as empty. So an older walk's group size 5 beat the live client's 0. Mixing the three reward fields across windows could also invent a reward set the game never showed, for example one window's items with another's choices. The new merge_records takes the walk's own fields from the newest record outright, and the rewards as one block from the newest record that has any. The window texts still fill field by field, because TOGTools fills them page by page.
  • A bare counter no longer beats a named objective (L1). Objectives and tooltip now come as a pair from the record whose objective lines still say the most once the counters are stripped. On a tie, the newest wins.
  • A window's empty rewards now count (Peer Review, reply 46d4fc9c). TOGTools writes a window's rewards and texts in the same handler, so the reward block comes from the newest record that saw a window, meaning it has a reward or a window text. An empty block there means the window showed no rewards. read_harvest never read TOGTools' saved rewards table. So when a re-walk rewrote a quest's record to seven fields, laying the texts back over it padded the rewards empty. It now reads that table and lays it back over the record. Known limit: a window with no rewards and no texts can't be told apart from no window at all.
  • A record shorter than the walk's seven fields no longer raises IndexError in the merge.
  • Trade hubs: build_hubs in tools/build-forever-npcs.py now stops on an NPC listed in two hubs (L4). Before, GetNPC's hub would have depended on table order.
  • Parity report: tools/verify-parity.lua takes an optional second argument of area ids and lists every NPC whose spawn areas differ from Questie's there. Before, it showed only the first four differences per field, so it couldn't answer Peer Review's L3: whether the pack rule moves capital-city NPCs into the zone around the city. Run on Vanilla for the six capitals: 83 of 1,236 NPCs differ. Eight are filed under the zone where Questie has the city: Undercity 347, 2425, 2804 and 15007; Orgrimmar 3189; Stormwind 5518, 5519 and 11026. Each has a single spawn point, so the pack rule is not the cause. It's a separate city-edge problem in placing a lone point, now on the todo list.
  • Specs: 11 new cases in Tests/test_build_forever_harvest.py (41 pass). They cover both orders, the tie, group size 0, the reward block, choices and money surviving a merge, the bare counter, a newer window clearing older rewards, a walk record keeping them, short records, and the rewards table overlay. One older case now sets builtAt, because which file is newer decides the rewards. 1 new case in Tests/test_build_forever_npcs.py (19 pass).

Capital-city NPCs are filed under the city, not the zone around it

  • The report. Questbook (inbox 0815edb5, then ba315bce for WoW Forever): the Places tab listed Stormwind's hunter trainers under Elwynn Forest, Ironforge's under Dun Morogh, Darnassus's under Teldrassil and Thunder Bluff's under Mulgore. I got ZoneMaps.locate wrong: a city's map has no exploration overlays of its own, so the zone map around it, whose overlays name its own sub-areas, was the only "named" candidate and won.
  • The fix, in tools/questdb_common.py, three parts. An overlay on one candidate's map that names another candidate's area now counts for that other map (Elwynn's Stormwind overlay files the point under Stormwind). A map with no overlays whose rectangle lies wholly inside another containing map's is treated as a city, and wins when no overlay names it anywhere (Ironforge: Dun Morogh has no overlay naming the city), limited to areas the client's AreaTable flags as capitals (Flags_0 bit 0x100): unlimited, it also claimed Moonglade on WoW Forever, whose map has no overlays there. A spec now runs the rule against each version's real map tables. And an overlay with an empty hit rectangle is dropped at load: Forever's client carries one naming Ironforge with all four edges zero, which blocked the second rule on Forever only.
  • Checked in the data for Vanilla, TBC and Forever: Stormwind 5515 / 5479 / 2879 and Woo Ping 11867 carry 1519, Ironforge 5115-5117 carry 1537, Darnassus 4138 / 4146 carry 1657, Thunder Bluff 3038 / 3039 carry 1638. Spawns, zones and approaches were rebuilt for all three.
  • Parity with Questie 12 rose on Vanilla (qdb-verify-parity, 2026-11-14): NPC spawn areas 85.7% -> 89.3% (9,037 of 10,119), and Questie's spawn points with one of ours within 1% of the map 87.3% -> 88.2%, against the 2026-09-29 figures below. TBC: spawn areas 88.0% -> 91.2% (16,878 of 18,498), spawn points 89.4% -> 90.6%. TBC had stopped at load, because Questie ships one package per flavour and the copy beside QuestDB has only QuestieDB_Vanilla.toc. tools/verify-parity.lua now reads TBC's QuestieDB from the _anniversary_ install when it is not beside QuestDB.
  • Specs: Tests/test_questdb_common.py gains CapitalCityLocate (four cases, including a point inside a city's box but off its overlay, and a border neighbour that must not be taken for a city) and EmptyOverlayRects.

A pack's edge points stay with the pack

  • The defect. Jademir Oracle, Boughguard and Treespeaker (5317, 5319, 5320) had most of their points in Feralas and two or three filed elsewhere: under Shen'dralas (16651) on WoW Forever and under the Barrens on Vanilla. Every Jademir Lake point lies in the Feralas, Barrens and Mulgore boxes, and on Forever the edge ones in Shen'dralas's too. I wrote place_spawns' pack rule to count only points with a single candidate, so it never fired, and an edge point no overlay covered fell to the deepest box. Shen'dralas could not object: every one of its overlays has an empty hit rectangle on Forever's client.
  • The fix. A point that exactly one candidate's overlay names now counts toward its entity's settled zone, as a single-candidate point does. Spec: PackRuleCountsOverlayNamedPoints in Tests/test_questdb_common.py.
  • Shen'dralas is real. It is a zone WoW Forever added where Classic's far-west Mulgore was, with Valley of Bones, Magram Front, Outcast Hideaway, Bristleback Retreat, Evenshade's Overlook and Forlorn Gardens under it. So the Outcast Necromancer (11559) filed there is correct and stays.
  • Rebuilt and measured (2026-11-15): spawns and approaches for all three versions. 5317, 5319 and 5320 are now all Feralas on Vanilla and Forever, and 11559 stays under Shen'dralas. Parity with Questie 12 (qdb-verify-parity) rose against the capital-city figures above: Vanilla NPC spawn areas 89.3% -> 90.6% (9,169 of 10,119) and spawn points within 1% 88.2% -> 89.2%; TBC spawn areas 91.2% -> 92.2% (17,052 of 18,498) and spawn points 90.6% -> 91.3%.

WoW Forever's own NPCs, from an in-game capture (in progress)

  • The request. Questbook (inbox 3b67730f): the trade hubs' traders, so the Places tab and HUD can find them. Forever's NPCs are in no offline source: QuestDB's Forever world data is Classic's dump, and the same names in QuestieDB's Season of Discovery data carry SoD's ids (213077, 214096-214101), while Forever's are its own (256729-256735 at Three Corners, Redridge).
  • New tools/build-forever-npcs.py reads TOGTools' NPC capture (inbox 4144495b): name, subName, the faction a character saw it as friendly or neutral to, and where the player stood when it was targeted. It ships only ids the dump does not have, drops companions and pets, and drops exact duplicate positions. Output goes to two new files, Data/Forever/_core/HarvestNPCs.lua and Data/Forever/enUS/HarvestNPCText.lua. Specs: Tests/test_build_forever_npcs.py.
  • KNOWN GAPS. Only the Alliance side has been captured, so a hub trader's side reads A until a Horde character sees it. Level, rank and npcFlags are not visible to the capture. The Alliance hub is fully captured (Marcy Baker 256390, Elaine Compton 256391, Tamelyn Aldridge 256389, Huey Sunnydale 256736, Dianne Softstep 256742, whose title is Uncertified Scribe): 18 Forever NPCs ship, 17 of them at Three Corners.
  • Trade hubs (MINOR 21, capability trade-hubs). GetTradeHubs() and GetTradeHub(id) describe each hub: name, side, centre on the zone map, and every NPC there with a lib.TRADE_ROLE (intake, contracts, supplies, mule, scribe, profession, auctioneer). GetNPC carries tradeHub / tradeRole on a member, so Questbook finds the crate intake without a list of ids. Roles are assigned per id in the new tools/forever_trade_hubs.json. The hub's NAME is the client's own: the tabard item 262765 "Azeroth Commerce Authority Tabard", minus " Tabard" (Forever's ItemSparse); 262764 names the Horde hub when it is captured. The centre is the mean of the members' points. The generator refuses a hub whose member fell out of the capture or carries a role the library does not name. A spec also checks that the generator's role set and lib.TRADE_ROLE match. Only the Alliance hub ships: hub 1, area 44, centre 10.32, 72.33, 13 NPCs. The Horde hub waits on a Horde character of about level 20, which may never happen.
  • Not verified: that Marcy Baker ("Inventory Intake") is the one who takes the crates. That comes from Questbook's third-party sources, not from the game.
  • The quest harvest was re-run on the larger walk: 1,664 of Forever's own quests now ship (was 775), still with no recorded rewards. Quest 91899 "A Sealed Crate" is not in the walk yet.

WoW Forever quests: their own description and completion text

  • The report. The operator's Questbook screenshot (2026-11-15): "Friend of the Library" (78150) said "The full quest description is not available yet" and "Rewards: None". The in-game walk records only a quest's title, level and log summary; the client gives an addon the description only while the quest window is open.
  • TOGTools now records the window (inbox de72ae36): the description and objective text on the offer page, and the completion text on the hand-in page, as optional record fields 11-13 and in a separate questDB.texts table that survives a re-walk.
  • tools/build-forever-harvest.py ships them as details, as objectives in place of the tooltip summary, and as offerReward. merge now keeps whichever file's record has more fields, in either order. Spec: QuestWindowTexts in Tests/test_build_forever_harvest.py.
  • Not in the data yet: it needs quest windows opened in game, then a re-run of the harvest.
  • Also: tools/build-forever-npcs.py drops the vanity pet Mini Diablo (272328), which a newer capture took in as a Stormwind NPC. The capture has no field that marks a companion, so it is listed by id.

.pkgmeta carries no comments

  • The comment lines are gone, under the standing rule that a .pkgmeta holds none. So is curseforge-project-id:, which the packager does not read (the id comes from the TOC's ## X-Curse-Project-ID:). The slug the comment recorded is in README.md. The ignore: entries are unchanged, including the ones that match no tracked file today (*.bak, Thumbs.db, *.sh): they keep a stray local file out of a release zip.

Test harness moved forward; the Lua suite no longer crashes

  • Tests/wowapi moved from ec71c24 to 93655e6. At the old pin the runner's per-file time limit, which counted wall-clock seconds, fired on data_spec.lua on a busy machine and escaped as a raw table, so the suite died with error object is not a string and ran nothing after it. The harness had already fixed that (WoWAPITesting, inbox a4583bf8); the limit now counts work, not seconds.

Rewards for WoW Forever's own quests

  • The report. Questbook (inbox 7565d553): in WoW Forever, Brother Paxton's "Rare Books" (91777) offers Militia Bow (276685), and Questbook's Rewards tab did not list it. GetRewards answered nil for all 775 harvested Forever quests, because I built the harvest without any reward field: the walk never recorded one.
  • tools/build-forever-harvest.py now reads three optional fields appended to TOGTools' quest record: reward items and reward choices (itemId:count lists) and reward money in copper. A malformed entry stops the build rather than shipping the wrong item.
  • New Data/Forever/_core/HarvestRewards.lua, loaded right after Rewards.lua in QuestDB_Camelot.toc, carries a Rewards-shaped row (items, choices, money, quest level) for every shipped harvested quest that records a reward. It does not declare the expansion; Rewards.lua stays the one file that does.
  • KNOWN GAP: it is empty today. The existing walk (2026-09-28) recorded no rewards, so Militia Bow still does not show until TOGTools records rewards and the generator is re-run. That request went to TOGTools on the same date. A by-id read of an unlogged quest's rewards is not shown to work on Forever's client (its Vanilla quest UI reads the selected log entry or the quest-offer frame), so the capture has to happen when a quest is seen.
  • Reputation, spells, the source item and at-cap money are not recorded, so GetRewards derives no XP for these quests.

Dev sync and credits

  • wow-version-replication.ps1 now also syncs into WoW Forever's own _forever_ install, and keeps a destination when the version folder exists rather than its Interface\AddOns folder, which a new install does not have yet.
  • The CurseForge credits name the in-game collector by its current title, Ultimate Tools.

[v0.1.0] (2026-09-29) - Routes into caves, WoW Forever's own quests, and Questie 12's QuestieDB split checked

WoW Forever's own quests, from the client itself

  • The report. The operator found a Forever quest the library did not know, "Grund and Gozwin" (97277). Forever adds about 1,795 quests of its own, and nothing offline describes them. QuestieDB 1.0.4's Forever store holds exactly Vanilla's 4,257 ids, and Forever's QuestV2 table carries no titles.

  • The source is an in-game walk. TOGTools (inbox 76745964) asks the Forever client about every id GetCoverage answers "uncovered" for, and saves what comes back. The first walk capped ids at 65000 while Forever's own run to 99234, so it found only 64 leftovers. That cap was in my request, not in their code. The second walk, finished 2026-09-28, returned 833 quests.

  • New tools/build-forever-harvest.py reads that SavedVariables file and writes two new Forever files, both in QuestDB_Camelot.toc:

    • Data/Forever/_core/Harvest.lua gives each quest a structure row carrying its level and suggested group size.
    • Data/Forever/enUS/HarvestText.lua carries the title, the log summary, and every objective line that still says something.
  • 775 quests ship; 58 were dropped:

    • 57 were Blizzard placeholders the client still answers for: <UNUSED>, <NYI>, [Never used], test quests, and the two Wabbit quests on Designer Island.
    • 1 ("Toast!?") came back with no level. An empty structure row is skipped on load, so its title would have had no quest behind it.

    The run prints every dropped title, so a real quest caught by the filter shows up.

  • Required level is "not known", not 0 (MINOR 20). The walk cannot see it. An empty field would read as 0, which a quest list's level filter takes as "open at level 1". Harvested rows carry ?, which GetQuest and GetQuestHeader return as requiredLevel = nil, so a consumer must handle nil there. Dump rows are unchanged. This came from Peer Review, audit 36140a10.

  • What the walk cannot see is left empty: givers, finishers, objective targets, zone, prerequisites and rewards. These quests have a name, a level and what to do. They have no map pin.

  • Kill and item objectives lose their names. The client had not loaded the creature or item, so it answered "0/10 slain". Those lines are dropped. Custom lines such as "Listen to Elaadrin" are kept.

  • Separate files on purpose. Quests.lua and Text.lua are built from the dump, and the specs pin their counts. The harvest never shares an id with them: the converter only accepts ids Coverage.lua lists as uncovered.

  • Specs. A new Python suite, Tests/test_build_forever_harvest.py, has 15 tests. They cover the SavedVariables reader, the filter in both directions ("Testing the Wells" is a real quest and is kept), and both row shapes. data_spec has 4 new Forever specs: the header counts match what loads, every id was uncovered and overrides nothing, no placeholder title ships, and "A Grand Adventure" (92709) reads as the client describes it. toc_spec accepts HarvestText.lua as a per-locale text file.

Retired quests: a third hidden reason (MINOR 20)

  • Asked for by a consumer. Questbook (inbox fc73aa34) found quest 8788 "A Gently Shaken Gift" listed as Ready. Its only reward, item 21271, is named "DEPRECATED ITEM"; its twin 8767 is the live one. Both start from the same gift object, so 8788 was not "unobtainable".
  • hidden = "retired", capability retired-quests, on GetQuest, GetQuestHeader, IsQuestHidden and GetHiddenQuests. It means something still starts the quest, but the game has retired it. Precedence is unobtainable, then retired, then seasonal.
  • Two signals, both measured before use:
    • A text field carries Blizzard's [PH] placeholder marker. Era: 7 quests, the mount-exchange quests 7671-7678, all in the turn-in text. TBC: 3, but none has a giver, so they stay "unobtainable".
    • Every item the quest rewards is named "DEPRECATED ..." by that game version's own client item table. Only Forever's client renames 21271, so only Forever flags 8788. The Classic dump and Era's and TBC's clients all call it "Gently Shaken Gift". So on Era, 8788 still shows. Questie hides both 8788 and 8767 on Era; that list is compared against, never copied.
  • Result. Era 7 retired, TBC 0, Forever 8. Forever's seasonal count drops from 327 to 326, because 8788 was seasonal before.
  • 7674 "Black Ram Exchange", the second quest Questbook named, is one of the seven.
  • build-quests.py now reads the client item table (wago ItemSparse, one per version). Specs: one new reader spec for all four readers, the capability lists, and an exact per-version id list in data_spec. Coverage on LibQuestDB-1.0.lua is 960/960.

City routes follow the streets

  • The report. Questbook (inbox 684f18d9) relayed the operator, in Ironforge: "still having issues following routes in towns, like ironforge, we need to follow usable routes". The drawn route crossed the buildings between the Commons and the Great Forge.
  • The cause was my thinning, not missing data. Every Ironforge walk link already carries the route the bots walked (26 links between 8 nodes, 9 to 70 raw points each). But walks were thinned to within 8 yards of that route, and a city street is narrower than that. The innkeeper to King Magni walk shipped 7 points over 350 yards, one of them a straight 125-yard chord.
  • Fixed. build-paths.py --city-tolerance (default 2 yards) now thins every walk with either end inside a capital city. A capital is found by name in the client's own AreaTable, through the same zone placement the spawns use. A node counts when ANY zone map showing it is the city, so a node at the city's edge, such as Ironforge's gate, counts on its own (Peer Review, audit 36140a10; pinned in Tests/test_build_paths.py). That walk now keeps 14 points, and no stretch is longer than 90 yards. It is pinned in data_spec on all three game versions; TBC numbers the same two nodes 740 and 1347. Sizes: Vanilla and Forever Paths.lua 877,509 to 901,007 bytes, TBC 1,324,145 to 1,357,933.
  • Cave routes unaffected, checked. build-approaches.py reads the dump, not Paths.lua. Rebuilt on Vanilla after the change, it gave the same 10,346 routes and the same 1,141,656 bytes. That was compared by size and count, not byte for byte.
  • Not more nodes. The dump has no other Ironforge street nodes, so none can be added from it. The leg from the player to the first node, and from the last node to a target, is still the consumer's to draw. Not verified in game.

Breadcrumbs the dump stores as required pre-quests

  • The report. Questbook (inbox 68f14a22): a player on Classic Era, with other addons off, took 33 "Wolves Across the Border" without 5261 "Eagan Peltskinner", and got no "this closes a breadcrumb" warning. The dump sets 33's PrevQuestId to 5261 and leaves 5261's BreadcrumbForQuestId empty. So 5261 shipped as a required pre-quest, and anyone who skipped it saw 33 marked as needing it.
  • Fixed for that pair on Vanilla and Forever: 33 has no pre-quest, 5261 is a breadcrumb for 33, and 33's breadcrumbs lists 5261. TBC's dump has the same shape, but nobody has reported it there, so TBC is unchanged.
  • The class is 37 pairs on Era, and only this one is fixed. Decoding Questie 12's QuestieDB store gives 204 breadcrumb pairs. The dump already marks 113 as breadcrumbs, stores 37 as the destination's required pre-quest like 5261, and links 54 some other way.
  • No rule based on the dump alone can find them. The best one tried, "a quest with no objectives whose finisher gives the next quest", flags about 450 pairs to catch 34 of the 37. The dump stores an optional "go talk to X" quest exactly like a required chain step. Questie's list is measured against and not copied, so the fix is a hand-kept list: tools/breadcrumb-corrections.json. Each entry is a pair verified in game and names who verified it. build-quests.py applies it.
  • Players with Questie installed were not affected. With Questie present, preQuestSingle and breadcrumbForQuestId come from Questie (QuestieSource.lua).

Spawn approaches: a walking route into a cave, not a line over it (MINOR 19)

  • Asked for by a consumer. Questbook (inbox 7ad98754) relayed the operator, in game on Forever, tracking a target in the Frostmane troll cave in Coldridge Valley: "drawing a straight line to the guy, when it should guide me to the cave entrance, then through the cave". The path graph has no node near that cave, so no router could do better; the route had to be data.

  • QuestDB:GetSpawnApproach(kind, id, areaId, x, y), capability spawn-approach, new file Data/<Flavour>/_core/Approaches.lua in all three TOCs. It answers a route from a walk node of GetPathGraph(continent) to a quest spawn point, in world yards, or nil when nothing better than a straight line is known.

  • Keyed by the spawn's map position, not the index the contract suggested. With Questie installed, GetNPCSpawns answers from Questie's rows, whose points are in a different order, so an index would name the wrong spawn. The reader takes the nearest shipped point within one map percent. 93.6% of Questie's points have one of ours that close.

  • The source is where things stand. The dump has no navigation mesh. It does have every creature, object and patrol point, each somewhere a thing actually stands. The new tools/build-approaches.py chains them outward from the graph's walk routes, in steps of at most 22 yards on a walkable slope. It bridges gaps up to 120 yards at a steep cost where nothing stands in between. The Coldridge cave's mouth is 87 yards from the nearest valley spawn, so it needed a bridge. A route ships only when it strays more than 25 yards from a straight line.

  • Measured. Vanilla: 10,346 of 65,528 quest spawn points get a route (320 out of every reach), 1.14 MB. TBC: 16,107 of 92,000 (671), 1.93 MB. Forever is the same as Vanilla because it reads Classic's dump. Generation takes about 1.5 minutes per flavour. On all three, Grik'nir the Cold's route enters the cave at (-6466, 368) and runs down to his spawn.

  • What it does not know. It does not detect a cave: it detects that the ground route bends, which is the case a straight line gets wrong. A bridge is a straight line across a gap nothing occupied. That is usually a tunnel and could be rock. Not verified in game.

  • Specs. The reader has 7 new specs. The shipped data gets 4 per flavour: every route starts at its node, names a shipped spawn point, and matches the pinned count, and the Coldridge route goes in through the mouth. The new Python suite Tests/test_build_approaches.py has 13 tests over the search on synthetic geometry: a cliff is not climbed, a tunnel is bridged, and a chain beats a shorter bridge. Coverage on LibQuestDB-1.0.lua is 959/959.

  • One placement, one thinning, one continent table. The generators now share code instead of each keeping a copy:

    • Spawn placement moved from build-spawns.py into questdb_common.place_spawns, which also returns each point's world position.
    • douglas_peucker moved from build-paths.py to questdb_common.
    • CONTINENTS moved to questdb_common.
    • build-drops.py gained sources_by_item.

    NPCSpawns, ObjectSpawns, Paths and Drops regenerate byte-identical on all three flavours after the move.

Everything else

  • The replication watcher never deletes a replica while the source still has the file. This was TOGProfessionMaster's finding (inbox 6d593ab7): an editor that saves by replacing a file can make it vanish for an instant. Our copy polls, so the most it could have lost was one 2-second poll. The guard went in anyway. Dev tooling only.

  • Dev sync reaches WoW Forever. wow-version-replication.ps1 already listed _classic_beta_, and the Forever client is now installed there, so the watcher copies into it. Its comment no longer says nothing is installed, and now says the destination list is built once at startup: restart the watcher after installing a client. Dev tooling only, nothing ships.

  • Questie 12.0.1 split its data into a separate QuestieDB addon; no code change is needed. Read against the installed copies: QuestieSource.lua reaches Questie through QuestieLoader:ImportModule("QuestieDB"), which still exposes QueryQuest / QueryNPC / QueryObject (now bound to LibQuestieDB.<Type>.GetAll, still one positional table per call) and a QuestPointers id map. Every field name we request is still a key. Load order holds: Questie has RequiredDeps: QuestieDB. Not verified in game.

  • QuestieDB's Forever store does not carry Forever's own quests either. Decoded every X-Quest-<id> row of QuestieDB_Forever.toc and QuestieDB_Vanilla.toc (1.0.4): 4,257 quests each, the identical id set, zero Forever-only ids. So preferring Questie cannot close the Forever gap. Found from "Grund and Gozwin" (Dun Morogh, level 6), a Forever quest built on two NPC ids our Classic data lists as unused (2756, 6046). Forever's client DB2s carry no quest titles either (QuestV2 is id and flags only). The one remaining source is the Forever client itself: C_QuestLog.RequestLoadQuestByID plus QUEST_DATA_LOAD_RESULT can load a quest by id. That is what the TOGTools walk in "WoW Forever's own quests" above uses. The walk showed objective text does come back for a quest nobody holds, though kill and item names often do not.

  • The data builders run through two writ desk tools. qdb-build-data accepts only one of ten builders and one of Vanilla, TBC or Forever. qdb-forever-harvest takes no input. Writ fingerprints every builder file and refuses a run after one changes, until the operator approves again. So the tools cannot be used to run an edited script. Dev tooling only; not yet approved or run.

  • The suite is green again against Questie 12. WoWAPITesting delivered a loader for the real QuestieDB addon (835bc59, inbox ca4893c4), pinned through the new wowapi-pin desk tool. It is now at ec71c24, whose forgetQuestieDB() the spec calls in teardown so QuestieDB's globals do not leak into later spec files (inbox 35888ec6). One of those globals is ItemDB, which is also LibItemDB's. Tests/questie_source_spec.lua now builds its Questie rows through Questie 12's own query module. Result: 333 passed, 0 failed; coverage is 957/957 on LibQuestDB-1.0.lua and 221/221 on QuestieSource.lua.

  • GetNPCIds / GetObjectIds list a source's ids too (MINOR 20). The spec guarding this went red on its first run against Questie 12: QuestieDB knows NPCs 185333-185335, which the dump does not. So HasNPC answered for ids GetNPCIds never listed. There are two new source readers, npcIds and objectIds. QuestieSource.lua answers them from Questie 12's NPCPointers / ObjectPointers, and the three id readers now share one function.

  • Parity re-measured against Questie 12 (2026-09-29, through the new read-only qdb-verify-parity desk tool). tools/verify-parity.lua now reads Questie 12's QuestieDB through the harness loader instead of the pre-12 reader. Headline figures, Era then TBC:

    • breadcrumbs 97.6% and 97.3%;
    • chain pointers 94.7% and 95.6%;
    • exclusivity 94.8% and 94.7%;
    • prerequisites, exact, 91.8% and 90.6%;
    • Questie's hidden quests we also hide: 81.2% (273 of 336) and 90.9% (930 of 1,023);
    • NPC spawn areas 85.7% and 88.0%;
    • Questie's NPC spawn points with one of ours within 1% of the map: 87.3% and 89.4%.

    The NPC spawn figures fell from 90.1% and 93.6% under pre-12 Questie. Our data did not change, so Questie's did; which rows moved was not examined. Questie 12 moved its zone, drop-table and item-fix files, so the checks that read them now find nothing to compare.

  • Docs brought level with the code for the release. The README's WoW Forever section said a harvested quest's required level "reads as 0". That was wrong: since MINOR 20 it is nil. I corrected it and added the nil to the GetQuest and GetQuestHeader tables. The MINOR table gained its missing entry 20. The source-preferred list now names GetNPCIds and GetObjectIds. The walk row notes the 2-yard city thinning. The Features list gained retired quests and breadcrumb corrections. A note says the Load* / SetSource / SetShippedLocales methods are for the Data files only. The CurseForge page gained the reverse item lookup, hidden-quest reasons, RegisterSourceChanged and the nil required level in its example and rules.

Older releases have been moved to CHANGELOG_ARCHIVE.md so this file stays under the 125,000-character limit GitHub imposes on a release body.

This mod has no related projects