-
Notifications
You must be signed in to change notification settings - Fork 145
Add handler for command_update_target_unit_event #14
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
Conversation
Looks good. Is this ready to roll into production? What kind of testing has been done? |
The ideal would be
|
@dsjoerg I was thinking about that after I powered down last night! I noticed the tests as I was greping through the code, but I totally forgot. What's the magic to run the test suite? |
@dsjoerg Thanks. I'll try to get it done tonight. Sunday at the latest. |
OK @gravelweb and thanks to @nickelsen we now have CircleCI integration so that any commits will be tested automatically and the test status will be reported here for pull requests. |
Neat! Exciting stuff, guys. |
This is one step towards fixing Zerg Macro (ggtracker/ggtrackerstack#13, ggtracker/ggtrackerstack#49) and Terran Macro (ggtracker/ggtrackerstack#48)
Created tests, and made implementation safer (per player ability tracker, and clear last ability when finding missing ability). Still need to get changes into ggpyjobs to not pick up actions that didn't work, but for this project it should be all good. |
@gravelweb should this change go into production, or should it wait until ggpyjobs changes have been made? I don't totally understand what impact this change alone would have on the macro stats users see. |
@dsjoerg This will "fix" Terran and Protoss macro, since that plugin is not explicitly looking for TargetAbilityEvents. It will match on ability_name in the events, and it will find them UpdateTargetAbilityEvent. So for that, if we are not too worried about the extra events, it could go into production Zerg macro is not affected since we are explicitly looking for 'TargetAbilityEvent', so no change will occur yet here. So here we are indifferent to whether this patch is in production or not. |
OK @gravelweb would you like the honors of updating ggpyjobs to use the new sc2reader you've made? And updating esdb to use the new ggpyjobs? Then I will deploy everything into production and monitor for complaints/errors. |
OK on it! |
Doesn't sc2reader get picked up automagicly on startup? I can't seem to pinpoint where ggpyjobs looks for sc2reader version. It's not where I was expecting (requirements.txt) |
Looking at git changelog, it looks like @nickelsen has got ggpyjobs tracking HEAD of upstream. Not sure how that will work for you when you deploy? |
@gravelweb you are correct. so if i deploy it will automagically pick up the latest sc2reader. huzzah. i will deploy, probably in ~12 hours. |
Do you want to pickup my ggpyjobs changes too, so that ZergMacroTracker can start working too? :) |
This is one step towards fixing Zerg Macro (ggtracker/ggtrackerstack#13, ggtracker/ggtrackerstack#49) and Terran Macro (ggtracker/ggtrackerstack#48)