archive by month
Skip to content

Steamhammer’s endless bug list

I got 2 nearly simultaneous comments pointing out Randomhammer’s loss on time against LetaBot by Martin Rooijackers. Thanks! Randomhammer was winning, so it hurt. The problem is the “my main is full, I can’t find a place to put this building” bug, which I reduced but did not solve. A typical solution seems to be to choose a new “main base” from time to time. I would like to go further and put a pylon at each base, if for no other reason than to add cannons if needed.

Maybe it’s a good time to talk about my bugs. I have 39 bugs—so far—that I want to fix in the next version, not counting bugs I’m intentionally skipping for now. It’s far more than I can actually fix. If I fixed all the bugs, I wouldn’t have time to add more bugs! One of the worst bugs was introduced in version 1.1 in February and is still there.

The good news is that there are no known crashing bugs. Steamhammer has 1 crash dump on SSCAIT since 3 April, and it points to initialization code before Steamhammer runs. UAlbertaBot was already mostly good in that respect, and the majority of crashing bugs I fixed (though not all) were in my own code.

The bad news is that most games, both wins and losses, show the effect of bugs. Many events that may look to observers like ordinary poor play are secretly due to incorrect information tracking, or behaviors occurring at times they weren’t intended to, or something else going wrong behind the scenes. In other words, if I can fix the worst of them, then Steamhammer will play much more strongly just by working as intended.

This game McRave-Steamhammer is a bug-fest on both sides. Watch this replay only if you can bear to see an epic number of things go wrong for both players. At the end of the game, Steamhammer is mining minerals with 1 drone and gas with 3, while its other 18 drones are trapped behind a map block, and that is only one of many painful blunders. McRave did no better. The game went on far too long as both bots tripped over their own feet.

Here is one of the most frustrating bugs: In my tests at home, Steamhammer defeated Killerbot by Marian Devecka nearly 100% of the time. Since being uploaded, Steamhammer has played 3 games against Killerbot and lost 2 of them due to a new bug that I had never seen before. I can’t find the bug in games against any other opponent. Objectively, a bug that affects only one opponent is not the top priority to solve....

Trackbacks

No Trackbacks

Comments

Paul Goodman on :

Man that game is painful to watch.

MicroDK on :

Talking about bugs... Iron lost this game to Microwave because of a bug in its defense code. Iron build its wall and later when it liftet the barrack it built a bunker just below resulting in walling in its army. Microwave took the map and attacked. :D
http://www.openbw.com/replay-viewer/?rep=http%3A%2F%2Fsscaitournament.com%2FReplays%2FIRON+BOT%2F199446-Iron_Micr-TvZ.rep

Jay Scott on :

That was a hilarious game. Now it seems that a bum version of Krasi0 has been uploaded. Everyone is vulnerable.

krasi0 on :

What do you mean by a "bum" version? Broken in some way?

Jay Scott on :

It seemed that way when I wrote the comment. It lost 3 games in succession in 3 different ways. Now it seems as though the bot has been made more aggressive, which opened some holes it didn’t have before.

krasi0 on :

Yes, with the current level of top bots, more risks need to be taken from time to time in order to score.

MicroDK on :

Also this one, where Iron places the barrack in the wall so that the marines can not get out and my lings really want to get to the walled-in marines. :D
http://www.openbw.com/replay-viewer/?rep=http%3A%2F%2Fsscaitournament.com%2FReplays%2FIRON+BOT%2F199727-Iron_Micr-TvZ.rep

Jay Scott on :

Walls are trickier than they seem, aren’t they? One marine was stuck in a tiny corner, and neither bot seemed to understand. Microwave did well to tear down the depots, though.

MamiyaOtaru on :

another painful one: http://www.openbw.com/replay-viewer/?rep=http%3A%2F%2Fsscaitournament.com%2FReplays%2FIRON+BOT%2F201285-Iron_Micr-TvZ.rep

Iron Bot can't recover from loss of a depot leaving it supply blocked. Microwave can't figure out that a floating rax is immune to lings.

love watching this stuff!

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.