happyleavesaoc

Results 21 comments of happyleavesaoc

There's an example in the Home Assistant component (which uses this module): https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/snapcast/media_player.py#L205

This is a very interesting PR! You are solving one of the big unknowns!

You can look at these bytes to detect WK: https://github.com/happyleavesaoc/aoc-mgz/blob/master/mgz/header/playerstats.py#L218-L221 At least until another mod uses this mechanic, but it should be pretty safe for competitive recs.

@yvan-burrie two facts will hinder this. 1) Actions are inputs, not outputs. I can spam "Attack" with archers, but that doesn't mean they fire an arrow. I could be targeting...

I think "openings", as a subset of all strategies, can be reliably guessed. * Trush: Tower(s) in Feudal with closer proximity to enemy TC than player's TC * MAA: MAA...

Turns out detecting a drush is not easy. Everyone builds a barracks. And queued/trained units don't have a `player_id`. So we know *someone* drushed, but not who. However, the more...

Yep, that would help. I settled on a system that has multiple evidence checks per strategy, each with a resulting weight. Stronger evidence lends a larger weight, etc. The weights...

Here's my repo with my basic strategy detection, btw: https://github.com/happyleavesaoc/aoc-strats Somewhat off topic, but the holy grail of rec analysis is a VM in the cloud with AoC installed and...

Parsing bug confirmed on this particular rec. Other recs work ok?