You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the tutorial here but when I try to print a simple string after overriding OnUnitIdle nothing happens.
This is what I use: virtual void OnUnitIdle(const Unit* unit) final { std::cout << "TEST" << std::endl.......
Then I create a worker and let it do nothing, but there is no message in the console window.
The text was updated successfully, but these errors were encountered:
I have find out that acquiring of observation is broken because the game sets flag "has_cloak" for some units, but set CloakState to CloakUnknown. sc2api considers this value as error and stops receiving observation.
So, naive solution is to update the convertion routine for CloakState in the sc2_proto_to_pods.cc file.
I'm not sure what the reason of this changes in protocol and don't know if it is a correct solution. But you can try to cherry pick the observation-fix branch from my fork
I am following the tutorial here but when I try to print a simple string after overriding OnUnitIdle nothing happens.
This is what I use:
virtual void OnUnitIdle(const Unit* unit) final { std::cout << "TEST" << std::endl......
.Then I create a worker and let it do nothing, but there is no message in the console window.
The text was updated successfully, but these errors were encountered: