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 /CHANGELOG.md | |
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 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 512fa23..9b916e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file. - Boss and encounter definitions for the training golems (`StandardKittyGolem`, `MediumKittyGolem`, `LargeKittyGolem`) +### Fixed +- `evtclib` will no longer choke on WvW logs where player names might not contain the expected + information. + ## 0.5.0 - 2020-10-07 ### Added - `Boss::Ai` to represent Ai, Keeper of the Peak in the Sunqua Peak fractal. |