summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-19 21:09:48 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-19 21:09:48 -0400
commitf8fb37a14476e0d8fd7cc2c87fe9813ae9dc30b5 (patch)
treef8c5ae4fe8c2054c1bb51cffc253805f1c8a9981 /tools
parentc6c3671dbe28c596ef06b4670979c5923c8821b6 (diff)
downloadtmwa-f8fb37a14476e0d8fd7cc2c87fe9813ae9dc30b5.tar.gz
tmwa-f8fb37a14476e0d8fd7cc2c87fe9813ae9dc30b5.tar.bz2
tmwa-f8fb37a14476e0d8fd7cc2c87fe9813ae9dc30b5.tar.xz
tmwa-f8fb37a14476e0d8fd7cc2c87fe9813ae9dc30b5.zip
handle old client in login server too
Diffstat (limited to 'tools')
-rwxr-xr-xtools/protocol.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/protocol.py b/tools/protocol.py
index 003f511..86b625f 100755
--- a/tools/protocol.py
+++ b/tools/protocol.py
@@ -1456,9 +1456,6 @@ def build_context():
#md5_native = md5_h.native('md5_native')
#SaltString = md5_h.native('SaltString')
- VERSION_2 = login_th.native('VERSION_2')
-
-
Position1 = clif_th.native('Position1')
NetPosition1 = clif_th.network('NetPosition1')
Position2 = clif_th.native('Position2')
@@ -1588,8 +1585,6 @@ def build_context():
]
)
- version_2 = ctx.enum(VERSION_2, u8)
-
stats6 = ctx.struct(
'Stats6',
[
@@ -1966,7 +1961,7 @@ def build_context():
at(2, u32, 'unknown'),
at(6, account_name, 'account name'),
at(30, account_pass, 'account pass'),
- at(54, version_2, 'version 2 flags'),
+ at(54, u8, 'version'),
],
fixed_size=55,
pre=[HUMAN, 0x7531],