• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 12:19
CET 18:19
KST 02:19
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation13Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
[TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview TL.net Map Contest #21: Winners
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BGH Auto Balance -> http://bghmmr.eu/ What happened to TvZ on Retro? SnOw's ASL S20 Finals Review BW General Discussion
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Clair Obscur - Expedition 33 Should offensive tower rushing be viable in RTS games? Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2043 users

Presenting the BW IRC Bot

Blogs > imp42
Post a Reply
imp42
Profile Blog Joined November 2010
398 Posts
Last Edited: 2016-12-14 21:56:16
December 11 2016 03:52 GMT
#1
The BW IRC Bot

Summary:
+ Show Spoiler +
A handy tool to quickly check/verify different values and stats of all kinds of Brood War units, weapons, and upgrades. It is available on IRC #BWAPI.


A few months ago, I developed a small script, mostly in Prolog, to facilitate looking up different stats I needed for bot development.

Here is a quick presentation of it:

Description

The BW IRC Bot lists the most important stats for all units used in competitive play of Brood War. It uses the original Brood War 1.16.1 as source (via BWAPI).

Listed information:

- Build order necessary to obtain a given unit
- Technology requirements for a given unit
- Type(s) of a given unit (organic, robotic, detector, burrowable, mechanical,spellcaster, etc.)
- Unit of a given type
- Mineral/Gas cost, build time, supply cost of units and upgrades
- Top speed, hit points, armor, energy, sight range, air weapon, ground weapon
- Basic damage, bonus damage, cooldown, damage factor, damage type, explosion type, minimum range, maximum range of weapons

Commands

!buildorder <unit>: retrieves the complete build order required to train given unit

!techreq <unit>: retrieves the direct technology requirement for given unit

!type <unit>: retrieves all types of given unit

!type <type>: retrieves all units with given type

!stats <unit>: retrieves mineral/gas cost, build time, and supply cost of given unit

!stats <upgrade>: retrieves mineral/gas cost, research time for all levels of the upgrade

!details <unit>: retrieves top speed, hit points, armor, energy, sight range, air weapon, ground weapon for a given unit

!details <weapon>: retrieves basic damage, bonus damage, cooldown, damage factor, damage type, explosion type, minimum range, maximum range for a given weapon

!help: shows all valid commands

!help <command>: shows how a specific command is used

Notes:
Naming convention for units, upgrades, weapons, types is the BWAPI name without the race prefix. This usually means the Brood War name with underscores instead of spaces.

Examples of valid names are:

supply_depot
vulture_spider_mine
ultralisk_cavern
ion_thrusters
infantry_armor
c_10_canister_rifle
mind_control
cloakable
siege_tank_tank_mode
siege_tank_siege_mode
(an exception, because the siege tank is modelled as two different units internally)

Usage Examples

!details command_center
[TopSpeed,Hitpoints,Armor,Energy,SightRange,SeekRange,AirWeapon,GroundWeapon]: [1.0,1500,1,0,320,0,none,none]

!stats marine
stats for marine are [minerals,gas,buildtime,(supply|level)] = [50,0,360,1]

!buildorder mutalisk
BO = [larva,drone,hatchery,spawning_pool,lair,spire,mutalisk]

!techreq ghost
techreq for ghost are [barracks,covert_ops,academy]

!type robotic
type of robotic is probe,shuttle,reaver,observer

!type reaver
type of reaver is robotic,mechanical

!stats ship_plating
stats for ship_plating are [minerals,gas,buildtime,(supply|level)] = [150,150,4000,1],[225,225,4480,2],[300,300,4960,3]

!details gauss_rifle
[Damage,Bonus,Cooldown,DmgFactor,DmgType,ExplosionType,minRange,maxRange,Air?,Ground?]: [6,1,15,1,normal,normal,0,128,true,true]

Conclusion
The bot usually hangs out as IMP_Bot in the #BWAPI IRC channel on irc.freenode.net. Drop by and say hi
PS: Artosis: next time you’re casting and you forget how much energy a queen has, just type “!details queen”

Credits
Thanks to everyone involved in developing BWAPI. The values used are extracted from the very source (the game itself) via BWAPI



*****
50 pts Copper League
nbaker
Profile Joined July 2009
United States1341 Posts
December 11 2016 08:42 GMT
#2
Whoah, cool thanks!
DarkNetHunter
Profile Joined October 2012
1224 Posts
December 14 2016 15:10 GMT
#3
Very cool, will bookmark it for usage sometime :D
Learn from the mistakes of others. You can't live long enough to make them all yourself.
Biolunar
Profile Joined February 2012
Germany224 Posts
December 14 2016 16:04 GMT
#4
On which server?
What is best? To crush the Zerg, see them driven before you, and hear the lamentations of the Protoss.
imp42
Profile Blog Joined November 2010
398 Posts
December 14 2016 21:55 GMT
#5
On December 15 2016 01:04 Biolunar wrote:
On which server?


this is on irc.freenode.net. I updated the blog post as well.
50 pts Copper League
Please log in or register to reply.
Live Events Refresh
Next event in 2h 41m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 407
SteadfastSC 163
IndyStarCraft 120
Railgan 66
MindelVK 26
BRAT_OK 26
StarCraft: Brood War
Britney 24951
Horang2 1459
GuemChi 703
Soma 524
Stork 430
firebathero 287
hero 229
Rush 128
Barracks 76
Last 63
[ Show more ]
sorry 57
Sharp 53
Mind 36
yabsab 33
zelot 27
Mong 22
scan(afreeca) 18
Dewaltoss 15
Dota 2
Gorgc7257
qojqva2125
League of Legends
Reynor73
Counter-Strike
fl0m239
Heroes of the Storm
Khaldor588
Other Games
B2W.Neo1228
RotterdaM374
Organizations
Dota 2
PGL Dota 2 - Main Stream11381
PGL Dota 2 - Secondary Stream5041
Other Games
EGCTV1001
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Reevou 5
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 4
• FirePhoenix2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler71
Other Games
• WagamamaTV450
• Shiphtur186
Upcoming Events
BSL 21
2h 41m
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
2h 41m
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
5h 41m
Wardi Open
18h 41m
Monday Night Weeklies
23h 41m
Replay Cast
1d 5h
WardiTV Korean Royale
1d 18h
BSL: GosuLeague
2 days
The PondCast
2 days
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
BSL: GosuLeague
4 days
RSL Revival
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
IPSL
5 days
Julia vs Artosis
JDConan vs DragOn
RSL Revival
6 days
Wardi Open
6 days
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.