From b4a2f8675591e05afeca7c55e432778dab2ffd10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Jul 2018 02:16:52 +0300 Subject: Update packet SMSG_SEARCHSTORE_SEARCH_ACK 0x0836 for new versions. --- src/net/eathena/searchstorerecv.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net/eathena/searchstorerecv.cpp') diff --git a/src/net/eathena/searchstorerecv.cpp b/src/net/eathena/searchstorerecv.cpp index 3d9044ae3..22fdec26b 100644 --- a/src/net/eathena/searchstorerecv.cpp +++ b/src/net/eathena/searchstorerecv.cpp @@ -53,6 +53,15 @@ void SearchStoreRecv::processSearchAck(Net::MessageIn &msg) msg.readUInt8("refine"); for (int d = 0; d < maxCards; d++) msg.readUInt16("card"); + if (msg.getVersion() >= 20150226) + { + for (int d = 0; d < 5; d ++) + { + msg.readInt16("option index"); + msg.readInt16("option value"); + msg.readUInt8("option param"); + } + } // +++ need use ItemColorManager for colors } -- cgit v1.2.3-60-g2f50