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

SReconnect (0x4C)

Previous: SBounce | Server action index | Next: SBlockInput

SReconnect is server-to-client action 0x4C 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
0x001subtypeValue 0x01 completes the Stone safe-exit exchange. Other values are consumed without the mapped side effects.
0x01payload_length - 1unknown_01Any additional payload bytes.

Handler functions

Function addressCurrent IDA nameRole
Darkages.exe:0x004921F0ui_exit_wait_handle_server_packetConsumes 0x4C; subtype 0x01 completes the safe-exit exchange.
Darkages.exe:0x00492310ui_exit_wait_pane_ctorCreates the exit-wait pane, shows the warning, and sends CQuit subtype 0x01.

Handler notes

Darkages.exe:0x004921F0 ui_exit_wait_handle_server_packet. The Stone handler consumes all 0x4C packets. Subtype 0x01 sends CQuit subtype 0x00 and changes an exit-wait pane to the safe-exit message; it does not call the Socket reconnect path.

Schema status

SReconnect is the 4.21 class name. In the mapped exit-wait path, ui_exit_wait_handle_server_packet claims every 0x4C packet. Subtype 0x01 sets the pane completion flag, sends CQuit subtype 0x00, and replaces the warning with the safe-to-exit text. The paired ui_exit_wait_pane_ctor sends CQuit subtype 0x01 when the wait pane is created. No Socket connection or reconnect function is called by this handler.