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

[BUG] Spectator api still returns data from a custom game despites the game being over

Open trebonius0 opened this issue 5 years ago • 3 comments

Bug Description
I start a custom game with my account (no other player/no bots), and then stopped the match after 1-2 minutes. After the match is over, when calling the spectator endpoint, it still shows me that I'm in this game. And the game will still appear 60+ minutes after the game ended. EUW - GameId: 5027564026 - EncryptedSummonerId: 10RPO4cOVeQd2wlZbBWda9u2-I5J91IYcSdCfY1xZ4hcD-w

image

  • Frequency: Repro 100%
  • Severity: High

Player Impact
If my users do a custom game and then a "normal" game, 80% of the time they will get the custom game being displayed.

Repro steps Start a custom game. Play for one minute. Leave. Wait 20minutes. The spectator api still shows you as being ingame

Thanks

trebonius0 avatar Jan 12 '21 17:01 trebonius0

Also, for other types of games, the game data seem to stay on the spectator endpoint 2-3 minutes after a game ends, which can lead to display the data from the previous game to a user

trebonius0 avatar Jan 12 '21 23:01 trebonius0

The game staying on the spectator server after it ends in non-custom situations is due to spectator delay most likely. (its 3min)

As for the custom game still staying after, i dont think the server destroys the game before the nexus dies from minions (just a guess tho)

stelar7 avatar Jan 12 '21 23:01 stelar7

I don't hink it used to be like that in the past

trebonius0 avatar Jan 13 '21 01:01 trebonius0