summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-15 20:34:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-15 20:34:07 +0300
commit8b22861c92f1cec3af31b8b9e97b16498b2d86d0 (patch)
treee970b128f3b21ba20baeecccdd8a0db979ff7617 /src
parenta4ee70af007aca5a59a923454ed340cdb6d1e080 (diff)
downloadmv-8b22861c92f1cec3af31b8b9e97b16498b2d86d0.tar.gz
mv-8b22861c92f1cec3af31b8b9e97b16498b2d86d0.tar.bz2
mv-8b22861c92f1cec3af31b8b9e97b16498b2d86d0.tar.xz
mv-8b22861c92f1cec3af31b8b9e97b16498b2d86d0.zip
Add packet SMSG_MAP_SET_TILES_TYPE 0x0b1b.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/maprecv.cpp11
-rw-r--r--src/net/eathena/maprecv.h1
-rw-r--r--src/net/eathena/network.h2
-rw-r--r--src/net/eathena/packetsin.inc1
4 files changed, 14 insertions, 1 deletions
diff --git a/src/net/eathena/maprecv.cpp b/src/net/eathena/maprecv.cpp
index 03c660c4c..06a039306 100644
--- a/src/net/eathena/maprecv.cpp
+++ b/src/net/eathena/maprecv.cpp
@@ -57,4 +57,15 @@ void MapRecv::processInstanceDelete(Net::MessageIn &msg)
msg.readInt32("unused");
}
+void MapRecv::processSetTilesType(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt16("x1");
+ msg.readInt16("y1");
+ msg.readInt16("x2");
+ msg.readInt16("y2");
+ msg.readInt32("mask");
+ msg.readString(16, "map name");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/maprecv.h b/src/net/eathena/maprecv.h
index 8a566a218..3bb2cce05 100644
--- a/src/net/eathena/maprecv.h
+++ b/src/net/eathena/maprecv.h
@@ -34,6 +34,7 @@ namespace EAthena
void processInstanceCreate(Net::MessageIn &msg);
void processInstanceInfo(Net::MessageIn &msg);
void processInstanceDelete(Net::MessageIn &msg);
+ void processSetTilesType(Net::MessageIn &msg);
} // namespace MapRecv
} // namespace EAthena
diff --git a/src/net/eathena/network.h b/src/net/eathena/network.h
index b2b2f3532..006ad4a6e 100644
--- a/src/net/eathena/network.h
+++ b/src/net/eathena/network.h
@@ -29,7 +29,7 @@
* Protocol version, reported to the eAthena char and mapserver who can adjust
* the protocol accordingly.
*/
-#define CLIENT_PROTOCOL_VERSION 12
+#define CLIENT_PROTOCOL_VERSION 14
namespace EAthena
{
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index c2f786d22..a0e611afc 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -24,6 +24,7 @@ packet(SMSG_ADMIN_ACCOUNT_STATS, 0x0214, 42, &AdminRecv::processAccou
packet(SMSG_ADMIN_GET_LOGIN_ACK, 0x01e0, 30, &AdminRecv::processAdminGetLoginAck);
packet(SMSG_ADMIN_KICK_ACK, 0x00cd, 6, &Ea::AdminRecv::processKickAck);
packet(SMSG_ADMIN_SET_TILE_TYPE, 0x0192, 24, &AdminRecv::processSetTileType);
+packet(SMSG_MAP_SET_TILES_TYPE, 0x0b1b, 30, &MapRecv::processSetTilesType);
packet(SMSG_ALCHEMIST_RANKS_LIST, 0x021a, 282, &BeingRecv::processAlchemistRanksList);
packet(SMSG_AUCTION_CLOSE, 0x025d, 4, &AuctionRecv::processAuctionClose);
packet(SMSG_AUCTION_MESSAGE, 0x0250, 3, &AuctionRecv::processAuctionMessage);