Skip to content

openbw creates desynced replay #27

@bmnielsen

Description

@bmnielsen

I've built openbw on Windows (VS2017) using the instructions here: https://github.com/OpenBW/bwapi

When I run my bot, it successfully completes the game and everything looks correct in the logs (it roughly matches what I get running the bot through the normal SC client). However, the replays generated by openbw desync shortly into the game.

It appears to be a problem with the replay itself, as it plays the same regardless of whether I use the openbw replay viewer or the SC client to view the replay.

Here is a zip containing my test setup (excluding the mpq files) and results from a test game: https://drive.google.com/file/d/1fZ0yEw82dlFFBw5nvIkyOE1bMndb6Va2/view?usp=sharing

This version of the bot follows a 4-gate goon build order, sending all combat units to the center of the map, and surrenders at frame 10000. In the write folder you will see the bot log file, showing when each unit is created.

In this case it is playing in single player mode, but the behaviour is the same if I run the bot in 1v1 against itself.

If you need source code for the bot for debugging, let me know and it can be provided privately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions