RiotGames / developer-relations

Riot Games Developer Ecosystem Bug Reporting
http://developer.riotgames.com
736 stars 44 forks source link

[BUG] LoL lobby events never trigger "PlayerQuitGameEvent" anymore, only "GameDissolvedEvent" #204

Open Birckin opened 4 years ago

Birckin commented 4 years ago

Describe the bug
Lobby events in League of Legends don't show the eventType: PlayerQuitGameEvent anymore. When a player leaves the lobby, it shows GameDissolvedEvent without summonerId, even when he is not the last one leaving the lobby.

Issue Description
If a player leaves the lobby, and he wasn't the last one, we can't know which player left before the game start to forfeit him.

This was working correctly a year ago, maybe before the implementation of encrypted summonerIds.

Also, the documentation of the Tournament API shows that a PlayerGameQuitEvent event should exist.

Expected Result
It should generate an event in the lobby events list containing:

{
      "timestamp": "1234567890000",
      "eventType": "PlayerQuitGameEvent", //Player Leaves Lobby
      "summonerId": "12345678"
}

Actual Result
It doesn't generate any PlayerQuitGameEvent event.

Lobby events output example in a 2vs2, where all players left the lobby by clicking on the cross (x) icon at the bottom of the client: lobby-events

Developer Impact

Steps to reproduce

  1. Create a tournament code through the API.
  2. Join the lobby with two or more players.
  3. Leave the lobby by pressing the cross (x) icon at the bottom of the LoL client.
  4. Check the lobby events through the API.

Related issue

I've found this issue related to this bug: https://github.com/RiotGames/developer-relations/issues/114

But this issue asks for this event to be added when the client crashes or disconnects. My bug report states that even when the user leaves intentionally, it doesn't show the event.

Sasino97 commented 3 years ago

I confirm this bug still happens. Will it ever be fixed? I can't update the lobby status without being able to know who left the lobby.

iDanielWongi commented 3 years ago

Please fix.