archive by month
Skip to content

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.

Trackbacks

No Trackbacks

Comments

Marian on :

this link is better(also with cross results):
http://scbw.holdorf.dk/sscait-tournament/sscait-2018.php

MicroDK on :

Or use the official ranking page at SSCAIT. ;)

Dilyan on :

Guibot vs SH, just now, looks like a new bug to me, thousands of minerals, no new units.. But so far doing great on tournament.

Jay Scott on :

Thanks for the report, since no replay was saved. The same bug caused the loss versus XIMP by Tomas Vajda. I tried to fix it before the tournament, but missed.

Dilyan on :

Also there is a bug but might be fixed I saw where in late game SH put two hatches outside bridges on destination, days before tour.

Jay Scott on :

Oh that one is still there. It is trying to build in its natural and does not have room.

MicroDK on :

I have created a static html that would like people to use: http://scbw.holdorf.dk/sscait-tournament/sscait-2018.html ;)

MicroDK on :

Note: My ranking page is not official and does not include result of tie breakers... the official ranking page is always this one: https://sscaitournament.com/index.php?action=scoresCompetitive

MarcoDBAA on :

Movie scene between Proxy and Ximp. ;) Scourge circle all around the carriers, always retreating from the interceptors, then suddenly they close in from all directions. They move into the carriers, there are large explosions, and finally nothing is left besides one lonely scourge. Proxy also won the game a bit later and is doing very good in general.

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 :

Bots way underuse physical blockades. Bots that have the skill at all generally don’t know all its uses....

MarcoDBAA on :

Skynets DTs did not make the same mistake vs Locutus as Locutus himself did vs McRave. If Locutus was a human he would be tilted now probably.

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.