From debb8a563e5c9a2882de83838387e6d428b6af05 Mon Sep 17 00:00:00 2001 From: SacredWhiteArrow <96718033+SacredWhiteArrow@users.noreply.github.com> Date: Fri, 18 Mar 2022 03:13:21 +0900 Subject: [PATCH] Fix GP handler --- Arrowgene.Ddon.GameServer/Dump/SelectedDump.cs | 11 +++++++++++ .../Handler/Gp_28_2_1_Handler.cs | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Arrowgene.Ddon.GameServer/Dump/SelectedDump.cs b/Arrowgene.Ddon.GameServer/Dump/SelectedDump.cs index 92cec931e..9f05f1ea1 100644 --- a/Arrowgene.Ddon.GameServer/Dump/SelectedDump.cs +++ b/Arrowgene.Ddon.GameServer/Dump/SelectedDump.cs @@ -435,5 +435,16 @@ class CPacket_S2C_GET_ENEMY_SET_LIST_RES: public CPacketDataBase public static Packet lantern2_27_16 = new Packet(new PacketId(2, 27, 16, "S2C_CHARACTER_2_27_16_NTC"), data_Dump_lantern2_27_16); + public static byte[] data_Dump_46_A = new byte[] /* 28.2.2 */ + { + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0xF, + 0x1, 0x0, 0x0, 0x0, 0x0, 0xFF, 0xE2, 0x83, 0xEF, 0x0, 0x0, 0x0, 0x40, 0x1, 0x0, 0x0, + 0x0, 0x0, 0xFF, 0xB, 0x62, 0x6F, 0x0, 0x0, 0x0, 0x25, 0x1, 0x0, 0x0, 0x0, 0x0, 0xFF, + 0x34, 0x40, 0xEF, 0x0, 0x0, 0x0, 0x4, 0x1, 0x0, 0x0, 0x0, 0x0, 0xFF, 0x5A, 0x7C, 0x6F, + 0x39, 0x20, 0xFA, 0x7B, 0xC4, 0x74, 0x53 + }; + + public static Packet Dump_46_A = new Packet(new PacketId(28, 2, 2, "Dump_46_A"), data_Dump_46_A); + } } diff --git a/Arrowgene.Ddon.GameServer/Handler/Gp_28_2_1_Handler.cs b/Arrowgene.Ddon.GameServer/Handler/Gp_28_2_1_Handler.cs index dc40b2d28..ae8802b89 100644 --- a/Arrowgene.Ddon.GameServer/Handler/Gp_28_2_1_Handler.cs +++ b/Arrowgene.Ddon.GameServer/Handler/Gp_28_2_1_Handler.cs @@ -1,4 +1,4 @@ -using Arrowgene.Ddon.GameServer.Dump; +using Arrowgene.Ddon.GameServer.Dump; using Arrowgene.Ddon.Server; using Arrowgene.Ddon.Server.Network; using Arrowgene.Ddon.Shared.Network; @@ -19,7 +19,8 @@ public Gp_28_2_1_Handler(DdonGameServer server) : base(server) public override void Handle(GameClient client, IPacket packet) { - client.Send(InGameDump.Dump_46); + //client.Send(InGameDump.Dump_46); + client.Send(SelectedDump.Dump_46_A); } } }