Added:
- A new Method
`f.player_race_random(pid))`
has been added to check whether the players race has been selected by random or not. - Its now possible to get the mapname of a replayfile by calling the mapname property on the W3G File Object.
Fixed:
- Fixed detection of the correct winner in another edge case when only 2 players and no observers are involved.
Fixed:
- Fixed an issue where in particular case the wrong winner was detected. #11
Added:
- Added ReforgedPlayerMetadata class. This will hold the clan names for the various players once Blizzard full implements that feature.
Fixed:
- Can now also read replays from Warcraft 3 Reforged.
Added:
- Add support for 12 new slot colors
- Add new result to LeftGame. Not sure what it is, but it seems to be another version of 'left game'
- Add default value for Select Modes
File.player_race()
: Try to guess actual race for Random players- Add another "win condition" by finding the last Player who left the game
Changed:
SlotRecord.from_raw()
: Drop 2 high-order bits in the "race" byte as perw3g_format.txt
- 4.12 notes
Fixed:
- Prevent sporadic "invalid continuation byte" error
- Fix issue in
Player.from_raw()
which threw off byte seeking for the rest of the file- Usually custom_or_ladder should be 1 or 8, but it seems to often be 2 for newer replays
Fixed:
- Some improvements to setup.py
Fixed:
- Minor fix for v1.29 file format