diff options
author | gumi <git@gumi.ca> | 2018-04-05 17:23:04 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-04-05 17:23:09 -0400 |
commit | 1acf5016d8dc5cdc93e7cb3ed655dde5ff04ca33 (patch) | |
tree | c8959d576f47b5ee0e3a95595fbcf3097107fca8 /tools | |
parent | 06770d49189dd647ccd836ed738e9a4560e0118e (diff) | |
download | tmwa-1acf5016d8dc5cdc93e7cb3ed655dde5ff04ca33.tar.gz tmwa-1acf5016d8dc5cdc93e7cb3ed655dde5ff04ca33.tar.bz2 tmwa-1acf5016d8dc5cdc93e7cb3ed655dde5ff04ca33.tar.xz tmwa-1acf5016d8dc5cdc93e7cb3ed655dde5ff04ca33.zip |
preemptively send auth details to char server
why wasn't this already the case? o_o
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/protocol.py | 16 |
1 files changed, 16 insertions, 0 deletions
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'), |