summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-12-30 13:31:04 -0500
committergumi <git@gumi.ca>2018-12-30 14:04:23 -0500
commita860cff760e39dc63de529991131fe295e03f543 (patch)
tree14725e1c54aee684d01f7064089d4e446c39f9f2 /tools
parent57659198f95048ade5d69d88bcf78068cb8e8681 (diff)
downloadtmwa-a860cff760e39dc63de529991131fe295e03f543.tar.gz
tmwa-a860cff760e39dc63de529991131fe295e03f543.tar.bz2
tmwa-a860cff760e39dc63de529991131fe295e03f543.tar.xz
tmwa-a860cff760e39dc63de529991131fe295e03f543.zip
make char server notify login server of successful auth
Diffstat (limited to 'tools')
-rwxr-xr-xtools/protocol.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/protocol.py b/tools/protocol.py
index 12f8ead..2940744 100755
--- a/tools/protocol.py
+++ b/tools/protocol.py
@@ -5250,6 +5250,22 @@ def build_context():
Password changed or not.
''',
)
+ login_char.r(0x2742, 'auth send success',
+ 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='''
+ Notify login server that we accepted the auth data
+ ''',
+ )
# TOC_CHARMAP
# char map