league-prod-toolkit
league-prod-toolkit copied to clipboard
[ Bug ] Can't load the runes during the 3 min delay in champion select
Describe the bug During the 3 minutes delay in the champion select, the tool-kit cannot load the runes from the players to show them.
To Reproduce Get in a lobby as a spectator (it was with a Tournament Code), spectate the draft and wait until the game start for the players. Then, the tool-kit tells me they can't find the players in a current live game to load it (sorry, I forgot to take a screenshot of the error, I'll try to reproduce it tonight and take a picture)
Expected behavior I did manage to make it work in the past for testing purpose. I right clicked on a friend in my friend list to spectate his normal game right when he started, so it put me in the 3 min wait screen, where it loaded correctly. But it was like a week ago.
Screenshots Screenshots to come later this week.
System:
- OS: Windows 10
- Node 16.7
- Prod Tool Version: 1.3.3
- Observer Tool Version: 3.1.? (need to double-check tonight)
- Browser: Edge
Additional context I had an Riot API Key and it worked, since I had no problem getting the post-game stats and graph (they loaded by themself at the end of the game).
We also noticed this issue with tournament codes. Some tournament codes are not allowing the data to get pushed to the riot spectator API that's why we can not load runes from that endpoint. We have not yet completed testing when that happens. Our working theory is when the codes are set up to only allow spectating from the lobby only, they don't send data to the API until the game is over.
It would make sense. I totally forgot to write it in the OG post, but I thought that maybe since the settings only accept spectators in the lobby, the data can't be acquired until the end of the game. Thanks for the fast input on this one!
We will try to see if that is causing it. if so we will add it to the documentation.
How do I get roit api
https://developer.riotgames.com/