Files

40 lines
6.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Queue43: cinematic completion and movement authority
Read-only assessment from6dc6e75a. The report says new-character mobs evade until relog and **speculates** that position remains at the cinematic origin. No captured source/native packet pair or coordinate mismatch was supplied. The evidence establishes a missing completion-route candidate, not the cause of evade. No runtime change or test run is claimed.
## Exact source behavior
Source root: `/mnt/Games/@project/build/source-server-main-20261124/source/src/game`.
- `Protocol/Opcodes_1_12_1.h:253–255`: server START0xfa, client NEXT0xfb, client COMPLETE0xfc. `Protocol/Opcodes.cpp:307–308` registers NEXT/COMPLETE as logged-in requests.
- `Handlers/MiscHandler.cpp:991`: COMPLETE ignores payload and calls `Player::CinematicEnd`; NEXT is a no-op handler. Neither requests coordinates, a heartbeat, a near-teleport ACK, or a worldport ACK.
- `Objects/Player.cpp:2073–2093`: start saves the current player position and marks cinematic state. End resets camera view and clears watching entry/timers. It does not relocate the player.
- `Objects/Player.cpp:2044–2071`: periodic cinematic updates select a waypoint and summon a temporary viewpoint creature, then set the camera view. This is camera/viewpoint movement, not a player position teleport. `Player.cpp:1846` continues these updates while watching is set. A missing completion can leave camera/view state active; that does not itself prove movement coordinates are wrong.
- `Objects/Player.cpp:1991`: disconnect cleanup calls CinematicEnd when still watching. This is consistent with one possible relog-sensitive state leak, but does not establish causation for this report. `Player.cpp:7697` suppresses exploration while watching.
## Native completion candidate and admission gap
Maintained native `servers/trinity-forever/src/server/game/Server/Packets/MiscPackets.h:704–720` defines COMPLETE and NEXT as empty client packets. Its upstream enum is COMPLETE0x3e00e7/NEXT0x3e00e6. Those upstream numbers must not be mistaken for native wire numbers.
`Server/Protocol/ClassicClientOpcodes.inc:680–684` manually maps classic0x3f00ea to upstream COMPLETE0x3e00e7, and0x3f00e9 to NEXT0x3e00e6. `ClassicOpcodes.cpp:110–125` normalizes the shifted connection/main groups; this3f group is not changed there. The existing [normalization evidence](../source-opcode-normalization-70334.json) explicitly warns that source comments contain hypotheses. Therefore these are precise source-table candidates, **not original70334 sender/getter or captured-packet proof**.
At this base there is no matching COMPLETE/NEXT gameplay translation or pipe admission for those candidate opcodes (`native/world_translation.cpp`, `native/wine_pipe_host.c`). Source START is translated at `world_translation.cpp:3638`, but START/assets/full intro analysis remains queue42-owned. No separate cancel opcode or cancel-as-complete behavior was verified. Do not fabricate a completion request at START or assume that the native cancel button emits a particular packet.
## Movement and ACK authority
`Handlers/MovementHandler.cpp:300–335` requires a confirmed mover, finalized server spline, no pending near/far teleport, and valid MovementInfo/anticheat admission. This path does not directly gate on cinematic-watching state. A real stuck mover, unacknowledged teleport, rejected movement or persistent camera view must be distinguished with evidence.
Existing gateway `native/world_translation.cpp:2693–2729` maps genuine native near ACK0x420016 to source0xc7 only with a pending source teleport; real heartbeat0x42002e maps to source0xee after parsing owned movement. First valid owned movement sends source SET_ACTIVE_MOVER0x26a when needed. It does not derive player coordinates from cinematic camera positions. `movement_sent:2731–2764` observes the exact serialized movement after successful validation/serialization; that observation is not source-server acceptance. Pending near teleport is cleared on its send lifecycle, not by cinematic completion. Source NEW_WORLD/worldport handling is separately stateful (`gameplay:1687`, `worldport_response`/`worldport_prepared`).
Reuse existing [movement gate assertions](../../../../tests/native_movement_gate_test.cpp#L15): first mover binding; genuine heartbeat parsing atL30; pending near request/ACK identity, sequence, retry and malformed handling atL100–130. They do not prove this reporter’s first-login timeline. The accepted parent448 gate remains authoritative; no unchanged tests rerun.
## Report limits
[Input receipt](report-inputs.json) hashes report.txt and Gateway/GatewayRequests/Client logs without retaining their contents. Those three logs contain no text matches for the START, candidate END/NEXT, near-ACK or selected movement opcode markers searched. Absence of a log marker does not prove absence on wire; logging coverage is incomplete. No dedicated packet capture was identified in this report’s filenames. No private account logs, login files, signing material or player quest state were used.
## Concrete next action / hold
Coordinate with queue42’s already requested clean ordinary-account first-login capture, adding only the completion interval: record native END/cancel outbound opcode and payload length (or original pinned sender/getter), pipe admission/drop, gateway source serialization of0xfc, and the next genuine owned movement with source confirmed-mover and near/far pending state. Compare actual player source position separately from cinematic camera/viewpoint. A source state snapshot should establish whether cinematic-watching clears and whether genuine movement is accepted. This is for Claude’s authorized client lane; no client action was performed here.
Once the native completion contract is pinned, a missing-route fix should first fail an integrated host/pipe-admission test, then forward the genuine empty event to source0xfc with appropriate existing world admission. Do not inject invented heartbeats, ACKs, player coordinates, or unconditional completion. No runtime patch is justified by the current report alone; the user’s evade bug remains open.