diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-07 16:40:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-07 16:40:37 +0300 |
commit | 3dbb94e740268181f9642d065e57520c1199c355 (patch) | |
tree | f856bad71bf6513e0882e0190bd8e4df10ba5683 /src/net/eathena/guildhandler.cpp | |
parent | 726a46299e2efb1e010fa8524dba19871a0c6294 (diff) | |
download | ManaVerse-3dbb94e740268181f9642d065e57520c1199c355.tar.gz ManaVerse-3dbb94e740268181f9642d065e57520c1199c355.tar.bz2 ManaVerse-3dbb94e740268181f9642d065e57520c1199c355.tar.xz ManaVerse-3dbb94e740268181f9642d065e57520c1199c355.zip |
eathena: fix packet SMSG_GUILD_EXPULSION_LIST 0x0163.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 63d88c624..5e7ed61a7 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -429,17 +429,16 @@ void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg) const { - const int length = msg.readInt16(); + const int length = msg.readInt16("len"); if (length < 4) return; - const int count = (length - 4) / 88; + const int count = (length - 4) / 64; for (int i = 0; i < count; i++) { - msg.readString(24); // Name (of expulsed?) - msg.readString(24); // 'Acc' (name of expulser?) - msg.readString(24); // Message + msg.readString(24, "name"); + msg.readString(40, "message"); } } |