Play a match of StarCraft II against VeTerran-revived on LeyLinesAIE_v3.SC2Map!
Click on "Start" to start the match. If the button is disabled, you'll need to wait. If there's a green checkmark on the GUEST side, then somebody is already playing. If it's you, make sure to restart your client before a new match.
After you click on "Start", you should see 2 green checkmarks on the HOME side. You may need to wait for 10-20 seconds if the game engine is booting. If it doesn't get to green checkmarks, you're out of luck. Come back tomorrow!
Once HOME side is all green, you can start the client on your machine. Run:
docker run --name match -p 10001:10001 stephanzlatarev/test-sc-client
StarCraft II on GUEST side should turn green. If it doesn't, check for errors in the console of the client. If it turns green and shortly after turns back to red, check if you're behind a firewall.
You're now ready to run your bot. Run:
<your-bot> --LadderServer 127.0.0.1 --GamePort 10001 --StartPort 10001
--OpponentId eaf8a4ce-8bde-42d6-82b3-2861c8a47930
LadderServer and GamePort must match the address of the docker container.
StartPort should be 10001 if you use the standard port allocations for JoinGameRequest. The request must have the ports in bold exactly as shown below:
serverPorts:
gamePort: 10003
basePort: 10004
clientPorts:
- gamePort: 10005
basePort: 10006
The other ports in JoinGameRequest will be ignored anyway.
It may take 10-20 seconds for your bot to join the game. After the match completes, stop the client (it's proof-of-concept quality, sorry) with:
docker rm -f match
Good luck and have fun!