barrett777/Heroes.ReplayParser

Replay Parsing Fails on latest HoTs Patch

Closed this issue · 6 comments

@koliva8245

Throw exception at System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'

if (replay.ClientListByWorkingSetSlotID[workingSetSlotID.Value] != null)

Looks like it is passing 15 for userID.value into the replay.ClientListByUserID array which is null at index 15

2021-05-18 15.58.01 Warhead Junction.zip

I'll fix this soon

Fixed in version 1.2.14 (Should be on NuGet any minute)

I was only able to test a few Quick Match games. Let me know if it doesn't work for any other game modes.

When I go to update/install the 1.2.14 update through nuget, it shows the 1.2.14 update, but it appears it is installing the 1.2.13 version.

Can you double check or am I crazy

I created a little console project using the NuGet version and I think it is updated

Try compiling and then check the properties of the 'Heroes.ReplayParser.dll' in your \bin folder

image

Alright, I did the same thing you did and created a dummy project. Works without issue.

Problem is, it isn't working with my AWS Lambda function....not sure why yet, its just throwing the same exception, but working on older replays, as if it isnt updating....anyway, thanks for the work on this

I wasn't able to test parsing ranked modes so it may be an issue with ranked game modes