NPC mapping integration
The complete selected catalog from the NPC mapping research is retained
verbatim in tools/data/npc_assignments.json. Its SHA-256 is
0db82f6bd1dde17f95c921daf3ccb1a99c28c0761929d8fcba5be46d8ebdc6ac.
It contains 1,830 maintained population codes, 136 summoned actors and 44
dependency references. Summon and dependency records are evidence, not new
public spawns. Confidence, alternatives and per-context variants remain intact.
The merge changes only identity/appearance metadata in maintained groups.
All 11,965 group IDs, 68,609 requested placements, coordinates, inclusive level
ranges and raw population records are preserved. Identity fields change in
5,668 groups covering 15,505 placements. Per-group comments preserve the finer
handoff evidence, which is sometimes more specific than the grouped catalog.
The runtime now separates 68,023 character placements from 586 static resources.
Among the characters, 13,291 placements retain best_effort status; filling a
name or body does not recover its historical stats, equipment, loot or AI.
Initial runtime placement separately adjusts the 23 admitted district-center fallback combatants to dry samples within their original district cells. The catalog and raw coordinates above remain intact. Original sampling and the remaining roaming-water failure are documented in NPC placement.
tools/data/npc_assignments.py validates maintained choices against the complete
catalog. Population generation reapplies maintained per-group metadata after
source allocation, preserving those evidence comments and current level ranges.
The handoff's older single-level zone files and Go implementation were not
copied over the current implementation.
Profile admission
Generic species profiles require inferred_species evidence and a matching
MonsterData body. An explicitly template-bound profile can also accept
best_effort evidence for that exact code and matching body. Both paths use
NPCGroup.SupportsCombatProfile; loading, replacement and catalog validation
share the rule. A fallback body alone cannot acquire Leet health, XP or loot.
This retains the separately reviewed SR01 profile without promoting unrelated
best-effort identities to complete combat templates.
Static resources
CARO uses original Carbonrich Rock item150274, native identity type51005 and
static mesh55669. It receives SimpleItemFullUpdate packets through the existing
world-item path, rather than FullCharacter packets. Original client inspection
of kkr.dll SimpleItem activation at 0x100b2830 confirms template setup,
ordered stat overrides and quality701 being copied into level54. Actual WASM
rendering verifies the mesh; this is not a recovered historical server spawn
capture.
Source placement ordinals remain stable and separate from global item IDs. Entering a zone allocates its missing resource instances in one normal item transaction. Unique resource locations prevent duplicate allocation; page reconnects and cold loading reuse the same instances. The current SQLite schema stores resource placements directly, with no migration or legacy reader. Allocation failure publishes neither partial items nor a new item counter.
The original source level range currently selects resource quality using the existing inclusive placement cycle. That policy is provisional. Rocks are inspectable world objects. Reviewed carry-only rocks can now be collected through the shared world pickup path, with independent durable depletion and native pickup-template delivery; see resource pickup. Replenishment, extraction-tool eligibility and resulting tradeskill items remain open. Rocks cannot be attacked as characters. Summon mappings likewise still need pet ownership and lifecycle integration before they constitute playable summons.
Evidence and checks
Local evidence is retained under local/npc-mapping-integration/, including
the original reports/scripts, pre-merge definitions, structural comparison,
catalog hashes, test logs and isolated GPU WASM captures. The handoff's
reproduction, catalog rebuild, coverage, structural, abbreviation, Python and
Go checks pass. Rebuilding the catalog reproduces the retained JSON exactly.
New regressions cover static-item packets and zone scope, stable other-NPC identities, replay/cold load, unknown or mixed asset contracts, eight database failure modes, counter exhaustion, the former pickup refusal, refused creature combat and explicit versus generic profile admission. The complete Go run plus the corrected unresolved name fixture retest cover 1,691 roots / 16,603 passing results. The original full invocation retains one failure: its Acolyte Seleen test assumed the newly mapped NPC must still be a Leet stand-in. The corrected test constructs its intended unresolved fixture explicitly. No production code changed after the full run started or after the native-tested server build.
Related tests pass 113 roots / 340 results; focused resource/profile tests pass
12 roots / 37 results; the race run passes 8 roots / 33 results. go vet passes.
The three mapping-tool Python regressions pass in addition to the handoff's
21 Python checks and gamedata suite. These are separate runs; the original
full-suite failure is preserved rather than relabeled as a clean invocation.
Isolated GPU WASM checks show Good Time Party Mixer as an Opifex female, Sir Bors as a level300 human and Stankel as the selected creature. Native Tab selection and T inspection complete for all three. Wire captures independently confirm MonsterData26137, 26131 and 85351 respectively. An initial Sir Bors approach ended outside targeting range; the west approach passes. The five Parnassos rocks render and show the original Carbonrich Rock item description, remain world objects across page reconnect and cold server restart, reuse the same five item IDs, and have no corresponding character instances. The fixture's nine owned items and credits remain intact. Controlled character warps establish these initialization/rendering claims, not ordinary travel or earned progression. Extraction-tool processing and playable summons are not covered by these checks. Later raw pickup checks are recorded separately in resource pickup.