tfausak / rattletrap

:car: Parse and generate Rocket League replays.
https://hackage.haskell.org/package/rattletrap
MIT License
150 stars 21 forks source link

Parsing fails on 1.66 replays #140

Closed kcolton closed 5 years ago

kcolton commented 5 years ago

Encountering this error when attempting to parse online-match replays after the 1.66 update

rattletrap.exe: user error (could not get class name for object Str {strValue = "ProjectX.Default__NetModeReplicator_X"})

Local matches still work, but guessing there is a new field added for online matches.

Was looking into this w/ @andrewchae and tried adding: , ("ProjectX.Default__NetModeReplicator_X", "Engine.ReplicationInfo") to rawObjectClasses but that just created a new error of:

rattletrap: user error (could not get attribute map for CompressedWord {compressedWordLimit = 2047, compressedWordValue = 1540})

We are pretty sure that ProjectX.Default__NetModeReplicator_X is of type Engine.ReplicationInfo or Engine.PlayerReplicationInfo but not sure what we are missing.

Attached replay file from 1.66: B0A659E44B63CD260E857C92DDE50DA8.zip

kcolton commented 5 years ago

Have heard from CantFly and Bakkes that mapping ProjectX.Default__NetModeReplicator_X to Engine.ReplicationInfo got their respective parser's working again.

Not really sure where we went wrong or what else additional would need to be added for how rattletrap is setup to parse.

tfausak commented 5 years ago

It's possible that some other field changed slightly, but enough to throw my parser off. Or my parser is parsing something wrong that didn't cause problems until now.

DangerIsGo commented 5 years ago

Is there any update or estimate on to when this would be completed? My league as several hundred (and growing) replays to process and is awaiting a fix. Thank you!