From d6352bc889638b82a887e0a1a138f2b8086dbbdb Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Sun, 22 Mar 2026 18:56:58 +0000 Subject: Handle extension packets using binary frames The subprotocol shall use binary frames, and AO protocol stays separated within the text frames. --- src/packet_distribution.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/packet_distribution.cpp') 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); -- cgit