-
Notifications
You must be signed in to change notification settings - Fork 147
Description
This is kind of a non-issue but the string representation for events for LOTV replays seem incorrect.
I parsed a replay that was 11:54 long, but the events go up to 16:25.
Origin of 'bug'
sc2reader/sc2reader/events/game.py
Line 51 in 4c67037
| return "{0}\t{1:<15} ".format(Length(seconds=int(self.frame / 16)), player_name) |
Solution proposal
The frames have to be divided by 22.4 instead of by 16. But this fix only works for LOTV replays, it would again show the wrong time for WOL and HOTS replays.
PS:
I want to let you know that your repository / fork cannot be searched through the github-repository search function (e.g. cant search for class names). This is simply because it is a fork.
If you want to change that and remove the fork-link, you can write a short support ticket to github to lift the connection and it becomes searchable.
Also, google search results don't seem to show this repo when searching for ggtracker sc2reader - unsure why this is (it works in the search engine duckduckgo.com).