← Writing

Building an Overwatch Queue Notifier

Motivation

Overwatch queueing is very annoying to me: sometimes it is extremely slow, and I want to leave my desk to do some workout or drown my head into a book. However I won’t be able to know when the queue is done if i am not continuously checking the screen. Someone like large streamers may choose to browser youtubes while waiting, or they can just leave the speaker playing sound that when the queue is done he can hear it, which is also a huge mind burden. As an FPS game you have to rely on the headphone to hear the location of enemy, so it would be tiring to plug in plug out your headphone while queue. I want to make a device that can notify me when the queue is done, so I can leave my desk and do other things. It could also serves as a good practice for python autmation.

Investigation

Most of the exsisiting solutions are for overwatch 1, and use a graphic solution: read the screen, parse the text in the photo, and then send a notification. I tried to dig about whether there is a way to get the queue status from the game: like do packet sniffing or get an API.

Packet sniffing seems not achievable, as the game must be using some kind of asymmetric encryption. Also I tried to get an api from the official API(https://develop.battle.net/) but it seems every time you tried to log in it automatically log you out. Turns out metamask addon for chrome somehow result in unkown bugs here. I can still log in with incongnito mode. The api is easy to get, but its just about the game data like player info. It would be nice to have a small web application to track your sr rank or win/lose rate, but there is not even an api for overwatch2 yet.

Looks like the graphic solution is the only way to go.

Solution

I made a small python program to monitor overwatch2 queue in here OWQ. It can also be used in other games especially games with long queue time like league of legends.

image

Some dudes think they will get banned for this. Accroding to the ELU as long as the program doesnt give you a comp advantage and influence your game play, its okay. I pray for them can climb on the comp first. At least become a master before you worry about getting banned.

image