s2client-api
s2client-api copied to clipboard
StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
I used VS2022 and CMake version 3.21.1 for the build. Here is my error message: ```text [build] D:\base\projects\s2client-api\contrib\protobuf\src\google/protobuf/repeated_field.h(294,38): error C2374: 'kRepHeaderSize': redefinition; multiple initialization [D:\base\projects\s2client-api\output\x64\Release\contrib\protobuf\cmake\libprotobuf.vcxproj] [build] D:\base\projects\s2client-api\contrib\protobuf\src\google/protobuf/repeated_field.h(294): message : see...
I know it's possible to run Bot vs Bot simulations, but how can I play against custom bots myself? Currently, I can only play versus default SC2 AI, and that's...
I have been building a c++ based drl library, I am currently testing my library on the starcraft env. I am having troubles implementing some of the actions like select...
Hi - is there a way to expose enemy actions through your API? I'm actually using [SMAC](https://github.com/oxwhirl/smac) to train a RL model and would like to have the last actions...
I want to launch many (about 100-200) sc2 games at the same time. during their launch, there is always an error shown 2-3 times like this : ``` Deferred error:...
I'm trying to build the project in a docker container but it's failing. The contents of the dockerfile: ``` from alpine:latest run apk add cmake git run git clone --recursive...
The command line buffer passed to CreateProcessA contains the string " -launch -listen 127.0.0.1 -port 8999 -displayMode 0 -windowwidth 1024 -windowheight 768 -windowx 100 -windowy 200". Eventually it times out...
I used `Debug()->DebugCreateUnit()` to create units by their information from one instance to a new game instance. But I found there are always fewer units created successfully. Then I checked...
Followed the steps for compiling this. https://github.com/Blizzard/s2client-api/blob/master/docs/building.md Only command i changed is cmake ../ -G "Visual Studio 15 2017 Win64" cmake ../ -G "Visual Studio 16 2019" Could that be...
Just added `Control()->GetObservation();` in `AgentControlImp::Restart()`