Skip to content

Commit

Permalink
Merge pull request #40 from SacredWhiteArrow/develop
Browse files Browse the repository at this point in the history
Fix GP handler
  • Loading branch information
SacredWhiteArrow authored Mar 17, 2022
2 parents 587fb51 + debb8a5 commit 006740d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Arrowgene.Ddon.GameServer/Dump/SelectedDump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}
}
5 changes: 3 additions & 2 deletions Arrowgene.Ddon.GameServer/Handler/Gp_28_2_1_Handler.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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);
}
}
}

0 comments on commit 006740d

Please sign in to comment.