summaryrefslogtreecommitdiff
path: root/tools/protocol.py
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-11-09 13:46:56 -0600
committerwushin <pasekei@gmail.com>2016-02-08 18:53:15 -0600
commitf593049cd8286f48497782d8bc0afe787724ad5d (patch)
tree371402a86444ce9104227d638192fa4a305dd48f /tools/protocol.py
parentf81bcc78fb1aa5475bbe54907ff82199fc031521 (diff)
downloadtmwa-f593049cd8286f48497782d8bc0afe787724ad5d.tar.gz
tmwa-f593049cd8286f48497782d8bc0afe787724ad5d.tar.bz2
tmwa-f593049cd8286f48497782d8bc0afe787724ad5d.tar.xz
tmwa-f593049cd8286f48497782d8bc0afe787724ad5d.zip
Add third gender to account
Add Gender to char Make gear work proper with new gender Enable legacy clients to use account gender
Diffstat (limited to 'tools/protocol.py')
-rwxr-xr-xtools/protocol.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/protocol.py b/tools/protocol.py
index f7be6e5..8c3a677 100755
--- a/tools/protocol.py
+++ b/tools/protocol.py
@@ -1638,7 +1638,7 @@ def build_context():
at(98, stats6, 'stats'),
at(104, u8, 'char num'),
- at(105, u8, 'unused2'),
+ at(105, sex, 'sex'),
],
size=106,
)
@@ -4971,8 +4971,9 @@ def build_context():
fixed=[
at(0, u16, 'packet id'),
at(2, account_id, 'account id'),
+ at(6, sex, 'sex'),
],
- fixed_size=6,
+ fixed_size=7,
pre=[0x2b0e],
post=[0x2723],
desc='''
@@ -5406,7 +5407,7 @@ def build_context():
at(6, sex, 'sex'),
],
fixed_size=7,
- pre=[0x2723],
+ pre=[NOTHING],
post=[0x00ac, 0x01d7, 0x2b01, 0x3011],
xpost=[SCRIPT, 0x0080, 0x0081, 0x0088, 0x0091, 0x00a0, 0x00b0, 0x00b1, 0x00be, 0x00c0, 0x00e9, 0x00ee, 0x00fd, 0x0106, 0x010f, 0x0119, 0x013a, 0x0141, 0x0196, 0x01b1, 0x01d8, 0x01da, 0x2b05, 0x3022],
desc='''