s2client-api icon indicating copy to clipboard operation
s2client-api copied to clipboard

A situation of Multiplayer and Addon

Open DotaIsMind opened this issue 8 years ago • 2 comments

Hello! I am a newbie who has just used Github and Commander Center,my bot race is Terran,then I want to use the "CreateParticipant()" to add the custom bot to me, fight with my bot, CreateParticipant(Util::GetRaceFromString(botRaceString), &Player), CreateParticipant(Util::GetRaceFromString(botRaceString), &bot) I can open two windows,but the else if (item.type.getUnitTypeID() == sc2::UNIT_TYPEID::TERRAN_STARPORTREACTOR) Micro::SmartAddon(producer, sc2::ABILITY_ID::BUILD_REACTOR_STARPORT, m_bot); is invalid in the game.Do other people has encountered such a problem?

DotaIsMind avatar Dec 01 '17 13:12 DotaIsMind

Player 2 can currently not build addons (here). If this is what you mean with invalid.

Archiatrus avatar Dec 01 '17 13:12 Archiatrus

For everyone only reading here: The issue "has been resolved on the latest live windows client, 4.2.1.62848." Run the game at least once after the update to be sure that the correct executable is called.

Archiatrus avatar Mar 08 '18 08:03 Archiatrus