diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-22 21:17:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-22 21:17:33 +0300 |
commit | bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca (patch) | |
tree | 241bb3bf82b89606437fbb9ebb49aa3afde11234 | |
parent | b44bcbdbaa5eb7f278444b8b48dbe6b8f6345191 (diff) | |
download | manaplus-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.tar.gz manaplus-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.tar.bz2 manaplus-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.tar.xz manaplus-bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca.zip |
Read whole some guild related packets in all cases.
-rw-r--r-- | src/net/ea/guildrecv.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 6 |
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") } |