summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-05 18:58:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-08 18:31:22 +0300
commit9c92e7993c65d927aec070fa9826f96235579482 (patch)
tree5819acae236ea282800523a24fa8abb06d36d21b /src/login
parent3bdd6a55c866ee9bf62b87aa4b6ba8d98e306ac4 (diff)
downloadhercules-9c92e7993c65d927aec070fa9826f96235579482.tar.gz
hercules-9c92e7993c65d927aec070fa9826f96235579482.tar.bz2
hercules-9c92e7993c65d927aec070fa9826f96235579482.tar.xz
hercules-9c92e7993c65d927aec070fa9826f96235579482.zip
Fix otp packet for zero clients before 2017-11-13bRagexe.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/lclif.p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/lclif.p.h b/src/login/lclif.p.h
index 5aa7337f4..024280b37 100644
--- a/src/login/lclif.p.h
+++ b/src/login/lclif.p.h
@@ -166,7 +166,9 @@ struct packet_CA_SSO_LOGIN_REQ {
*/
struct packet_CA_LOGIN_OTP {
int16 packet_id; ///< Packet ID (#PACKET_ID_CA_LOGIN_OTP)
+#if PACKETVER >= 20171113
uint32 devFlags; ///< flags including dev flag
+#endif
char login[25]; ///< Username
char password[32]; ///< Password encrypted by rijndael
char flagsStr[5]; ///< Unknown flags. Normally string: G000