Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SShowPaper (0x35)

Previous: SObjectInfo | Server action index | Next: SShowUsers

SShowPaper is server-to-client action 0x35 in the 4.21 protocol.

Direction: server to client

Encrypted: Yes. See Sequence and XOR Transformation.

Payload offsets begin with the first byte after the action. The frame marker, frame length, action, sequence, and trailing zero are excluded.

Payload format

OffsetWidthFieldEstablished meaning
0x00payload_lengthunknown_00Payload bytes whose field boundaries are not yet mapped.

Handler functions

Function addressCurrent IDA nameRole
Darkages.exe:0x00468A90ui_map_dispatch_server_packetAccepts and dispatches the action in MapPane.

Handler notes

ui_map_dispatch_server_packet calls Darkages.exe:0x0046C3F4 ui_map_handle_show_paper. The handler allocates a 0x560-byte Paper dialog and calls ui_paper_dialog_ctor in mode 1. Its parser copies the server text and flags, then ui_paper_dialog_build_content adds the dialog below BackgroundPane and registers it for Events.

UI flow

This action creates a new dynamic dialog. It does not reuse a static Paper root. SEnterEditingMode 0x1B uses the same class in constructor mode 0. Paper submission can send CExitEditingMode 0x23 with a mode byte, big-endian text length, and normalized text.

See UI, Input, and Packet Flows.