From 069a471bbbd349ba185d801438bb620ba0d549e808becbe6d47341c6b19dafff Mon Sep 17 00:00:00 2001 From: raven <7156279+RavenX8@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:37:30 -0500 Subject: [PATCH] - fix: incorrect packet ids for Join Server Token req and reply --- packet-service/src/packet_type.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packet-service/src/packet_type.rs b/packet-service/src/packet_type.rs index c79624f..798ff73 100644 --- a/packet-service/src/packet_type.rs +++ b/packet-service/src/packet_type.rs @@ -20,8 +20,8 @@ pub enum PacketType { PakcsSrvSelectReq = 0x050D, PaklcSrvSelectReply = 0x050E, PakcsJoinServerReq = 0x050F, - PakscJoinServerReply = 0x0510, - PakcsJoinServerTokenReq = 0x0511, + PakcsJoinServerTokenReq = 0x0510, + PakscJoinServerReply = 0x0511, PakwcGmCommand = 0x0512, PakwcGlobalVars = 0x0513, PakwcGlobalFlags = 0x0514, @@ -248,8 +248,8 @@ impl TryFrom for PacketType { 0x050D => Ok(PacketType::PakcsSrvSelectReq), 0x050E => Ok(PacketType::PaklcSrvSelectReply), 0x050F => Ok(PacketType::PakcsJoinServerReq), - 0x0510 => Ok(PacketType::PakscJoinServerReply), - 0x0511 => Ok(PacketType::PakcsJoinServerTokenReq), + 0x0510 => Ok(PacketType::PakcsJoinServerTokenReq), + 0x0511 => Ok(PacketType::PakscJoinServerReply), 0x0512 => Ok(PacketType::PakwcGmCommand), 0x0513 => Ok(PacketType::PakwcGlobalVars), 0x0514 => Ok(PacketType::PakwcGlobalFlags),