archive by month
Skip to content

a bug in the emergency reactions

Steamhammer still has occasional devastating bugs in its reactions. Steamhammer-Sungguk Cha is an example. Sungguk Cha is an opponent Steamhammer usually has little trouble against. In this game, zerg played a not-very-appropriate lurker rush and handily held the initial marines. The zerg economy was weak, but the tech was there to cope with the next phase of vultures and wraiths, and zerg was in position to fight on. Instead Steamhammer fell into a loop, spawning zergling-overlord-zergling-overlord etc. With massive oversupply of overlords, a broken unit mix, and money piling up with no second hatchery in sight, only terran was in the game.

There are actually 2 bugs. The main bug is that an emergency reaction (“Oh no I have no army hurry hurry spawn stuff”) didn’t recognize that it had already occurred and fired repeatedly, dumping the long sequence of zergling-overlord into the queue. There are checks to prevent that sort of thing, and I haven’t spotted the mistake yet. If I don’t find it soon I’ll let it go until after the AIIDE deadline, because there are more urgent fixes to make.

As often happens, the primary bug triggered a secondary bug—bugs tend to cause unusual conditions, and unusual conditions tend to bring out more bugs. After a few extra overlords, any further overlords should have been recognized as excess and dropped—the idea is to drop planned overlords that are no longer needed after the army is destroyed in battle. That bug I have fixed. The issue is that Steamhammer was still technically in its opening book, though it was nearly at the end of the opening line. The opening book sometimes deliberately makes extra overlords (to save up larvas and produce mutalisks or lurkers in number all at once), so the check was turned off in that case. It was easy enough to add back a check that is loose enough that it doesn’t break openings.

As Willy Wonka said, so much time and so little to do. That must be why I haven’t posted in a week.

Trackbacks

No Trackbacks

Comments

Dilyan on :

Any thoughts on aiide entry list participants? Lots of new bots. But many are missing like Banana, proxy, arrakhammer..

Arrak on :

I won't be updating for quite some time (as I'm still brainstorming a large rework) and would feel quite strange re-submitting the old version. In the meantime, I'll be cheering on the Steamhammer family!

Antiga / Iruian on :

At this stage, Arrak it might make more sense to recut from a post AIIDE version of SH and reapply some of the not done yet Arrak code, rather than trying to upgrade what you have, either that or prepare for the new generation of bots with ML that are being worked on and go that direction yourself. There hasn't been a SH fork recently with say a similar upgrade set to what Locutus has done that plays zerg, BWEB + moving while attacking units etc.

Arrak on :

Hmm, current versions of Steamhammer, Locutus, and BWEB have not solved the major tactics problems I'm concerned about. I think tscmoo (large-scale preemptive zergling surrounds) and McRave's grids ("2D" micro) were the closest to doing so, for those respective problems. Zerg certainly needs some more brains behind the wheels.

Dilyan on :

Old version got re submitted anyway as has been with over 50% win rate.

krasi0 on :

You probably know how it goes: with big software projects, it's rarely the best decision to restart from scratch. Gradual improvements may be the way to go considering the long term success of your AI

Dan on :

https://en.wikipedia.org/wiki/Second-system_effect

Arrak on :

Followed by the third system effect.

Arrak on :

It won't be from scratch, but I do need to figure where and how to put "brains" (ML?) in, make it easier to collect metrics, and potentially find a more complete orthogonal basis for tactics decisions. I've mostly exhausted my list of impactful gradual improvements that wouldn't fit better into a rework. My old and current to-do lists both basically scream, "Plug in some brains!" >.

Jay Scott on :

Not really, too many unknown names. Besides, I don’t officially know who the entrants are. This year, the Google Docs list is not linked from the official tournament pages or referenced in e-mail communications.

MicroDK on :

Dave only posted the Google doc link in the Facebook starcraft group.

Jay Scott on :

Yeah, I guessed that. I never have and will not use Facebook—and it is, also, not linked from the mun.ca pages; you have to find out by some other means that it exists. Sloppy, if you ask me.

MicroDK on :

Yah I agree. It was also posted in the Starcraft Discord channel by someone else... I have posted it here.

MicroDK on :

https://docs.google.com/spreadsheets/d/1MH0knEpg_zBIG-LSogJunyJUbeMaaz0gNHKSEmxmyCk/htmlview

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.