N00byEdge
N00byEdge
Okay, I think I spotted a bug at (https://github.com/bwapi/bwapi/blob/main/bwapi/include/BWAPI/Client/CommandTemp.h#L449), this should check if the cancelled slot is the last active slot, not the first slot (they differ if you have...
Could you test if this is resolved with `unit->self->trainingQueueCount - 1` instead of `0` on that line?
Hm actaully this code probably just straight up needs rewriting
BWAPI and 1.16 works just fine under Windows 10, if that's what you're asking. We plan to support any compatible backend for BWAPI 5. If blizzard wants to support BWAPI...
TODO: Figure out what do to
@larroy The hacks used to inject into 1.16 will not be updated for the remastered engine. If we get an update for it, it will be in BWAPI 5 with...
Just saying, it does not need to be `std::set` for the extra complexity. You can also do `std::unordered_map`, letting the int be the unit id. This hash will be deterministic...
Okay what about `[](BWAPI::Unit const *const) { return std::hash{}( unit->getID()); }` ?
Just realized that will not be deterministic, given the case of hash collisions. That pretty much means that the only way to do it would be using a tree set,...