From e7f9514cab45863edf6a613ef8563bb15ff66e96 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Apr 2018 23:45:47 +0300 Subject: Add packet SMSG_OPEN_WINDOW2 0x0ae2. --- src/net/eathena/packetsin.inc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'src/net/eathena/packetsin.inc') diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 4a5e3fbf3..74dd99152 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -1030,12 +1030,15 @@ if (packetVersion >= 20171207) } // re 20180221 -if (packets_re == true) -{ -if (packetVersion >= 20180221) +if (packetVersionRe >= 20180221) { packet(SMSG_SOLVE_CHAR_NAME, 0x0af7, 32, &BeingRecv::processSolveCharName, 20180221); } + +// re 20180221 +if (packetVersionRe >= 20180221) +{ + packet(SMSG_FRIENDS_PLAYER_ONLINE, 0x0206, 35, &FriendsRecv::processPlayerOnline, 20180221); } // main 20180307 @@ -1045,10 +1048,16 @@ if (packetVersionMain >= 20180307) packet(SMSG_FRIENDS_PLAYER_ONLINE, 0x0206, 35, &FriendsRecv::processPlayerOnline, 20180307); } -// re 20180221 -if (packetVersionRe >= 20180221) +// re 20180307 +if (packetVersionRe >= 20180307) { - packet(SMSG_FRIENDS_PLAYER_ONLINE, 0x0206, 35, &FriendsRecv::processPlayerOnline, 20180221); + packet(SMSG_OPEN_WINDOW2, 0x0ae2, 7, &AttendanceRecv::processOpenWindow, 20180307); +} + +// main 20180404 +if (packetVersionMain >= 20180404) +{ + packet(SMSG_OPEN_WINDOW2, 0x0ae2, 7, &AttendanceRecv::processOpenWindow, 20180404); } // 0 -- cgit v1.2.3-70-g09d2