From 7c925545419eeda0b0b26b290a9ec0412960fbd8 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Sun, 21 Feb 2010 22:51:50 -0500 Subject: Restore packet 0x0195 to the correct size --- src/net/ea/beinghandler.cpp | 1 + src/net/ea/network.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 56f23fdb..8803fafb 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -487,6 +487,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) dstBeing->setPartyName(msg.readString(24)); dstBeing->setGuildName(msg.readString(24)); dstBeing->setGuildPos(msg.readString(24)); + msg.readString(24); // Discard this } break; case SMSG_BEING_CHANGE_DIRECTION: diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index 7214ef10..3b8ad509 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -69,7 +69,7 @@ short packet_lengths[] = { 14, 30, 10, 3, -1, 6,106, -1, 4, 5, 4, -1, 6, 7, -1, -1, // #0x0180 6, 3,106, 10, 10, 34, 0, 6, 8, 4, 4, 4, 29, -1, 10, 6, - 90, 86, 24, 6, 30, 78, 9, 4, 8, 4, 14, 10, 4, 6, 2, 6, + 90, 86, 24, 6, 30, 102, 9, 4, 8, 4, 14, 10, 4, 6, 2, 6, 3, 3, 35, 5, 11, 26, -1, 4, 4, 6, 10, 12, 6, -1, 4, 4, 11, 7, -1, 67, 12, 18,114, 6, 3, 6, 26, 26, 26, 26, 2, 3, // #0x01C0 -- cgit v1.2.3-70-g09d2