85 lines
4.8 KiB
Markdown
85 lines
4.8 KiB
Markdown
# Queue 51: summon accept route
|
|
|
|
Base `185b4a89`; report `20261127-214412-41ce12` says only that accepting
|
|
a summon does nothing. The report is untrusted observation. No summon
|
|
response opcode or packet bytes were found in its supplied Gateway logs;
|
|
these tests use exact source/native contract-shaped bytes, not a claimed
|
|
live replay. The same report's armor assertion belongs to the parent.
|
|
|
|
## Concrete missing path and pinned contracts
|
|
|
|
The existing gateway presents source SMSG_SUMMON_REQUEST 0x2ab as native
|
|
0x4701cd, but has neither an outbound response translator nor pipe
|
|
admission for the native summon response. The cached, pinned
|
|
ClassicOpcodes oracle maps native **0x440096** to core CMSG_SUMMON_RESPONSE
|
|
0x430096, and core SMSG_SUMMON_REQUEST 0x4501cc to native 0x4701cd.
|
|
`opcode-oracle.json` records the bounded query. No binary rescan occurred.
|
|
|
|
Native MovementPackets::SummonRequest writes packed summoner GUID,
|
|
virtual realm, area, reason byte and SkipStartingArea bit. SummonResponse
|
|
reads packed summoner GUID followed by one Accept bit (MSB). The source
|
|
Player::SendSummonRequest writes u64 GUID, u32 zone and u32 expiry duration
|
|
in milliseconds. The native request has no corresponding timeout field;
|
|
retain source expiry in the host offer instead of inventing a packet field.
|
|
|
|
Crucially, this source MovementHandler::HandleSummonResponseOpcode reads
|
|
only the GUID and calls SummonIfPossible(true), after the server's
|
|
alive/in-combat checks. It does **not** read an accept flag. Source
|
|
SummonIfPossible checks the real server's summon expiry and owns the actual
|
|
teleport. Sending a native decline or appending a false byte to this source
|
|
opcode would still accept. The correct outbound accept is exactly eight
|
|
GUID bytes. Decline must remain local. The gateway does not teleport,
|
|
create coordinates, override source combat checks, or fabricate a reply.
|
|
|
|
## Change
|
|
|
|
The pipe now admits 0x440096 to the existing gameplay route. A complete
|
|
source summon request publishes the existing native fields and retains
|
|
its exact presented GUID/source identity, selected character, map/realm and
|
|
steady-clock expiry. Summoners need not be in the local actor view: summoning
|
|
is inherently remote, and the source offer is the authority. The existing
|
|
native GUID projection still determines which identities can be presented.
|
|
|
|
Responses require that current offer and active world scope; malformed,
|
|
wrong-GUID, expired or superseded responses are rejected. Repeated sizing
|
|
and translation do not consume or extend the offer. Acceptance is retired
|
|
only after successful serialization through gameplay_sent. The commit
|
|
parser validates framing and identity before mutation, but does not recheck
|
|
the clock: expiry after serialization cannot undo a send that already
|
|
succeeded. A local decline is parsed and validated before retirement and
|
|
never reaches the source's unconditional-accept handler. Source logout
|
|
retires the offer; a complete new offer supersedes the old one. Truncated
|
|
source requests do not retire valid state.
|
|
|
|
## Proof and build boundary
|
|
|
|
Before the change, the existing miscellaneous fixture's 270 checks and
|
|
native summon request projection pass, then the accept smoke case fails
|
|
with `unsupported native gameplay request`. Pipe predicate extraction also
|
|
shows 0x440096 absent before and present after.
|
|
|
|
After the change, the existing `native_misc_request_test.cpp` passes
|
|
**120 new summon checks plus all 270 previous checks**. Cases cover exact
|
|
native request fields and source accept bytes, an out-of-view summoner,
|
|
repeat sizing, no early consumption, single-use completion, local decline,
|
|
every truncated response prefix, bad padding/tails, wrong identities,
|
|
malformed commit preservation, no/changed world scope, expiry, every
|
|
truncated source request prefix, replacement/zero-duration offers, logout,
|
|
and expiry between preparation and the successful-send commit.
|
|
|
|
Because this adds internal NativeWorldTranslation state, all **17 native
|
|
library translation units** were rebuilt together in the owned worktree,
|
|
using the existing pinned protocol archive and retained GO/item profile
|
|
headers. Native units compile with warnings as errors and the library links
|
|
with --no-undefined. The fixture links against that matching complete native
|
|
library. This is not an old library with a newly enlarged world header.
|
|
The fixed public wire ABI is unchanged; parent integration must rebuild
|
|
all internal world-state consumers. No codec build or full gate ran.
|
|
|
|
Exact build inputs, hashes and before/after logs are in host-validation.json.
|
|
The original reporter's live acceptance remains unobserved. Claude's next
|
|
client acceptance should confirm native 0x440096 accept produces source
|
|
0x2ac and a genuine server transfer, while decline produces no source
|
|
summon response. No client, database mutation, install or publication was
|
|
performed here.
|