diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-22 18:56:58 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-29 22:22:25 +0000 |
| commit | d6352bc889638b82a887e0a1a138f2b8086dbbdb (patch) | |
| tree | 35f7bb8b5b6641f69930bd8485260bc8594e5fe9 /src/packet_distribution.cpp | |
| parent | a124f46861d549ddc13485536962e34d80de939a (diff) | |
Handle extension packets using binary frames
The subprotocol shall use binary frames, and AO protocol stays separated
within the text frames.
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 90a6758..69448d4 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -67,8 +67,13 @@ void AOApplication::server_packet_received(AOPacket packet) return; } + // Remove this, the client shouldn't use this packet to get its PID. client_id = content.at(0).toInt(); m_serverdata.set_server_software(content.at(1)); + if (content.at(1) == "CSDWASASH") + { + send_ex_message(serializeIdent(Ident{2})); + } emit net_manager->server_connected(true); |
