summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packetsout.inc12
-rw-r--r--src/net/eathena/skillhandler.cpp5
-rw-r--r--src/net/eathena/skillhandler.h2
-rw-r--r--src/net/skillhandler.h2
-rw-r--r--src/net/tmwa/skillhandler.cpp4
-rw-r--r--src/net/tmwa/skillhandler.h2
6 files changed, 25 insertions, 2 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index ee5d35ba5..5d06b5953 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -275,12 +275,20 @@ packet(CMSG_ONLINE_LIST, 0x0b0f);
packet(CMSG_SELECT_CART, 0x0980);
#ifdef PACKETS_UPDATE
+// 20041108
+if (packetVersion >= 20041108)
+{
+ packet(CMSG_ALCHEMIST_RANKS, 0x0218);
+}
// 20150513
if (packetVersion >= 20150513)
{
- packet(CMSG_SEARCHSTORE_CLICK, 0x0838);
- packet(CMSG_BUYINGSTORE_CLOSE, 0x022d);
+ packet(CMSG_SEARCHSTORE_CLICK, 0x0838);
+ packet(CMSG_BUYINGSTORE_CLOSE, 0x022d);
}
+#else
+// 0
+packet(CMSG_ALCHEMIST_RANKS, 0x0000);
#endif
// 20150513
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index fb56fae4b..7cc681c6b 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -76,4 +76,9 @@ void SkillHandler::useMap(const int id, const std::string &map) const
outMsg.writeString(map, 16, "map name");
}
+void SkillHandler::getAlchemistRanks() const
+{
+ createOutPacket(CMSG_ALCHEMIST_RANKS);
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h
index d6344ab9f..9e609488e 100644
--- a/src/net/eathena/skillhandler.h
+++ b/src/net/eathena/skillhandler.h
@@ -49,6 +49,8 @@ class SkillHandler final : public Ea::SkillHandler
const std::string &text) const override final;
void useMap(const int id, const std::string &map) const override final;
+
+ void getAlchemistRanks() const override final;
};
} // namespace EAthena
diff --git a/src/net/skillhandler.h b/src/net/skillhandler.h
index 73b977797..cd03cbf73 100644
--- a/src/net/skillhandler.h
+++ b/src/net/skillhandler.h
@@ -51,6 +51,8 @@ class SkillHandler notfinal
const std::string &text) const = 0;
virtual void useMap(const int id, const std::string &map) const = 0;
+
+ virtual void getAlchemistRanks() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/skillhandler.cpp b/src/net/tmwa/skillhandler.cpp
index 87dc0e189..e0ef8d3ad 100644
--- a/src/net/tmwa/skillhandler.cpp
+++ b/src/net/tmwa/skillhandler.cpp
@@ -76,4 +76,8 @@ void SkillHandler::useMap(const int id, const std::string &map) const
outMsg.writeString(map, 16, "map name");
}
+void SkillHandler::getAlchemistRanks() const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/skillhandler.h b/src/net/tmwa/skillhandler.h
index 0fd7c2a13..1a6bae414 100644
--- a/src/net/tmwa/skillhandler.h
+++ b/src/net/tmwa/skillhandler.h
@@ -49,6 +49,8 @@ class SkillHandler final : public Ea::SkillHandler
const std::string &text) const override final;
void useMap(const int id, const std::string &map) const override final;
+
+ void getAlchemistRanks() const override final;
};
} // namespace TmwAthena