Files
praxisandClaude Fable 5.2 60b6d4b7a5 Design records
59 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

9.3 KiB

Actual Turtle NPC ground movement in Forever70334

Verified in the real WowB client, 2026-10-14: Northshire Guard entry1642, Turtle DB counter79948 / raw GUID17379390989571012684, naturally walks from the abbey steps toward the stationary Gatewaytest, passes to the left and continues out of camera. No NPC spawn/teleport/movement command or database change was used. Start, mid-path, near the player, continued patrol, matching source events and capture times. Player state read-only after observation remained map0, (-8928.95,-118.467,82.1363), facing1.13318.

This followed the separately committed population audit (checkpoint24f25b5). A first fixed-camera sequence coincided with a natural patrol pause and did not prove movement. The second harness waited for the matching real spline, then took five actual screenshots. The named selected model changes world position relative to the same stairs and stationary player, and displays walking poses. Packet sends alone were not used as visual proof.

Native direct-session verification — 2026-10-16

The gateway-era verification above remains distinct. Actual WowB431676 now received the same real creature paths through its native authenticated Tortoise connection and original engine queue, with the external gateway stopped. First moving frame, next frame at destination, stopped and turned, matching spline/capture evidence and client GUID query verify a short natural approach to the abbey steps. Client GUID ends000001384C, matching real Turtle counter79948/entry1642. The player and camera were stationary through all captured frames. No guard position/path/spawn was changed.

native/entity_translation.cpp translates direct0xDD and compressed0x2FB only for a currently tracked, already-created creature, using its actual generation and modern GUID. Removed/unknown/metadata-pending actors cannot receive a spline. The existing source-derived src/splines.cpp codec preserves path ID, duration, start and points; the original engine queue receives0x600002. Fixed bounded motion snapshots contain only public identities/path metadata. Tests cover direct and compressed equivalence, malformed rejection and lifecycle/generation gates.

Reproduce from a correctly positioned/camera-oriented native world session:

python3 -u ops/observe_native_npc.py --guid 17379390989571012684 \
  --deadline 180 --min-duration 1500 \
  --near -8926.77 -118.37 82.18 --max-distance 25 --facing -.75

The observation tool issues no gameplay input. It requires real local SRP/M2, live authenticated world pipe and engine-consumed self-create; this avoids intermittent OCR loss of Northshire's outlined label. Known non-world UI rejects observation, screenshots retain the credential guard, and success still requires visual review. Distance/facing filters select a useful real path, not fabricated motion. Earlier off-camera captures remain failures, not evidence of rendering.

The test character was moved offline to the previous outdoor observation spot with its original row/guarded rollback SQL saved in recovery/safe-position-20261016T010034Z; normal movement then shifted it slightly. No progression/permissions were changed. This verifies one captured linear-ground approach and final-angle behavior, not transport/stop/target/spot spline modes or complete world population. UnitPosition(target) returned nil coordinates and was not used as positional proof.

Wire mapping and source functions

Turtle PacketBuilder::WriteCommonMonsterMovePart / WriteLinearPath / WriteMonsterMove write SMSG_MONSTER_MOVE0xDD after its packed64 mover GUID: startXYZ, splineID32, legacy facing8, optional facing, flags32, duration32, count32, destinationXYZ, then count-1 quarter-unit packed offsets. Components are signed11/11/10 bits. Legacy offsets are destination-minus-intermediate. Legacy Runmode0x100 is a fake required client flag, not a modern spline flag. Captured normal ground records carry0x100, and facing uses normal0 or final-angle4. Stop1 and target/spot variants have different layouts.

Turtle MovementData::AddPacket / MovementData::BuildPacket / PacketCompressor::Compress and turtle_compressed_moves establish0x2FB framing: uint32 uncompressed length, complete zlib stream, then records with uint8 length including uint16 opcode and body, excluding the length byte. Both compressed and direct0xDD are handled. Bounds are1MiB,4096 records, exact consumption. Unknown embedded opcodes remain untranslated and audited.

Forever MonsterMove::Write / MovementMonsterSpline operator<< / MovementSpline operator<< / MonsterMove::InitializeSplineData write modern packed128 mover, splineID32, flags32, modern facing8, elapsed32, duration32, fade time32, mode8, packed128 transport, seat8, optional facing, MSB-first point/optional counts, points, flushed stop bits, then startXYZ. Modern enum angle is3, unlike Turtle4. Native compressed offsets use the origin/destination midpoint instead of the Turtle destination.

src/splines.cpp::turtle_monster_spline / forever_monster_spline reconstruct the captured linear path and write modern UncompressedPath0x400000 with full intermediate XYZ points followed by the destination; start is excluded from the point array. Fake Runmode is stripped. ID, duration, destination and source position remain Turtle-authoritative; negative final angles are normalized into[0,2pi). Empty transport/default seat-1 and all unsupported optional blocks use the exact native defaults. Modern mover category, entry and counter must match the legacy identity.

src/relay.cpp, GATEWAY_SPLINE_EXPERIMENT=1, sends SMSG_ON_MONSTER_MOVE0x600002 through the authenticated instance channel only for already-created, currently tracked creature GUIDs. Removed/unknown and metadata-pending actors never receive movement before creation. Invalid or unsupported individual splines are skipped with a diagnostic; no arbitrary fallback movement or database state is fabricated. Successful sends are recorded as monster_sent events with GUID, ID, duration, start and destination.

Opcodes.h SMSG_ON_MONSTER_MOVE and ClassicOpcodes::TranslateServerOpcode map the native5E0002 group to build70334 wire600002, consistent with the already verified player movement60000E.

Tests, reproduction, recovery and limits

Debug and ASan/UBSan CTest3/3 pass, including 841 protocol checks and14 local auth/roster fixture scenarios. Eight real/golden splines match native Forever serializer bytes, including captured guard/wolf/rabbit paths and a captured final-angle path. Existing self/NPC/GO/query fixtures still pass. The native oracle compiles read-only MovementPackets.cpp and CombatLogPacketsCommon.cpp, plus an exact source-derived packed-position serializer, into the gateway helper. Source hashes are pinned in FOREVER_SCHEMA_PROFILE.json. A first oracle link failed on packed-XYZ/SpellCastVisual dependencies; both were resolved from the actual source, with no server/reference modifications.

Run python3 tests/spline_serializer_fixture.py build/forever-schema/forever-create-codec for byte comparison. Actual observation, with the existing client already in-world and the audit enabled:

python3 ops/verify_npc_movement.py runtime/population-SESSION.jsonl \
  --guid 17379390989571012684 --deadline 240

The harness is explicitly for this Northshire saved position. It waits for the natural nearby patrol, captures frames, and leaves visual_movement_verified false until a human or agent visually reviews them. It never passes based on sent packets. All credentials remain private and unchanged.

Private recovery recovery/before-splines-20261014T183521Z contains the previous running population binary and feature flags. Disable GATEWAY_SPLINE_EXPERIMENT and reconnect to restore stationary NPC behavior; binary restore instructions are included. Original Trinity, Wine, TLS/key patcher and Turtle services are untouched. No live realm is contacted.

Implemented scope is captured linear ground movement, normal and final-angle facing. Flying/Catmull-Rom, cyclic, falling, stop1, facing target/spot, transport splines, speed changes, pursuit/combat, ongoing unit/GO value updates and initial-create in-progress spline interpolation remain unsupported or unverified. An NPC first seen mid-path starts at its authoritative create position and joins the next supported live spline; seamless continuation on create is future work. Other players/pets/corpses and Turtle-specific housing/transports remain outside the verified population profile. Visual state/aura/interaction differences still need separate gameplay milestones.