From c332163b2f465f51b6a15648125f655a19ec1021 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Jan 2019 04:22:02 +0300 Subject: Add icomplete packet CMSG_NPC_BARTER_BUY 0x0b0f --- src/net/eathena/packetsout.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/eathena/packetsout.inc') diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc index 7bb87d36d..e18283736 100644 --- a/src/net/eathena/packetsout.inc +++ b/src/net/eathena/packetsout.inc @@ -353,6 +353,7 @@ packet(CMSG_SKILL_USE_BEING_START, 0x0000, 0, nullptr); packet(CMSG_SKILL_USE_BEING_STOP, 0x0000, 0, nullptr); packet(CMSG_NPC_BARTER_CLOSE, 0x0000, 0, nullptr); packet(CMSG_CAMERA_INFO, 0x0000, 0, nullptr); +packet(CMSG_NPC_BARTER_BUY, 0x0000, 0, nullptr); #else // 20040713 if (packetVersion >= 20040713) @@ -1556,18 +1557,21 @@ if (packetVersionMain >= 20181121) if (packetVersionZero >= 20181226) { packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed); + packet(CMSG_NPC_BARTER_BUY, 0x0b0f, -1, clif->pNPCBarterPurchase); } // 20190116 main if (packetVersionMain >= 20190116) { packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed); + packet(CMSG_NPC_BARTER_BUY, 0x0b0f, -1, clif->pNPCBarterPurchase); } // 20190116 re if (packetVersionRe >= 20190116) { packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed); + packet(CMSG_NPC_BARTER_BUY, 0x0b0f, -1, clif->pNPCBarterPurchase); } #endif -- cgit v1.2.3-70-g09d2