From b43d3d71666161d9276440727082cc1508741280 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Mar 2016 19:51:37 +0300 Subject: Update being packets for packet version >= 20150513. --- src/net/eathena/beingrecv.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net') diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 8be5df894..316ed2896 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -413,7 +413,10 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg) msg.readInt8("is boss"); if (packetVersion >= 20150513) + { msg.readInt16("body2"); + msg.readString(24, "name"); + } dstBeing->setStunMode(stunMode); dstBeing->setStatusEffectBlock(0, CAST_U16( @@ -591,7 +594,10 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg) msg.readInt8("is boss"); if (packetVersion >= 20150513) + { msg.readInt16("body2"); + msg.readString(24, "name"); + } dstBeing->setStunMode(stunMode); dstBeing->setStatusEffectBlock(0, CAST_U16( @@ -749,7 +755,10 @@ void BeingRecv::processBeingSpawn(Net::MessageIn &msg) msg.readInt8("is boss"); if (packetVersion >= 20150513) + { msg.readInt16("body2"); + msg.readString(24, "name"); + } dstBeing->setStunMode(stunMode); dstBeing->setStatusEffectBlock(0, CAST_U16( -- cgit v1.2.3-70-g09d2