another building delay bug
Constructing buildings efficiently is one of Steamhammer’s most fragile behaviors, because it involves coordinating across modules in an ad hoc way. In my change list for the latest version 2.1.4, I described a bug that delayed the start of buildings. The bug was an interaction between the production manager, the building manager, and the building placer.
Now I’ve discovered another bug with the same symptoms—an already placed building is re-placed elsewhere, causing a delay—that also involves 3 modules. This time it’s the building manager, the production manager, and the worker manager. This bug bites when a pre-positioned worker arrives too early at its designated location and has to wait for resources or tech to be ready. How clever of the first bug, to hide the second one from my view. I think computer bugs evolve camouflage, just like living bugs; hide or die.
Now I’m trying to restructure the interaction to be more robust. My preliminary plan is to pass control to the building manager as early as possible and put it in charge of the rest, to try to keep the module interactions simple and organized. It will involve storing a little more state.
Meanwhile, in SSCAIT I’m not seeing many surprises. Not enough games have been played to firm up the rankings, so my range of expectations is still wide—I guess it’s normal that nothing much is unexpected. Steamhammer has about the right mix of wins and losses in games that could have gone either way. It is entertaining that the score table only gives a rank to bots that have played 30 games, while the games are doled out randomly. At the moment, #1 is Soeren Klett with 15-15, and #2 is Jakub Trancik with 11-19. Visiting space aliens will not understand how the competition works.
Comments
Marian on :
http://scbw.holdorf.dk/sscait-tournament/sscait-2018.php
MicroDK on :
Dilyan on :
Jay Scott on :
Dilyan on :
Jay Scott on :
MicroDK on :
MicroDK on :
MarcoDBAA on :
Also a LOL-game between Locutus and McRave. Locutus with the DT rush and McRave is in a completely hopeless position. DTs are on the way to destroy the enemy mineral line. But what happens? Protoss seem to have capital punishment for ignoring direct orders, because McRave simply blocks the ramp with his goons and the DTs just try to squeeze past, to no avail. Finally a McRave observer is ready and the result is a blood bath and a win for McRave.
Jay Scott on :
MarcoDBAA on :