summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/packetsin.inc6
-rw-r--r--src/net/eathena/searchstorerecv.cpp9
2 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 50b9ae1b9..064938c4d 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -915,6 +915,12 @@ if ((serverVersion >= 8 || serverVersion == 0) && packetVersion >= 20150226)
packet(SMSG_BEING_VIEW_EQUIPMENT, 0x0a2d, -1, &BeingRecv::processBeingViewEquipment, 20150226);
}
+// 20150226
+if (packetVersion >= 20150226)
+{
+ packet(SMSG_SEARCHSTORE_SEARCH_ACK, 0x0836, 0, &SearchStoreRecv::processSearchAck, 20150226);
+}
+
// 20150422
if (packetVersion >= 20150422)
{
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
}