summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsout.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-23 23:45:41 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-25 02:39:11 +0300
commit852ca6c80f1c7958b08f0bafcb783a48a51aabb8 (patch)
treeb34df84b2f7bf9815f35972930bd10602baff4c6 /src/net/eathena/packetsout.inc
parent19366a7eae5cb6862da3212f8d3e16fe0bf9255e (diff)
downloadplus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.tar.gz
plus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.tar.bz2
plus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.tar.xz
plus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.zip
Add packet CMSG_LOGIN_OTP_CODE 0x0ad0
Diffstat (limited to 'src/net/eathena/packetsout.inc')
-rw-r--r--src/net/eathena/packetsout.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index d9b269ba9..b1a41e4d2 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -343,6 +343,7 @@ packet(CMSG_CHANGE_DRESS, 0x0000, 0, nullptr);
packet(CMSG_INSTANCE_COMMAND, 0x0000, 0, nullptr);
packet(CMSG_ACHIEVEMENT_GET_REWARD, 0x0000, 0, nullptr);
packet(CMSG_LOGIN_MOBILE_OTP, 0x0000, 0, nullptr);
+packet(CMSG_LOGIN_OTP_CODE, 0x0000, 0, nullptr);
#else
// 20040713
if (packetVersion >= 20040713)
@@ -1467,12 +1468,14 @@ if (packetVersionRe >= 20180718)
if (packetVersionMain >= 20181114)
{
packet(CMSG_LOGIN_MOBILE_OTP, 0x09a3, -1, lclif->p->parse_CA_ACK_MOBILE_OTP);
+ packet(CMSG_LOGIN_OTP_CODE, 0x0ad0, 11, lclif->p->parse_CA_OTP_CODE);
}
// 20181114 re
if (packetVersionRe >= 20181114)
{
packet(CMSG_LOGIN_MOBILE_OTP, 0x09a3, -1, lclif->p->parse_CA_ACK_MOBILE_OTP);
+ packet(CMSG_LOGIN_OTP_CODE, 0x0ad0, 11, lclif->p->parse_CA_OTP_CODE);
}
#endif