• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:17
CEST 09:17
KST 16:17
  • 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
TL.net Map Contest #21: Voting7[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)79Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
Revisiting the game after10 years and wow it's bad 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting How to Block Australia, Brazil, Singapore Servers The New Patch Killed Mech!
Tourneys
RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia Crank Gathers Season 2: SC II Pro Teams LiuLi Cup - September 2025 Tournaments Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
[Interview] Grrrr... 2024 Question regarding recent ASL Bisu vs Larva game BW General Discussion BW caster Sayle Map with fog of war removed for one player?
Tourneys
[ASL20] Semifinal B [Megathread] Daily Proleagues [ASL20] Semifinal A SC4ALL $1,500 Open Bracket LAN
Strategy
Current Meta Relatively freeroll strategies BW - ajfirecracker Strategy & Training Siegecraft - a new perspective
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Series you have seen recently... Anime Discussion Thread Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion 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 Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1691 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 3h 43m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 78
StarCraft: Brood War
Yoon 804
actioN 702
PianO 297
Bale 21
ToSsGirL 21
NotJumperer 18
NaDa 18
Dota 2
XcaliburYe960
League of Legends
JimRising 764
Counter-Strike
Stewie2K495
m0e_tv336
Coldzera 222
shoxiejesuss119
Other Games
summit1g7261
gofns1875
C9.Mang0295
Mew2King72
ViBE63
Organizations
Counter-Strike
PGL7638
Other Games
gamesdonequick1293
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH140
• LUISG 7
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1718
• Rush1504
• HappyZerGling143
Upcoming Events
Wardi Open
3h 43m
CranKy Ducklings
1d 2h
Safe House 2
1d 9h
Sparkling Tuna Cup
2 days
Safe House 2
2 days
Tenacious Turtle Tussle
5 days
The PondCast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.