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

SScreenMenu (0x2F)

Previous: SFieldMap | Server action index | Next: SPursuitMenu

SScreenMenu is server-to-client action 0x2F 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.
Darkages.exe:0x00479480sub_479480Accepts the action in its pane’s Event type 9 packet handler.
Darkages.exe:0x0047AFD0sub_47AFD0Accepts the action in its pane’s Event type 9 packet handler.

Handler notes

ui_map_dispatch_server_packet calls Darkages.exe:0x00469474 ui_map_handle_screen_menu, which allocates a 0x104-byte full-screen pane and calls ui_screen_menu_pane_ctor. The constructor adds it below BackgroundPane, registers it, and parses the original action 0x2F packet. The handlers at 0x00479480 and 0x0047AFD0 can receive later menu packets while related panes remain registered.

UI response path

Selections and text controls in this menu family send CMenuCode 0x39. Every traced builder copies a server-supplied menu type, big-endian object identifier, and big-endian menu code before variant-specific data.

See UI, Input, and Packet Flows.