From ee3321098ab5ffd71a4809b035a39c06884da2d2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Sep 2016 17:38:35 +0300 Subject: Add packet SMSG_VENDING_REPORT 0x09e5. --- src/net/eathena/vendingrecv.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/net/eathena/vendingrecv.cpp') diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp index f6668265f..3419ab343 100644 --- a/src/net/eathena/vendingrecv.cpp +++ b/src/net/eathena/vendingrecv.cpp @@ -220,6 +220,13 @@ void VendingRecv::processReport(Net::MessageIn &msg) { const int index = msg.readInt16("inv index") - INVENTORY_OFFSET; const int amount = msg.readInt16("amount"); + if (msg.getVersion() >= 20141016) + { + UNIMPLIMENTEDPACKET; + msg.readInt32("char id"); + msg.readInt32("time"); + msg.readInt32("zeny"); + } const Inventory *const inventory = PlayerInfo::getCartInventory(); if (!inventory) return; -- cgit v1.2.3-70-g09d2