From c0e45e9f8efa802f40bf8e0aab69a060505f1c47 Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 4 Mar 2008 00:01:09 +0000 Subject: [PATCH] New packets for timeout messages. --- docs/net_protocol.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/net_protocol.txt b/docs/net_protocol.txt index 2531565f..b30a7eb7 100644 --- a/docs/net_protocol.txt +++ b/docs/net_protocol.txt @@ -814,6 +814,30 @@ Remove Reason: 0xFFFF - Other reason +Server Notification: Timeout Warning + + 0 1 2 3 + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Message Type = 257 | Message Length = 8 | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Timeout Reason | Seconds Remaining | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +Timeout Reason: + 0x0000 - No data received + 0x0001 - Inactive Game + + +Client Reply: Reset Timeout + + 0 1 2 3 + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Message Type = 258 | Message Length = 8 | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Reserved | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + Client Request: Send Chat Text