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

[BUG] New World Atlas system creates broken PURCHASE_EVENTs without participantId

Open Degcube opened this issue 10 months ago • 1 comments

Bug Description In 15.9 games (new patch), riot changed that only support players can obtain world atlas. They solved it apparently by giving each support a automatic purchase at timestamp 0:00 in the game. This creates 2 new Events at timestamp 0 in the timeline, 1 for each support. The event data looks like this:

{
  "itemId": 3865,
  "participantId": 0,
  "timestamp": 0,
  "type": "ITEM_PURCHASED"
 },
{
  "itemId": 3865,
  "participantId": 0,
  "timestamp": 0,
  "type": "ITEM_PURCHASED"
 }

As you can see, the participant id is not set.

Expected Result The participant ids for the support players should be set, something like this:

{
  "itemId": 3865,
  "participantId": 5,
  "timestamp": 0,
  "type": "ITEM_PURCHASED"
 },
{
  "itemId": 3865,
  "participantId": 10,
  "timestamp": 0,
  "type": "ITEM_PURCHASED"
 }

Actual Result participantId: 0

Developer Impact Existing systems break, workarounds are possible but not elegant.

Frequency: So far i've seen it in every summoners rift match that has been played after the maintenance was over.

Repro Steps Load the match "EUW1_7385417283" from the MATCH-V5 API. Just the timeline is enough. ParticipantIds are not set in the first frame next to "PAUSE_END".

Degcube avatar Apr 30 '25 13:04 Degcube

Seconded.

Easy to solve quickly if you assume the participantIds are in fact 5 and 10, but will fail on minority games where that isn't the case for whatever reason.

GXJackJ avatar Apr 30 '25 15:04 GXJackJ