-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replay.server.battlelobby parsing #123
Comments
Just when I started looking at the battlelobby again... Thank you. It will take me some time to validate this and convert to C#. |
That's great, thank you! That's been a long standing mystery. Do you know what the unnamed fields are for? Any more information is appreciated |
This script was written by reverse engineering replay files. I gave all the names to the fields, based on the statistics of their content and changes in patches. Not all names may be true. Some versions of the structure may not match, because I investigated mostly my replays while playing the game. |
Some things as I'm going through.
example: <e id="34">No Match History</e>
<e id="35">Participant Role</e>
<e id="36">Participant</e>
<e id="37">Observer</e>
<e id="38">Observer Type</e>
<e id="39">Spectator</e>
<e id="40">Referee</e> |
I should not have said, blob, that implies a byte aligned string, the 4 bytes are unaligned.
|
|
Thanks all! Great content. @Zemill making sure you see this too. |
|
I'll take a look at the weekend. As for playerInfo, it looks strange, I have not seen any parsing errors.
There was at least a patch in which these versions differed from each other |
It parses fine, but the data is wrong. The first player in the loop is fine, but after that the data is incorrect. The
I think I remembered that too. If someone has a replay where those numbers differ, that would be great. |
For the past few years I've been making edits for new versions in quick mode and seem to have broken PlayersInfo. Added a description of the structure to the readme, it's better to refer to it (instead of python script) pointing out inaccuracies. |
That description structure is much easier to read through. So an update on the
for
for |
@koliva8245 Requested files |
I fixed the parsing bugs of old versions and posted the structures of versions known to me. Some version structures may not match, because I don't have PTR replays and I arranged them according to the major version. |
@barrett777 FYI, I will not be updating this repo's battlelobby anymore as I created my own parser at https://github.com/HeroesToolChest/Heroes.StormReplayParser and I don't really want to maintain two repos. |
m_build became a build from version 2.39.0.69228 |
To parse replay.server.battlelobby try using https://github.com/EugenPolyakov/HOTS_battlelobby/blob/master/battlelobby.py
Sorry for te spam.
The text was updated successfully, but these errors were encountered: