Files
WoW-Hybrid-gateway/docs/NATIVE_NEAR_TELEPORT.md
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

32 lines
2.0 KiB
Markdown

# Native authoritative near-teleport
Actual Forever440176, genuine local Tortoise authentication, external gateway
stopped: the normal in-game GM command `.go xyz -8928.95 -118.467 82.1363 0`
completed through the native session. Forever moved, emitted the actual ACK,
and Tortoise's subsequent `.gps` confirmed map0 position
(-8928.950195,-118.467003,82.136299), orientation5.518840. No SQL change was used
for this test. [Evidence](evidence/gameplay/native-near-teleport.json),
[actual client and authoritative reply](evidence/gameplay/native-near-teleport.png).
`NativeWorldTranslation::translate` accepts server0xC7 only after real self-create,
validates selected GUID and sequence using existing `turtle_near_teleport`, then
submits modern0x600034 through the original engine queue. The real engine writes
0x420016 via the existing outgoing route. `player_movement` validates the pending
GUID/sequence with `turtle_near_teleport_ack`; the existing authenticated transport
serializes Turtle0xC7 and consumes the pending sequence only on successful output.
Sizing retries and validation failures do not consume it or advance the cipher.
No ACK, success event, client position or authentication state is fabricated.
The existing gateway codecs in src/world.cpp/src/relay.cpp are reused. Tortoise
MovementHandler.cpp::HandleMoveTeleportAckOpcode validates its own selected mover
and pending sequence before Player::ExecuteTeleportNear commits relocation.
The genuine subsequent .gps reply is evidence of server completion; receipt of
an ACK at our adapter alone would be insufficient.
Focused ownership/state tests cover unsolicited ACK, truncation, wrong sequence,
overlapping teleport, pre-self rejection and retryable preparation. Full relevant
regression49/49 passed31.42s before actual deployment. Cross-map transfers,
transport teleports and reconnect during teleport remain unsupported/unverified.
Original executables/assets are unchanged; rollback uses the prior Git/native
module checkpoint and existing private-host preparation with the client closed.