developer-relations icon indicating copy to clipboard operation
developer-relations copied to clipboard

[BUG] Incorrect `DRAGON_SOUL_GIVEN` events in match details/timeline JSON files since patch 15.1

Open arbolitoloco1 opened this issue 10 months ago • 3 comments

Bug Description
Match details JSON files since patch 15.1 have a DRAGON_SOUL_GIVEN event which doesn't actually correspond to a team receiving drake soul in the real game, but to the moment the type of soul is decided (so when the second drake is killed). These incorrect events always have teamId: 0 which I think is invalid as well. For example on LOLTMNT99_343945 there is (frame 14, event 15):

{
  "name": "Cloud",
  "teamId": 0,
  "timestamp": 804191,
  "type": "DRAGON_SOUL_GIVEN"
}

Another example games are EUW1_7263613100 or LOLTMNT06_95160 (in this game there are two DRAGON_SOUL_GIVEN events, as one of the teams actually got the drake soul), but the bug is present in every game I could check, both in live server and esports.

arbolitoloco1 avatar Jan 12 '25 09:01 arbolitoloco1

So basically this just means that when the DRAGON_SOUL_GIVEN event is in the timeline with teamId 0 that is the informmation about what soul will be available in the game and when there is a teamId it means it has been claimed? I wouldn't neccesarrily seen that as an issue?

geozukunft avatar Jan 12 '25 12:01 geozukunft

I feel like the naming is a bit misleading but apart from that it makes sense to show which dragon soul will spawn - even tho not defeated yet

DarkIntaqt avatar Jan 12 '25 12:01 DarkIntaqt

Up to patch 15.1 DRAGON_SOUL_GIVEN was always used for a team receiving a drake soul iirc. In my case the code expects this type of event to represent that specific situation and then attributes the drake soul to either blue or red team (we use this data to make scoreboards for Leaguepedia), so with the new patch it stopped working.

It's true that it is really easy to workaround by just skipping the case where teamId is 0, but is also super confusing because the event name doesn't match what actually happened in the game and teamId being 0 doesn't make sense either.

arbolitoloco1 avatar Jan 12 '25 12:01 arbolitoloco1