Shiqan / FortniteReplayDecompressor

Read Fortnite replay files
https://fortnitereplaydecompressor.readthedocs.io/en/latest/
MIT License
90 stars 33 forks source link

Placement information is sometimes not available #56

Closed BeereMgM closed 4 months ago

BeereMgM commented 5 months ago

Hello. Sometimes I dont get information about a teams placement. Is there any fix? image

Thanks!

BeereMgM commented 5 months ago

(addition) The placements arent available for the places 1-14

Shiqan commented 5 months ago

If you leave before the game is finished, we obviously dont know the placements of the remaining players at that point. If that isnt the case, please share the replay and I can have a look to see where it goes wrong.

Placement is coming from FortPlayerStateAthena if you want to debug it yourself: https://github.com/Shiqan/FortniteReplayDecompressor/blob/master/src/FortniteReplayReader/Models/NetFieldExports/FortPlayerState.cs#L119-L120

BeereMgM commented 5 months ago

Hey again. Thanks for your response! I got first place in this replay, so I was the last one alive. Here is the replay file: UnsavedReplay-2024.03.23-15.18.05.zip

Shiqan commented 5 months ago

Had a quick look, and they are indeed not there🤔 Cant see anything going wrong either, but something could be failing silently... Would have to see what changed in the recent UE builds.

BeereMgM commented 5 months ago

Would be amazing if you could check this! Please let me know if you got more informations!

Have a great easter festival!

Shiqan commented 5 months ago

He, if you play this play in replay in Fortnite, does it include the end? It almost feels like it is straight up missing the last chunk(s) of the replay.

If I log all received properties for your player (for FortPlayerStateAthena, coming in on channelIndex 213 if you want to have a look yourself) I barely get anything after the initial values. Only that you were bInAircraft, bThankedBusDriver (important 👍) and bHasEverSkydivedFromBus, followed by bHasEverSkydivedFromBusAndLanded and then the 2 kills you had early on (updated on TeamKillScore and KillScore). After that, nothing but CompressedPing until the very end...

The replay.Eliminations does contain your final kill, but that is coming from ReplayChunkType.Event instead of ReplayChunkType.ReplayData, so that would suggest the replay is (almost) complete.

BeereMgM commented 5 months ago

Thank you for taking the time to help me! I'm gonna try another replay, where I got first place to see, if its maybe corrupted!