Locutus has a pylon harassment feature
Bot authors do a lot of creative stuff. Sometimes they are so creative that I can’t figure out the idea. Like this game between Locutus and Iron: Why did Locutus’s scout probe build pylons all over Iron’s territory?
It’s not a bug. It’s an intentional feature in this version of Locutus—here is the commit. It’s called “pylon harassment” and in this version it is hardcoded to happen only against Iron. A comment says:
// We want to build a pylon. Do so when:
// - We have enough resources
// - We are not close to the enemy mineral line
// - We are in sight range of an enemy building
// - Nothing is in the way
“In sight range of an enemy building.” The pylons are meant to be seen. The intention must be to direct the opponent’s attention, to somehow divert it from doing something Locutus doesn’t want it to do, such as leave its base and attack Locutus.
In this game, Iron was not diverted at all, and won easily since Locutus had wasted a ton of minerals on pylons. I can imagine that some bots would go wrong. Those that pull workers to defend against proxy buildings might pull too many workers and stop mining, for example. Still, if your bot does make a mistake like that, it shouldn’t be hard to fix. So if pylon harassment is useful at all, I guess it must be a trick to easily defeat some weaker bots, or bots which make a certain class of blunder and are not being updated. Or possibly it is an unfinished feature, and the way it worked in this game is not how it is intended to work. I like the second theory better.
Another comment says
// In the future, recognize how opponents react to pylon harass and store it in the opponent model
So in its final state, it is not intended to be hand-configured, but automatically selected. It could use code similar to the auto gas steal code already in Steamhammer, which decides whether to steal gas. Or it might use code similar to the plan recognizer to decide whether the opponent made a sensible or a silly reaction, and repeat if the opponent was silly.

Comments
PurpleWaveDan on :
Bruce on :
Jay Scott on :
Dan on :
Jay Scott on :
Jay Scott on :
Jay Scott on :
Simon Prins on :
Consider this replay: http://www.openbw.com/replay-viewer/?rep=https%3A%2F%2Fsscaitournament.com%2FReplays%2FLOCUTUS%2F262936-Locu_Iron-PvT.rep
Locutus builds a single pylon in Iron's base. Iron pulls a lot of workers, some to attack the pylon, some to attack the probe, but also a lot are sent straight to the opponents main. After the pylon is built, Iron only has about 6 svcs mining minerals and gas out of 15 total.
Iron is presumably a reacting to a perceived cannon rush. Note that a lot of the Cannon rush bots (AIUR, Jakub Trancik) have very bad worker defense, so in a way Iron is trying to do a trick to easily defeat some weaker bots himself.
Jay Scott on :