-
Notifications
You must be signed in to change notification settings - Fork 142
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
not showing event for queuing ordered units #117
Comments
That is so weird, I would have thought you would get multiple TrainMarine events. If the raw event stream doesn't have multiple TrainMarine events, then there isn't anything that can be done about it without hacking the StarCraft2 client itself. |
It seems especially weird to me because the replay contains all the information necessary to replay the game. So somewhere in there is the information about how many marines the player is attempting to train. |
What do you mean by the "raw event stream"? How can i access it using sc2reader? |
I've just parsed game events using s2protocol and i actually see queuing marines. But s2protocol events format is something really hard to comprehend. sc2reader is much usable. |
That's a great suggestion! Admittedly, sc2reader is very much in maintenance mode, so if either your or someone else in the community wants to submit a pull request for it, I will happily take a look, but I personally am unlikely to take a stab at this |
I know this is a zombie thread, but running into this at the moment, so I thought I'd chime in if anyone has any hints for me. I think this generally affects any Train* event, even if it is not immediate... e.g. if I select a Command Center, train an SCV, wait five seconds and train another SCV without changing selection, then I do see a TrainSCV BasicCommandEvent for the first SCV, but nothing for the second. I noticed something similar with Zerg Morph* events, but in that case you DO see all the larva->egg morphs at the same time, so you can imply what the egg is for based on the last Morph event you saw. Before I found this issue, I was thinking along same lines as @dsjoerg ... the info MUST be in the replay, so somehow it is not getting extracted properly somewhere along the line. All the binary parsing is a little obscure to me, but if I can figure anything out I'll make a PR. |
Ah, I was a bit confused by the
I'm making a class to catch these and will make a PR shortly. |
If i order just one unit at a time (say, Marine in a Barrack) i have two events:
when i order marine
when marine production is done
But when I order multiple marines in a queue i just get one BasicCommandEvent "TrainMarine" and then multiple UnitBornEvents, when every marine is done.
Is it possible to catch "train" event when i order every unit in a queue?
The text was updated successfully, but these errors were encountered: