diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-16 23:25:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-16 23:40:57 +0300 |
commit | 8b70550dab4dc90c8b0b1c84b349c4df125ff2bb (patch) | |
tree | 1c85c872e4d34d7124540dd91189900c249d2b20 /src/net/eathena/charserverrecv.cpp | |
parent | 4f8a0f6e11f32b17c45cb4214fbb83e9a1c8cd1e (diff) | |
download | plus-8b70550dab4dc90c8b0b1c84b349c4df125ff2bb.tar.gz plus-8b70550dab4dc90c8b0b1c84b349c4df125ff2bb.tar.bz2 plus-8b70550dab4dc90c8b0b1c84b349c4df125ff2bb.tar.xz plus-8b70550dab4dc90c8b0b1c84b349c4df125ff2bb.zip |
Add packet SMSG_CHANGE_MAP_SERVER 0x0ac7.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index 6bdf1d4e8..abae9b0e1 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -331,6 +331,11 @@ void CharServerRecv::processChangeMapServer(Net::MessageIn &msg) server.hostname = ipToString(msg.readInt32("host")); } server.port = msg.readInt16("port"); + if (msg.getVersion() >= 20170315) + { + for (int f = 0; f < 32; f ++) + msg.readInt32("unknown"); + } network->disconnect(); client->setState(State::CHANGE_MAP); |