diff options
author | Daniel Schadt <kingdread@gmx.de> | 2021-11-12 17:42:32 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2021-11-12 17:45:11 +0100 |
commit | 6f049aa5e1524169b302db4c6b8b9f5edb82df87 (patch) | |
tree | e07da5b055e39a3a9ac5cbd323ebe94fb97b0156 /tests/logs/old-cairn-20180321.evtc.zip | |
parent | 09285afdb729565a484fe93a7958b330681a4bc1 (diff) | |
download | evtclib-6f049aa5e1524169b302db4c6b8b9f5edb82df87.tar.gz evtclib-6f049aa5e1524169b302db4c6b8b9f5edb82df87.tar.bz2 evtclib-6f049aa5e1524169b302db4c6b8b9f5edb82df87.zip |
Fix player name parsing logic
The old code seemed to choke on WvW players, as the subgroup-calculating
code did 0 - b'0', which underflowed. The proper way to parse a subgroup
is not to take a single character anyway, because subgroups can be
bigger than 10.
The new code fixes that by properly extracting the "subgroup str
literal" and then parsing it as an integer, with some special logic to
detect an "empty" subgroup as it is in WvW.
Diffstat (limited to 'tests/logs/old-cairn-20180321.evtc.zip')
0 files changed, 0 insertions, 0 deletions