59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
126 lines
7.7 KiB
Markdown
126 lines
7.7 KiB
Markdown
# Actual Northshire population audit — 2026-10-14
|
|
|
|
The reported single nearby NPC was a **gateway filter**, not missing Turtle
|
|
visibility. The original serializer/tracker accepted only entries6/38/197 and
|
|
GO types7/19. The complete initial session capture at Gatewaytest's saved
|
|
Northshire position (-8928.9502,-118.4670,82.1363), map0, contained 48 creatures
|
|
within100 three-dimensional yards. Only Marshal McBride197 was translated.
|
|
The baseline also contained a text/book object that the gateway discarded.
|
|
[Baseline identities, masks and counts](evidence/population-baseline.json).
|
|
This position was supplied by the real Turtle login/create; no SQL position
|
|
writes, teleports, spawned test actors or server configuration changes were
|
|
used in this investigation. Earlier screenshots have a different position;
|
|
compare each session against its own authoritative self create.
|
|
|
|
## Population authority and packet trace
|
|
|
|
* Turtle [Player::UpdateVisibilityOf](../../../../Servers/tortoise-wow/src/game/Objects/Player.cpp)
|
|
checks map, distance, state and its visible-GUID set. It calls either
|
|
`BuildCreateUpdateBlockForPlayer`, `BuildOutOfRangeUpdateBlock` or
|
|
`DestroyForPlayer`. The latter sends raw64 destruction, opcode0xAA.
|
|
* [Object::BuildCreateUpdateBlockForPlayer / BuildValuesUpdateBlockForPlayer](../../../../Servers/tortoise-wow/src/game/Objects/Object.cpp)
|
|
write kind2/3 packed64 GUID, type, movement flags and a legacy uint32 field
|
|
mask. Masked values are field indices, not modern field offsets.
|
|
* [World::LoadConfigSettingsCommonPart](../../../../Servers/tortoise-wow/src/game/World.cpp)
|
|
loads `Visibility.Distance.Continents`; the local configuration is250 yards.
|
|
[Map::InitVisibilityDistance / Map::Update](../../../../Servers/tortoise-wow/src/game/Maps/Map.cpp)
|
|
initialize/adapt that distance. Range alone does not override ghost, quest,
|
|
spawn or state visibility. DB spawn rows are context, not a visible-object
|
|
inventory. Actual creates/removals sent to this authenticated session are
|
|
the audit authority.
|
|
* [turtle_object_updates](../src/object_updates.cpp) decodes0xA9/0x1F6,
|
|
bounded zlib, create2/3, values0, movement1, range removal4 and near-list5.
|
|
Kind5 is explicitly **not destruction**. `GATEWAY_POPULATION_AUDIT=1`
|
|
records these masks/values, GUIDs, positions, live template replies,
|
|
successful modern sends, raw0xAA and gameplay movement envelopes only.
|
|
Files are private0600 under runtime, exclusive per session, bounded16MiB
|
|
with an explicit terminal cap marker. Authentication data is not captured.
|
|
* [ops/population_report.py](../ops/population_report.py) reconstructs currently
|
|
Turtle-visible actors and matching translated identities, applying deltas
|
|
and removal events. Its distances use update-object positions; subsequent
|
|
monster splines can move creatures. A modern send is **not proof of model
|
|
rendering**. A capped/incomplete capture cannot establish completeness.
|
|
|
|
## Expanded translation
|
|
|
|
`GATEWAY_POPULATION_EXPERIMENT=1`, with existing NPC/GO/codec flags, removes
|
|
entry restrictions for ordinary F130 creatures. Each previously unseen entry
|
|
is queried with CMSG_CREATURE_QUERY0x60 on the **same authenticated Turtle
|
|
world session**; reply0x61 supplies type, name and display metadata. Creates
|
|
wait for live metadata. No Forever character or creature database supplies
|
|
actors or positions. The optional read-only Turtle template-name export only
|
|
annotates reports; live query metadata takes precedence.
|
|
|
|
[src/relay.cpp::flush_npcs](../src/relay.cpp) and
|
|
[src/forever_create.cpp::main --npcs-types](../src/forever_create.cpp) retain the
|
|
pinned native UF ObjectData/UnitData create schema and negative-facing fix.
|
|
Humanoids7, beasts1 and critters8 retain their actual creature types. A
|
|
per-GUID generation and explicit live GUID allowlist prevent a delayed
|
|
metadata reply from resurrecting a removed or superseded create. Existing
|
|
humanoid bytes are identical to the previously verified serializer. Pending
|
|
wire data is bounded16MiB. Entry metadata/name replies remain tied to actual
|
|
legacy class data and authenticated queries.
|
|
|
|
[forever_creature_guid / forever_game_object_guid](../src/object_updates.cpp)
|
|
validate high-GUID category, entry and counter before mapping to modern
|
|
Creature8/GameObject11 GUIDs with realm70 and Turtle map. The same identity
|
|
tracker drives destruction and range removals. Static GO types3/5/6/7/8/9/19
|
|
share a stationary profile, rotation and pinned native GameObjectData schema.
|
|
Campfire traps2061 have display0: they are intentionally invisible; companion
|
|
spell-focus entries21007/21008/21009 have display192. They must not be counted
|
|
as six visible fires. GO interactions and query replies remain separate work.
|
|
|
|
## Actual-client verification and limits
|
|
|
|
The expanded real session successfully entered WowB, rendered the guard beside
|
|
Gatewaytest and all four vendors around the wagons, and resolved Merissa
|
|
Stilwell by `/targetexact` with a named target frame and portrait. A Young Wolf
|
|
also resolved to its beast portrait. Screenshots and the before/after packet
|
|
comparison are retained under runtime; selected evidence is committed here.
|
|
Only left-mouse camera inspection and local targeting were requested; no
|
|
player movement commands or DB edits were used.
|
|
|
|
Initial expanded snapshot: **241/241 Turtle-visible creatures translated**,
|
|
44 static GOs translated; omitted records were campfire types6/8 (subsequently
|
|
added), distant map objects14 and global moving transports15. Those moving
|
|
transport GUIDs are1FC0 and have no local stationary position in these creates.
|
|
Map objects are Turtle-specific Player's House1000008 at458/494 yards. These
|
|
need explicit schemas/content mapping, not fabricated nearby actors.
|
|
|
|
There was only Gatewaytest online on Turtle. Thus other-player creation is
|
|
still unsupported and **not verified** by this scene. Other actor categories
|
|
(pets, corpses, dynamic objects), ongoing unit/GO value updates, combat state,
|
|
quest-specific visuals, interactions and Turtle-only model availability remain
|
|
unverified. Successfully sending all creates does not prove every object is
|
|
visible through buildings/terrain or within the current camera. Visual samples
|
|
and actual targeting complement the authoritative population comparison.
|
|
|
|
Final static-profile snapshot: **240/240 creatures translated**,50 stationary
|
|
GOs translated; within250 yards **238/238 creatures and49/49 GOs**. Seven
|
|
global moving transports and two distant housing objects remain excluded.
|
|
[Complete comparison](evidence/population-complete.json),
|
|
[actual complete scene](evidence/population-complete.png),
|
|
[actual vendor name/model](evidence/population-merissa.png),
|
|
[actual wolf target/portrait](evidence/population-wolf-target.png),
|
|
[original single-NPC scene](evidence/population-before.png).
|
|
|
|
NPC splines were deliberately left disabled during this population comparison.
|
|
The real capture contains normal and angle-facing SMSG_MONSTER_MOVE0xDD
|
|
inside0x2FB, with legacy flags0x100. Movement work follows this checkpoint.
|
|
|
|
## Recovery and checks
|
|
|
|
Local Git checkpoint: `checkpoint-before-population-4c8f0cc`. The running
|
|
pre-audit binary and feature flags were copied to private
|
|
`recovery/population-20261014T181341Z`, with exact restore instructions. Only
|
|
the gateway was restarted; original Trinity/Wine/TLS/key watcher and local
|
|
Turtle services/database/credentials remain intact.
|
|
|
|
Debug CTest3/3 passes, including778 protocol checks, population replay
|
|
mask/near-list/destroy/range regression, and14 local auth/roster scenarios.
|
|
Source-derived self/NPC/GO fixtures and4 native query comparisons pass,
|
|
including5 expanded type/generation cases and8 GO type cases. A first
|
|
loopback run was denied socket creation by the sandbox; it passed with
|
|
localhost permission. These checks supplement, not replace, actual WowB
|
|
integration evidence.
|