Games-and-Simulations / sc-docker

Multi-platform Version of StarCraft: Brood War in a Docker Container, ready to use for bot play simulations.
MIT License
231 stars 40 forks source link

[0.2b10] Can't play as human player; and game at fastest speed #55

Open trollkotze opened 6 years ago

trollkotze commented 6 years ago

expected behaviour

Should be able to play as human.

actual behaviour

When I create a game, docker windows are opened for all players (not only for the human, as in earlier versions). If I select the right docker window to create the game (the one which is assigned to the human player), I can select my race as human player (I can also use any of the other windows to create the game, but then the human player is assigned its slot automatically and can't select its race), wait for the bots to join and start the game. But when the game is started, I have no control over the human player. He is just idling around and getting killed pretty quickly, because the game also always runs at the fastest possible speed, apparently, no matter what speed I set at the beginning.

steps to reproduce

scbw.play --bots "krasi0" "CherryPi" "Iron bot" --human --log_level=DEBUG --show_all or whatever

operating system

linux (version)

Ubuntu lsb_release -a:

Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial

docker version

output of command docker version: Client: Version: 17.09.0-ce API version: 1.32 Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:42:18 2017 OS/Arch: linux/amd64

Server: Version: 17.09.0-ce API version: 1.32 (minimum version 1.12) Go version: go1.8.3 Git commit: afdb6d4 Built: Tue Sep 26 22:40:56 2017 OS/Arch: linux/amd64 Experimental: false

scbw version

output of command scbw.play -v

0.2b10
trollkotze commented 6 years ago

Okay, it seems the problem of not being able to control was caused by one (krasi0) crashing. Player control works with other setups (like omitting krasi0 in the setup above, for me). The speed problem remains.

michalsustr commented 6 years ago

Can you please try with the latest version?

luohc2004 commented 3 years ago

scbw.play -v: 1.0.4 has the same problem