-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live View of History of current opponent #19
Comments
Good idea, but there is one problem with it: the API does not reveal the toon (ID) of the player, just his/her name. Since the name is not unique, Scelight couldn't filter for the exact opponent you're playing against. |
damn, you are right, i didn't notice. I feel this could still be a very useful and fun feature. |
I wanted to contribute to this project anyways and this feels like a good chance. I think I can get around to this sometime in february. Unless you want to go ahead... 😃 |
I think the toon is purposely not exposed, so you can't get information about the opponent during the match that could give you an unfair advantage (e.g. typical build orders). |
yes. the sc2-api very much feels restricted, which is very understandable. is the playername from this api a different one then the one available in the replay? if not simply comparing the playernames feels like a "99% solution", so good enough. |
Yes, this name is the same what you see in Scelight, but I don't think it alone is good enough because:
So basically you'd see replays from other players too, and the ones you see would not be a complete list. |
I got this idea after reading https://www.reddit.com/r/starcraft/comments/alg9ne/blizzard_could_we_please_have_the_ability_to_tag/
We could add the ability to see the individual match-history vs the current opponent. This would make it easier to spot rematches, to see the tendencies of the player or maybe just in general remember who they were. This would solve or at least alleviate the pain induced by barcodes, but also be useful to the broader audience as it allows me to see if and when I played vs my current opponent before.
There is an API of starcraft to see the current match and the current opponent (https://us.battle.net/forums/en/sc2/topic/20748195420), I don't know if scelight uses this already. One solution would be to simply poll this endpoint, say every second, and if a change into a new match is detected a new multi-replay analyze could be triggered with the opponent id as a filter added in.
The text was updated successfully, but these errors were encountered: