• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:27
CET 10:27
KST 18:27
  • 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 - Playoffs Preview0RSL 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
Community News
BGE Stara Zagora 2026 announced11[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2
StarCraft 2
General
BGE Stara Zagora 2026 announced SC: Evo Complete - Ranked Ladder OPEN ALPHA When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge
Tourneys
Constellation Cup - Main Event - Stellar Fest RSL Revival: Season 3 Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ A cwal.gg Extension - Easily keep track of anyone Which season is the best in ASL? soO on: FanTaSy's Potential Return to StarCraft
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Nintendo Switch Thread The Perfect Game Stormgate/Frost Giant Megathread Beyond All Reason Should offensive tower rushing be viable in RTS games?
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Big Programming Thread Things Aren’t Peaceful in Palestine Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
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
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2801 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 33m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
trigger 12
StarCraft: Brood War
Britney 32839
Larva 768
Soma 265
Rush 130
Sharp 121
ggaemo 97
ajuk12(nOOB) 63
Barracks 42
ZergMaN 32
JulyZerg 26
[ Show more ]
Terrorterran 11
zelot 11
NotJumperer 9
Noble 8
IntoTheRainbow 8
Dota 2
qojqva1829
NeuroSwarm240
XcaliburYe209
Other Games
summit1g14298
Happy403
Fuzer 191
Mew2King35
Organizations
Other Games
gamesdonequick885
Dota 2
PGL Dota 2 - Main Stream264
StarCraft: Brood War
lovetv 18
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Sammyuel 37
• LUISG 30
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 32
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota233
League of Legends
• Jankos1705
Other Games
• Shiphtur276
Upcoming Events
Sparkling Tuna Cup
33m
NightMare vs YoungYakov
Krystianer vs Classic
ByuN vs Shameless
SKillous vs Percival
WardiTV Korean Royale
2h 33m
Zoun vs SHIN
TBD vs Reynor
TBD vs herO
Solar vs TBD
BSL 21
10h 33m
Hawk vs Kyrie
spx vs Cross
Replay Cast
14h 33m
Wardi Open
1d 2h
Monday Night Weeklies
1d 7h
StarCraft2.fi
1d 7h
Replay Cast
1d 14h
Wardi Open
2 days
StarCraft2.fi
2 days
[ Show More ]
PiGosaur Monday
2 days
Wardi Open
3 days
StarCraft2.fi
3 days
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
Korean StarCraft League
5 days
CranKy Ducklings
6 days
SC Evo League
6 days
BSL 21
6 days
Sziky vs OyAji
Gypsy vs eOnzErG
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
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

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 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.