add ability to handle V2 and V3 clients on the same port

This commit is contained in:
Martin Michelsen
2022-08-25 22:24:44 -07:00
parent b612d50c17
commit 5ede882715
16 changed files with 401 additions and 187 deletions
+19 -5
View File
@@ -103,7 +103,21 @@ I 58384 2022-08-08 23:38:14 - [Commands] Sending to C-1 (version=Patch command=0
I 58384 2022-08-08 23:38:14 - [Commands] Sending to C-1 (version=Patch command=12 flag=00)
0000000000000000 | 04 00 12 00 |
I 80820 2022-07-07 23:33:27 - [Server] Client disconnected: C-1 on fd 29
I 80820 2022-07-07 23:34:04 - [Server] Client connected: C-2 on fd 29 via 12 (T-9300-PC-pc-login-login_server)
I 22913 2022-06-30 23:45:38 - [Server] Client connected: C-10 on virtual connection 0x1048042b0 via T-9100-PC-split_reconnect-VI
I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-10 (version=PC command=0019 flag=00000000)
0000000000000000 | B0 00 19 00 23 23 23 23 ED 13 00 00 00 00 00 00 | ####T$
0000000000000010 | 00 00 00 00 00 00 00 00 00 19 00 97 00 23 23 23 | ###
0000000000000020 | 23 EC 13 00 00 00 00 00 00 00 00 00 00 00 00 00 | #(#
0000000000000030 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
I 22913 2022-06-30 23:45:38 - [Server] Client disconnected: C-10 on virtual connection 0x1048042b0
I 80820 2022-07-07 23:34:04 - [Server] Client connected: C-2 on fd 29 via 12 (T-5101-PC-pc-login-login_server)
I 80820 2022-07-07 23:34:04 - [Commands] Sending to C-2 (version=PC command=17 flag=00)
0000000000000000 | 0C 01 17 00 44 72 65 61 6D 43 61 73 74 20 50 6F | DreamCast Po
0000000000000010 | 72 74 20 4D 61 70 2E 20 43 6F 70 79 72 69 67 68 | rt Map. Copyrigh
@@ -204,11 +218,11 @@ I 80820 2022-07-07 23:34:10 - [Commands] Sending to C-2 (version=PC command=B1 f
0000000000000000 | 1C 00 B1 00 32 30 32 32 3A 30 37 3A 30 38 3A 20 | 2022:07:08:
0000000000000010 | 30 36 3A 33 34 3A 31 30 2E 30 30 30 | 06:34:10.000
I 80820 2022-07-07 23:34:10 - [Commands] Sending to C-2 (version=PC command=19 flag=00)
0000000000000000 | 0C 00 19 00 0A 00 00 03 CC 24 00 00 | $
0000000000000000 | 0C 00 19 00 0A 00 00 03 F7 13 00 00 | $
I 80820 2022-07-07 23:34:10 - [Commands] Received from C-2 (version=PC command=99 flag=00)
0000000000000000 | 04 00 99 00 |
I 80820 2022-07-07 23:34:10 - [Server] Client disconnected: C-2 on fd 29
I 80820 2022-07-07 23:34:10 - [Server] Client connected: C-3 on fd 29 via 24 (T-9420-PC-pc-lobby-lobby_server)
I 80820 2022-07-07 23:34:10 - [Server] Client connected: C-3 on fd 29 via 24 (T-5111-PC-pc-lobby-lobby_server)
I 80820 2022-07-07 23:34:10 - [Commands] Sending to C-3 (version=PC command=02 flag=00)
0000000000000000 | 0C 01 02 00 44 72 65 61 6D 43 61 73 74 20 4C 6F | DreamCast Lo
0000000000000010 | 62 62 79 20 53 65 72 76 65 72 2E 20 43 6F 70 79 | bby Server. Copy
@@ -2103,9 +2117,9 @@ I 80820 2022-07-07 23:37:10 - [Commands] Sending to C-3 (Kallea) (version=PC com
I 80820 2022-07-07 23:37:10 - [Commands] Sending to C-3 (Kallea) (version=PC command=1A flag=00)
0000000000000000 | 08 00 1A 00 00 00 00 00 |
I 80820 2022-07-07 23:37:10 - [Commands] Sending to C-3 (Kallea) (version=PC command=19 flag=00)
0000000000000000 | 0C 00 19 00 0A 00 00 03 54 24 00 00 | T$
0000000000000000 | 0C 00 19 00 0A 00 00 03 ED 13 00 00 | T$
I 80820 2022-07-07 23:37:10 - [Server] Client disconnected: C-3 on fd 29
I 80820 2022-07-07 23:37:10 - [Server] Client connected: C-4 on fd 29 via 12 (T-9300-PC-pc-login-login_server)
I 80820 2022-07-07 23:37:10 - [Server] Client connected: C-4 on fd 29 via 12 (T-5101-PC-pc-login-login_server)
I 80820 2022-07-07 23:37:10 - [Commands] Sending to C-4 (version=PC command=17 flag=00)
0000000000000000 | 0C 01 17 00 44 72 65 61 6D 43 61 73 74 20 50 6F | DreamCast Po
0000000000000010 | 72 74 20 4D 61 70 2E 20 43 6F 70 79 72 69 67 68 | rt Map. Copyrigh