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

SBounce (0x4B)

Previous: SRequestPortrait | Server action index | Next: SReconnect

SBounce is server-to-client action 0x4B 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
0x002embedded_lengthUnsigned big-endian length of the embedded logical client packet.
0x02embedded_lengthembedded_client_packetBegins with a client-direction action byte and is submitted through net_c_queue_send.
0x02 + embedded_lengthvariableunknown_tailAny remaining outer payload bytes; their exact boundary is not yet mapped.

Handler functions

Function addressCurrent IDA nameRole
Darkages.exe:0x00468A90ui_map_dispatch_server_packetAccepts and dispatches the action in MapPane.
Darkages.exe:0x0046CA54net_forward_embedded_client_packetReads the embedded length and submits the embedded client packet.

Handler notes

ui_map_dispatch_server_packet calls net_forward_embedded_client_packet. The helper reads the big-endian embedded length at payload offset 0x00; the embedded logical client packet begins at payload offset 0x02.

Schema status

The 4.21 handler establishes the embedded length and forwarding behavior. The server can therefore select a client action dynamically rather than using one of the fixed action constants found in client builders.