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 --- tools/protocol.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tools') diff --git a/tools/protocol.py b/tools/protocol.py index 1001158..a6a9e39 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4904,6 +4904,22 @@ def build_context(): This occurs every few seconds, so is also used for antifreeze if enabled. ''', ) + login_char.r(0x2715, 'send auth', + fixed=[ + at(0, u16, 'packet id'), + at(2, account_id, 'account id'), + at(6, u32, 'login id1'), + at(10, u32, 'login id2'), + at(14, ip4, 'ip'), + at(18, client_version, 'client protocol version'), + ], + fixed_size=22, + pre=[0x0065], + post=[0x006b, 0x006c], + desc=''' + Send the auth data to char server + ''', + ) login_char.r(0x2716, 'email limit', fixed=[ at(0, u16, 'packet id'), -- cgit v1.2.3-60-g2f50