summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beinghandler.cpp15
-rw-r--r--src/net/eathena/beinghandler.h2
-rw-r--r--src/net/eathena/packets.h2
-rw-r--r--src/net/eathena/protocol.h1
4 files changed, 19 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 18897c153..12e2c943c 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -125,6 +125,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
CMSG_COMBO_DELAY,
CMSG_WEDDING_EFFECT,
SMSG_BEING_SLIDE,
+ SMSG_STARS_KILL,
0
};
handledMessages = _messages;
@@ -353,6 +354,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processBeingSlide(msg);
break;
+ case SMSG_STARS_KILL:
+ processStarsKill(msg);
+ break;
+
default:
break;
}
@@ -1744,4 +1749,14 @@ void BeingHandler::processBeingSlide(Net::MessageIn &msg)
msg.readInt16("y");
}
+void BeingHandler::processStarsKill(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readString(24, "map name");
+ msg.readInt32("monster id");
+ msg.readUInt8("start");
+ msg.readUInt8("result");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index 15710f0b3..0a6b2bcc9 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -138,6 +138,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
static void processWddingEffect(Net::MessageIn &msg);
static void processBeingSlide(Net::MessageIn &msg);
+
+ static void processStarsKill(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h
index 0b72b9349..8d95dbcf0 100644
--- a/src/net/eathena/packets.h
+++ b/src/net/eathena/packets.h
@@ -83,7 +83,7 @@ int16_t packet_lengths[] =
//0 1 2 3 4 5 6 7 8 9 a b c d e f
//0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// #0x0200
- 26, -1, 0, 0, 18, 26, 11, 34, 0, 36, 10, 19, 10, 0, 0, 0,
+ 26, -1, 0, 0, 18, 26, 11, 34, 0, 36, 10, 19, 10, 0, 32, 0,
22, -1, 16, 0, 42, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-1, 122, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 19, 71, 5,
12, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index ef4979926..b1bbe3141 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -149,6 +149,7 @@
#define SMSG_BEING_STAT_UPDATE_1 0x01ab
#define SMSG_BEING_ATTRS 0x0b0a
#define SMSG_IGNORE_NICK_ACK 0x00d1
+#define SMSG_STARS_KILL 0x020e
#define SMSG_PLAYER_STATUS_CHANGE 0x0229
#define SMSG_PLAYER_STATUS_CHANGE2 0x028a