tfausak / rattletrap

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

New update breaks rattletrap: [RT13] could not get class name for object Str #169

Closed DangerIsGo closed 3 years ago

DangerIsGo commented 3 years ago

Attached are some random replays from teams across my league from tonight. All showing the same error: [RT13] could not get class name for object Str {strValue = "TAGame.Default__RumblePickups_TA}) Using rattletrap v9.2.0

Replays.zip

DangerIsGo commented 3 years ago

I'm not a Haskell nor Rust coder but after viewing the changes Boxcars made, I think I was able to successfully adapt them to Ratteltrap with the following changes. The 4 replays I provided can now be processed successfully. Please double check my work, thanks!

In Data.hs:

Data.zip

tfausak commented 3 years ago

I haven't had a chance to look into this yet, but here's the related change from Boxcars: https://github.com/nickbabcock/boxcars/pull/118