From 1acf5016d8dc5cdc93e7cb3ed655dde5ff04ca33 Mon Sep 17 00:00:00 2001 From: gumi Date: Thu, 5 Apr 2018 17:23:04 -0400 Subject: preemptively send auth details to char server why wasn't this already the case? o_o --- src/char/char.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/char/char.cpp') diff --git a/src/char/char.cpp b/src/char/char.cpp index 8e687d6..22e8162 100644 --- a/src/char/char.cpp +++ b/src/char/char.cpp @@ -1237,6 +1237,26 @@ void parse_tologin(Session *ls) break; } + case 0x2715: + { + Packet_Fixed<0x2715> fixed; + rv = recv_fpacket<0x2715, 22>(ls, fixed); + if (rv != RecvResult::Complete) + break; + + if (auth_fifo_iter == auth_fifo.end()) + auth_fifo_iter = auth_fifo.begin(); + auth_fifo_iter->account_id = fixed.account_id; + auth_fifo_iter->char_id = CharId(); + auth_fifo_iter->login_id1 = fixed.login_id1; + auth_fifo_iter->login_id2 = fixed.login_id2; + auth_fifo_iter->delflag = 2; + auth_fifo_iter->ip = fixed.ip; + auth_fifo_iter->client_version = fixed.client_protocol_version; + auth_fifo_iter++; + break; + } + // Receiving of an e-mail/time limit from the login-server (answer of a request because a player comes back from map-server to char-server) by [Yor] case 0x2717: { -- cgit v1.2.3-60-g2f50