summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 12e2c943c..2e599ffbb 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -126,6 +126,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
CMSG_WEDDING_EFFECT,
SMSG_BEING_SLIDE,
SMSG_STARS_KILL,
+ SMSG_BLACKSMITH_RANKS_LIST,
0
};
handledMessages = _messages;
@@ -358,6 +359,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processStarsKill(msg);
break;
+ case SMSG_BLACKSMITH_RANKS_LIST:
+ processBlacksmithRanksList(msg);
+ break;
+
default:
break;
}
@@ -1326,6 +1331,16 @@ void BeingHandler::processRanksList(Net::MessageIn &msg)
msg.readInt32("my points");
}
+void BeingHandler::processBlacksmithRanksList(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ // +++ here need window with rank tables.
+ for (int f = 0; f < 10; f ++)
+ msg.readString(24, "name");
+ for (int f = 0; f < 10; f ++)
+ msg.readInt32("points");
+}
+
void BeingHandler::processBeingChangeDirection(Net::MessageIn &msg)
{
BLOCK_START("BeingHandler::processBeingChangeDirection")
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index 0a6b2bcc9..e5c92c0e9 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -140,6 +140,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
static void processBeingSlide(Net::MessageIn &msg);
static void processStarsKill(Net::MessageIn &msg);
+
+ static void processBlacksmithRanksList(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h
index a5bac0fa9..3a833f769 100644
--- a/src/net/eathena/packets.h
+++ b/src/net/eathena/packets.h
@@ -84,7 +84,7 @@ int16_t packet_lengths[] =
//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, 32, 0,
- 22, -1, 16, 0, 42, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 22, -1, 16, 0, 42, 6, 6, 0, 0, 282, 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,
// #0x0240
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index b04e58601..6c9f823dd 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -276,6 +276,7 @@
#define SMSG_MVP_NO_ITEM 0x010d
#define SMSG_RANKS_LIST 0x097d
+#define SMSG_BLACKSMITH_RANKS_LIST 0x0219
#define SMSG_MONSTER_HP 0x0977
#define SMSG_MONSTER_INFO 0x018c
#define SMSG_PLAYER_HP 0x080e