RiotGames / developer-relations

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

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

Open trebonius0 opened 3 years ago

trebonius0 commented 3 years ago

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

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 commented 3 years ago

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

stelar7 commented 3 years ago

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)

trebonius0 commented 3 years ago

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