diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-12-14 02:58:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-12-14 02:58:34 +0300 |
commit | c3c14c092bf1038d766dd969561a83515554d844 (patch) | |
tree | 340d986acd77fa4a6571f6976a831ccc693e851f /src/net/ea | |
parent | 386650285cecf90a0b77ac3dd5e3548148ca9182 (diff) | |
download | plus-c3c14c092bf1038d766dd969561a83515554d844.tar.gz plus-c3c14c092bf1038d766dd969561a83515554d844.tar.bz2 plus-c3c14c092bf1038d766dd969561a83515554d844.tar.xz plus-c3c14c092bf1038d766dd969561a83515554d844.zip |
Add last login time to char selection dialog.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index b11e60d4d..420236cfd 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -168,7 +168,11 @@ void LoginHandler::processLoginData(Net::MessageIn &msg) mToken.session_ID1 = msg.readInt32(); mToken.account_ID = msg.readInt32(); mToken.session_ID2 = msg.readInt32(); - msg.skip(30); // unknown + msg.skip(4); // old ip + loginData.lastLogin = msg.readString(24); + msg.skip(2); // unused bytes + +// msg.skip(30); // unknown // reserve bits for future usage mToken.sex = (msg.readInt8() & 1) ? GENDER_MALE : GENDER_FEMALE; |