Skip to content

Configuring to run commandcenter #145

@jmugan

Description

@jmugan

Sorry for the stupid question. I'm trying to run commandcenter and it just says "Failed to start CCBot."

My laddermanager.json looks like this

{
    "CommandCenterPath": "/Users/jmugan/bin/Sc2LadderServer/build/bin/Bots/CCBot/CommandCenter",
    "LocalReplayDirectory": "./Replays/",
    "MaxGameTime": 60480,
	"MaxRealGameTime": 3600,
	"MatchupGenerator": "file",
    "MatchupListFile": "./MatchupList",
    "ErrorListFile": "./errorlist",
    "ResultsLogFile": "./Results.json",
    "PlayerIdFile": "./PlayerIds",
	"PythonBinary": "python",
	"ReplayBotRenameProgram": "ReplayNameChange.exe",
	"BaseBotDirectory":  "./Bots/",
	"RealTimeMode": true,
    "Maps": [
        "Simple64.SC2Map",
        "Simple128.SC2Map"
    ]
}

The base directory is where I run ./Sc2LadderServer is /Users/jmugan/bin/Sc2LadderServer/build/bin.

The directory /Users/jmugan/bin/Sc2LadderServer/build/bin/Bots/CCBot contains CommandCenter, BotConfig.txt and ladderbots.json. The file ladderbots.json looks like this

{
    "Bots": {
        "CCBot": {
            "Race": "Terran",
            "Type": "CommandCenter",
            "RootPath": "./",
            "FileName": "BotConfig.txt"
        }
    }
}

On the output, data/stderr.log only says 04-01-2021 22-26-21: Starting game vs Bob (the name of the other bot).

I'm able to run other bots fine. It's just something about the commandcenter configuration. I am also able to run commandcenter by itself, just not with the ladder server. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions