tfausak / rattletrap

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

Class name error #178

Closed ryantcameron closed 3 years ago

ryantcameron commented 3 years ago

Hey I'm just reporting an issue I'm having. I'm trying to run a replay through (for the first time, I built it from source code on a Windows x64 system), and when I run the command, $ rattletrap < Replays\\bad_loss.replay > Replays\\Outputs\\test.json in a bash terminal I get the following error message: rattletrap.exe: user error (could not get class name for object Str {strValue = "TAGame.Default__RumblePickups_TA"})

As a note when I run the same code but with the -f tag for just the header I run into no issues.

tfausak commented 3 years ago

That looks like a bug. Can you upload the replay?

ryantcameron commented 3 years ago

Here it is. bad_loss.zip

tfausak commented 3 years ago

Can you try upgrading to at least version 9.3.0? The rumble pickup attributes are from Rocket League version 1.88, which I added support for in #170. Rattletrap version 9.3.x should be able to parse them: https://github.com/tfausak/rattletrap/releases/tag/9.3.3

ryantcameron commented 3 years ago

That worked, thanks