Population data in the selected 14.9.1 client
The source is anarchy-vanilla-14.9.1/cd_image/data/db/ResourceDatabase.idx and
ResourceDatabase.dat, with client version marker 14.9.1. The index SHA-256 is
46e5dc54af9358cc9bff05f4358e86af630e497bc677f361c133c88073b84d71.
These are client population directives and appearance resources, not a recovered
historical server database. The original 11.0 findings remain in game-data.md.
District formats
All 370 population resources of type 1000014 decode to exact EOF. Of these, 263 use format 5 and 107 use format 6. There are 2,452 districts, 6,481 ordinary template/count groups and 4,834 fixed-spawn records, including dependency maps.
The container and unchanged format-5 fields are documented in game-data.md. Compared with format 5, format 6 changes these district fields:
- The district name has a uint16 LE byte length instead of a fixed 32-byte field.
- NPC minimum and maximum levels become uint16 instead of bytes.
- Two uint16 land-control level values replace the discarded four bytes.
- The unused extra-info count and extra-info records disappear.
The optional fields on fixed spawns matter independently of the district version.
In the inspected dataset, 3,149 fixed spawns have flags 0 and 1,685 have flags 1.
Bit 0 adds four bytes after the ordinary fixed-spawn fields. These are retained
as optional_flags; their AI meaning is not established. Other flag bits are
rejected rather than silently skipped. All zone-to-district indices were checked.
The format reference is
AODB PlayfieldDistrictInfo,
specifically ReadDistrict and ReadHashSpawnPoint. Successful alignment across
the actual client records corroborates the serialization, not the reference's
claims about later AI behavior. Per-resource hashes and offsets are retained in
server/gamedata/zones/zone_<playfield>.yaml and PopulationEvidence, loaded from
server/gamedata/population_evidence.yaml. Original district fields, spawn radii,
level ranges, timings, flags and stat words are retained in typed source records.
Each curated playfield, district and NPC group links to its corresponding source
through Source or FixedSource; raw records without a live population remain
in PopulationSources.
Appearance, names and historical limits
Type 1040023 contains 290 appearance definitions using the same inspected
version-15, section-23 prefix. Mesh IDs, names and initial stats are extracted.
Five referenced mesh IDs have no match in the inspected filename registry;
their MeshFilename remains nil in gamedata.Monsters. An appearance definition does not establish
which district code uses it or supply complete NPC stats, equipment or loot.
Population generation represents 68,609 requested instances in 251 playfields, excluding the same internal dependency maps as the original extraction. Ordinary point allocation, fallback positions, species assignments and level selection remain provisional. The original source still does not supply complete templates.
The complete mapping integration now supplies per-context identity choices for every maintained group, retaining uncertainty and alternatives. Runtime population is 68,023 characters and 586 static Carbonrich Rock resources. The research passes described below explain the evidence behind those choices; their intermediate placeholder counts are not the current runtime totals.
server/gamedata/npc_names.yaml holds curated name and base-species evidence, with sources,
confidence and comments. The original set matches 40 Temple of Three Winds codes
against AO Universe's loot table.
The dungeon identity and abbreviations corroborate names; they are not direct
template links. Name evidence is copied into each generated batch's comment.
Appearance confidence remains independent: a named Guardian of Tomorrow can
still have a clearly marked placeholder model.
The population research uses the 879-page Fandom mirror in
~/tmp/fandom-scraper/anarchyonline.db (SHA-256
012badc22701141d936a50ae574cdeb663cf5b02ca7c27a39ea80b64ded41b11),
the selected client's named appearance records in server/gamedata/monsters.yaml,
and CellAO-NightPredator's mobtemplate.sql at commit
ca77f375a7dabe3be769da94e6c2a3d093344c2c. The wiki source URLs and pinned
CellAO file are retained in npc_names.yaml. Wiki content is attributed to its
Fandom contributors under CC-BY-SA; the mirror includes later game changes.
The dungeon and CellAO matches resolve 32 codes across 135 fixed-spawn instances:
| Context | Examples | Evidence |
|---|---|---|
| Condemned Subway | ASSU = Abmouth Supremus; VEAE = Vergil Aeneid; WOST = Workman Striker | Dungeon guide and named client appearances |
| Camelot basement | ARAS = Tarasque; MOLE = Morgan Le Faye; LRGS = Lord Ghasap | Dungeon guide; named appearances for ARAS and MOLE |
| Biomare | LADI = Lab Director; CHVI = Chemical Vindicator | Dungeon and monster-list abbreviations |
| Steps of Madness | NETH = Neleb the Deranged; UNFE = Unrelenting Fear | Dungeon guide and abbreviations |
| Cyborg Barracks | PRIN = Prototype Inferno | Dungeon, abbreviation and authored level range |
| Temple of Three Winds | ACVE = Acolyte Verona; MUTE = Murial the Faithful; TRRN = The Re-animator | Existing loot guide and abbreviations |
| CellAO exact hashes | PUEU = Ofoz; MPGO = Male Prison Guard | Explicit external hash-to-name records |
Of the 168 CellAO template inserts, only PUEU and MPGO overlap the selected
client population codes. These use confidence external_hash: an explicit
later-emulator mapping, not proof of a historical server template. Their
appearance, clothing, stats and loot were not imported.
Sixteen codes also match named client appearances, replacing 89 Leet stand-ins.
These mappings live in tools/data/generate_npcs.py and remain inferred_species.
For example, MENI matches the single level-20 spawn guarding the subway's lower
passage, the guide's Eumenides, and appearance 203726 (eumenides). A name or
appearance match does not establish behavior, faction, equipment or loot.
IDs, coordinates, levels, placements and raw source records remain unchanged.
The expanded catalog also records 385 per-code mappings. These combine named
client appearance records, authored species-specific district labels, wiki
creature descriptions/photos, and named NPC coordinates. Examples include
CHIR/CHxx (Chirop), INIB/MBxx (Minibull), HOUN/HOxx (Hound), and EIxx/ENIG
(Enigma). These are base-species labels: numbered variant names, equipment and
stats remain unknown. They carry inferred_species confidence and an explicit
per-code rationale; the generator does not add a new unrestricted prefix rule.
The selected client's item/nano functions provide stronger, direct code links:
| Item/nano | Code | Summoned name |
|---|---|---|
| 163503 | BR01 | Mini Bronto |
| 163506 | PR20 | Probe 2002-2 |
| 163516 | VU01 | Vulture Squabbler |
| 163517 | NI01 | 71-Alpha Ninjadroid |
| 163521 | H126 | Season Enforcer (client spelling) |
| 152790 / 152791 | FGOI / FEOF | Figment of Imagination |
These use client_reference confidence. FEOF demonstrates why expanding an
abbreviation by itself can be misleading. PR20 also contradicts the previous
blanket PR-to-piranha model rule: only PR01/PR04 retain the aquatic inference;
PR20/PR30/PR40/PR50 now keep an explicitly unresolved model. Named references
still do not recover complete templates. Appearance confidence is independent.
Coordinate matches include Alvin Odeleder, Dodga Demarcel, Inventor Bobic,
Zoftig Blimp and other classic quest NPCs. The same playfield, authored position,
name/abbreviation and encounter context must agree. Later location lists were
cross-checked against classic content; a nearby modern NPC was not sufficient.
Additional location facts come from Nadybot's whereis.csv at commit
de9e3b2c8d2f91df87c614a3d9f91bc16c2eacf2, linked in npc_names.yaml.
Authored shop interiors identify 34 merchant codes by faction, quality tier and trade, including their reuse outdoors. These receive role labels, preserving their unresolved appearance and inventory. Consistently named dynacamps also support 37 generic species-and-boss labels. Contradictory cases such as BNMO (Aquaan and Swampghoul camps) remain unresolved; no unique boss names are invented.
That research pass replaced 15,562 placeholder-name instances. Its intermediate
catalog had 12,211 remaining placeholder names out of 68,609 population instances,
across 1,027 unresolved codes. A generic species or role label is counted as named here; this
does not count recovered historical variants or complete templates. The review
candidate had 54,951 inferred-species appearances and 13,658 placeholder models.
The edits preserve stable IDs, source indices, levels, positions, placement
statuses and complete raw population records.
The complete comparison with the original maintained definitions covers 3,651
groups in 94 zones: 16,996 affected instances, including 14,993 model changes.
local/reports/npc-research-changes.json records the old/new reviewed fields;
the structural comparison permits changes only to name, model, appearance,
appearance status and evidence comment.
Human body models also require human breed and sex bits in the packed appearance. Pairing model 26088 (Solitus thin male) with creature appearance 229 caused a null material dereference while loading Omni-1 Trade. The generator now assigns compatible human appearance bits to the 40 human models used by maintained NPCs, correcting 439 fixed instances across 24 zones. Build 1 remains provisional; these assignments do not recover original heads, clothing or equipment.
Run python tools/data/audit_npc_names.py to refresh the inventory. It reads
maintained zone YAML and writes local/reports/npc-name-audit.json, ranking
unresolved names by instance count and listing every playfield/district context.
Work through one location or species family at a time, record source and
confidence in npc_names.yaml, and update only reviewed maintained groups.
Many SAxx, CRxx, BSxx, SRxx, SMxx and Hxxx codes lack unique
links in the inspected sources. Codes such as CRAN and GAPI occur across
different species' dynacamps, so district context cannot identify them globally.
The complete catalog retains provisional choices and alternatives for ambiguous
dungeon codes such as CYGA/CYGU, TEYN and CSTE/ATBT; similarity or the last
remaining guide name does not establish a recovered historical mapping.
The source checks include searches across 879 mirrored wiki pages, all typed item function code arguments and packed integer values in 87,611 selected-client items, the 168 CellAO template rows and their available Git history, the archived CellAO copy, and the SourceForge datalogging database samples. The latter's NPC table contains a schema only; its mob table supplies appearance labels without population-code links, and its Scripts directory and SADASD.txt are empty. These bounded searches do not establish that no historical server data exists.
Additional public capture fixtures in
AORebirth
provide independently useful position/name/appearance observations. The exact
files and commits are pinned in npc_names.yaml. They are another project's
recorded observations, not captures collected or replayed by this project.
Its candidate hash-resolution matrix explicitly leaves identities unresolved;
that matrix alone is not used as proof. We compare the recorded actors with
the selected client's actual positions and level ranges, and check that each
proposed appearance exists in the 14.9.1 client.
For seven Temple Cultist codes, 123 distinct recorded actors match 123 distinct
source placements within 1m horizontally and 3m vertically, with compatible
levels and one consistent body model per code. These cover 189 authored
instances; 27 independent matches are within 0.15m horizontally. Recorded
Subway actors similarly support EHDL = Architect Striker, IORB = Incomplete
Rebuild, MEML = Molested Molecules, NXZP = Shadow and other names/models. The
cross-version binding remains inferred_location; full templates, equipment,
stats, loot, dialogue and modern spawn locations are not imported.
The captures also contradict a former abbreviation inference: the level-24 Subway SS01 spawn is Bloodcreeper, model 30379, whose recorded patrol endpoint is within 0.025m horizontally of the authored point. SS01-SS14 now use a provisional Skin Spider base species, with the local Bloodcreeper name in the Subway. The uncorroborated Sewer Snake assignment was withdrawn. ST50-ST52 (188 instances) were also withdrawn at that stage: their disconnected numbering and habitats do not share the low ST family's Valley of Cats evidence. The complete catalog now records per-context best-effort choices and their reasons.
CARO identifies Carbonrich Rock resource nodes, not creatures. Five separate published rock-field coordinates match authored points within 2-15m, and four more records occur in the documented Subway rock cave. Items 150273/150274 corroborate the name and item mesh 55669. That item mesh cannot be used as a MonsterData appearance. These 586 nodes now use the original item template and static mesh through the world-item representation, with persistent item IDs. Harvesting remains unimplemented. Their preserved source level ranges describe rock QL; the current placement-cycle quality selection remains provisional.
Further CellAO checks include the SourceForge Phoenix and Yalm release archives
and the morfj development branches. Their 168 template rows add no mappings
beyond the already inspected data; mob spawn tables contain no data rows.
Other additions include the Trash King quest robots, Stumpy, Buckethead
Techno-scavengers, additional Camelot mobs, and numbered Handyman/Worker roles.
local/reports/npc-followup-changes.json records this additional pass, including
1,316 newly named instances and 188 withdrawn names. BRDO = Brain Dog is also
corroborated by AOWiki's Enigma taxonomy, the authored Enigma habitat, and the
client's named enigma-dog base appearance. The remaining source
gaps are explicit; the search is not a proof that no better reconstruction is
possible. In particular, weapon hash prefixes cannot decode NPC hash prefixes:
PNW1/PNW2 identify Pendpod attacks, while PNW6/PNW7 identify Ponnie attacks.
All 1,874 population codes were also compared in both byte orders against every selected-client resource ID, without matches. A separate scan covered 1,231 metadata, filename, static-object and monster records (7,279,874 payload bytes). It found existing Crypt trigger references to NECR/ECLI/KIZZ, but no additional name or appearance links. Resource 1000013 is compressed surface KDTree/portal geometry, already documented in zoning.md; sampled records confirmed that format. These checks used the existing resource parser; REA rejected the proprietary container format. Textures and geometry were not exhaustively searched for accidental four-byte matches.
Modern guides contain later changes. Do not copy their present-day access quests, travel routes, stats or loot probabilities into the 2003 world without dating that evidence. Presence of an asset or population record also does not prove that its playfield was enabled on the historical live server. In particular, unreleased or staged content can already be shipped in a client database.
The 15 additional populated playfields absent from the old catalog use their first authored district centres for provisional arrivals. These coordinates are not collision-validated safe entrances. Terrain and automatic zone links have not been re-extracted for this migration; the native protocol adaptations for 14.9.1 remain documented separately in 14.9.1-validation.md.
Regeneration and preserving edits
From the repository root:
.\venv\Scripts\python.exe -m pip install -r tools\requirements.txt
.\venv\Scripts\python.exe tools\data\extract_npc_spawns.py
.\venv\Scripts\python.exe tools\data\extract_monsters.py
.\venv\Scripts\python.exe tools\data\generate_npcs.py
.\venv\Scripts\python.exe tools\data\test_population.py
The editable population is embedded from server/gamedata/zones/zone_<playfield>.yaml.
server/gamedata/population_evidence.yaml holds shared appearance/placement
confidence descriptions and level-selection notes alongside the extraction evidence.
Zones load in numeric ID order. All confidence and source notes
remain searchable fields. Rebuild and restart the server after editing.
The generator writes local/reports/npc_spawns.generated.yaml as a review
candidate and local/reports/npc-coverage.json as a coverage report. It reads
fresh population and monster extraction candidates from local/data/, plus
curated name evidence from server/gamedata/npc_names.yaml and does not overwrite
maintained NPC definitions or Go behavior code. Compare extraction candidates with
the embedded YAML and apply reviewed changes there.
go run ./tools/data/export_gamedata exports the current loaded definitions
and extraction evidence as JSON for bulk audits. Definitions, raw source records
and provenance are tracked together in embedded YAML. Extractors write optional candidates
to local/data/ and local/reports/ for comparison; the server does not read them. Item definitions
are covered separately in items.md; extraction does not implement inventory.
Each NPC group has a stable id, exposed through gamedata.NPCGroups[id].
Live characters retain their definition ID for Go behavior code. Source indices
link curated districts and groups to the raw records in the same zone file;
they are provenance references, not script IDs. Preserve IDs when reordering
or updating YAML. No per-NPC script behavior is inferred from extraction data.