summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-22 21:17:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-22 21:17:33 +0300
commitbce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca (patch)
tree241bb3bf82b89606437fbb9ebb49aa3afde11234 /src
parentb44bcbdbaa5eb7f278444b8b48dbe6b8f6345191 (diff)
downloadmv-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.tar.gz
mv-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.tar.bz2
mv-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.tar.xz
mv-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.zip
Read whole some guild related packets in all cases.
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/guildrecv.cpp5
-rw-r--r--src/net/eathena/beingrecv.cpp6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/net/ea/guildrecv.cpp b/src/net/ea/guildrecv.cpp
index f952ae2d2..cb8b9394d 100644
--- a/src/net/ea/guildrecv.cpp
+++ b/src/net/ea/guildrecv.cpp
@@ -453,6 +453,11 @@ void GuildRecv::processGuildMessage(Net::MessageIn &msg)
guildTab->chatLog(chatMsg, ChatMsgType::BY_SERVER);
}
}
+ else
+ {
+ DEBUGLOGSTR("invisible guild?");
+ msg.readString(msgLength, "message");
+ }
}
void GuildRecv::processGuildSkillUp(Net::MessageIn &msg)
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index a3758e718..b2738a263 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1299,6 +1299,12 @@ void BeingRecv::processPlayerGuilPartyInfo(Net::MessageIn &msg)
dstBeing->setGuildPos(msg.readString(24, "guild pos"));
dstBeing->addToCache();
}
+ else
+ {
+ msg.readString(24, "party name");
+ msg.readString(24, "guild name");
+ msg.readString(24, "guild pos");
+ }
BLOCK_END("BeingRecv::processPlayerGuilPartyInfo")
}