From 382598c07ffb3c64998a8e42c6a245711e86a419 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Apr 2016 15:31:20 +0300 Subject: Impliment packet CMSG_PK_RANKS 0x0237. --- src/net/eathena/packetsout.inc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/net/eathena/packetsout.inc') diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 17bb98078..ef23579a5 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -274,23 +274,29 @@ packet(CMSG_ONLINE_LIST, 0x0b0f); // 20150805 packet(CMSG_SELECT_CART, 0x0980); -#ifdef PACKETS_UPDATE +#ifndef PACKETS_UPDATE +// 0 +packet(CMSG_ALCHEMIST_RANKS, 0x0000); +packet(CMSG_BLACKSMITH_RANKS, 0x0000); +packet(CMSG_PK_RANKS, 0x0000); +#else // 20041108 if (packetVersion >= 20041108) { packet(CMSG_ALCHEMIST_RANKS, 0x0218); packet(CMSG_BLACKSMITH_RANKS, 0x0217); } +// 20050530 +if (packetVersion >= 20050530) +{ + packet(CMSG_PK_RANKS, 0x0237); +} // 20150513 if (packetVersion >= 20150513) { packet(CMSG_SEARCHSTORE_CLICK, 0x0838); packet(CMSG_BUYINGSTORE_CLOSE, 0x022d); } -#else -// 0 -packet(CMSG_ALCHEMIST_RANKS, 0x0000); -packet(CMSG_BLACKSMITH_RANKS, 0x0000); #endif // 20150513 -- cgit v1.2.3-70-g09d2