• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:57
CEST 15:57
KST 22:57
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Why doesnt SC2 scene costream tournaments Who will win EWC 2025? Esports World Cup 2025 - Brackets Revealed The GOAT ranking of GOAT rankings
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Soulkey Muta Micro Map? BW General Discussion [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI US Politics Mega-thread Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece Korean Music Discussion [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 686 users

An most impressive Starcraft 2 Bot / AI

Forum Index > SC2 General
Post a Reply
1 2 3 Next All
Tzeval
Profile Joined July 2011
44 Posts
October 27 2011 10:24 GMT
#1
http://graphics.stanford.edu/~mdfisher/GameAIs.html

First of all read the link if you want to talk about it. There is a video at the end but honestly you can't see the things if you don't know they are there.

How does it work in simple terms :
The AI uses the Direct3D 9 API Interceptor to create it's own graphic files for a starcraft map and everytime something changes on the map it updates it's own files in the same way. The important thing is that it does so by intercepting the commands that influence your graphics and sends them once to your starcraft game and once to the AI. Therefore it basicly has the same information as your starcraft 2 game, but it has them in a different memory location. Why does this matter? Because the "Warden" (Blizzards anti cheat tool) will not be able to recognize the AI as an AI.
Another important point is that the AI uses Mouse and Keyboardcommands to do it's commands in game and is therefore not distinguishable from a player (if it does not do anything player can't do, like having a million apm or reacting without looking).

What i think will come of this : Macro bots. It's basicly one of the most simple functions a AI can have and with the code given it's relative easy to implement and its pretty powerfull if you implement it the right way.

ifonlyiwereawsum
Profile Joined November 2010
United States484 Posts
October 27 2011 10:30 GMT
#2
Soooooo... it is a hack? Or did I misinterpret this?
LiquidSnute // Zai //
1nst1nct
Profile Joined October 2011
Australia44 Posts
October 27 2011 10:34 GMT
#3
I think its a hack. He's basically saying theres a way to make the AI's actions not be detected by Warden.
Deleuze
Profile Blog Joined December 2010
United Kingdom2102 Posts
October 27 2011 10:37 GMT
#4
Wow, what a great contribution to the community, thanks!
“An image of thought called philosophy has been formed historically and it effectively stops people from thinking.” ― Gilles Deleuze, Dialogues II
Barbiero
Profile Blog Joined September 2010
Brazil5259 Posts
October 27 2011 10:45 GMT
#5
Interesting find, but is there really a point in it?

- Cheats/Hacks will not be used in important tournaments(as 100% of the important tournaments occur in some form of closed space rather than online)
- Win with cheating/hacking will not provide you any advantage online except maybe portraits
- Easily identifiable with someone watching, so it can't affect competent online tournaments

Honestly, no point in cheating on a game like SC2.
♥ The world needs more hearts! ♥
Teiwaz
Profile Joined September 2010
Austria158 Posts
October 27 2011 10:47 GMT
#6
It's a hack if used on the ladder.
↑ Now is the time to make use of the skills and wisdom you have acquired. ↑
UnholyRai
Profile Joined September 2010
720 Posts
October 27 2011 10:50 GMT
#7
...

User was temp banned for this post.
Gogo Grubby.
Paperplane
Profile Joined March 2011
Netherlands1823 Posts
October 27 2011 10:51 GMT
#8
On October 27 2011 19:45 Zephirdd wrote:
Interesting find, but is there really a point in it?

- Cheats/Hacks will not be used in important tournaments(as 100% of the important tournaments occur in some form of closed space rather than online)
- Win with cheating/hacking will not provide you any advantage online except maybe portraits
- Easily identifiable with someone watching, so it can't affect competent online tournaments

Honestly, no point in cheating on a game like SC2.


Tournament level players aren't gonna be using these hacks. People on the ladder however...
Superouman
Profile Blog Joined August 2007
France2195 Posts
October 27 2011 10:52 GMT
#9
This kind of stuff should stay in AI vs AI matches, and i have to say it's pretty cool to watch. And not people who use it as a hack -_-
Search "[SO]" on B.net to find all my maps ||| Cloud Kingdom / Turbo Cruise '84 / Bone Temple / Eternal Empire / Zen / Purity and Industry / Golden Wall / Fortitude / Beckett Industries / Waterfall
Mainland
Profile Joined September 2010
Canada551 Posts
Last Edited: 2011-10-27 11:01:16
October 27 2011 10:56 GMT
#10
On October 27 2011 19:45 Zephirdd wrote:
Interesting find, but is there really a point in it?

- Cheats/Hacks will not be used in important tournaments(as 100% of the important tournaments occur in some form of closed space rather than online)
- Win with cheating/hacking will not provide you any advantage online except maybe portraits
- Easily identifiable with someone watching, so it can't affect competent online tournaments

Honestly, no point in cheating on a game like SC2.


The point that it's a challenging and interesting problem to create an AI that can play SC2. He is only releasing one part of the codebase, so we are probably not going be seeing this AI on the ladder anytime soon.

The creator has done this for academic and experimental reasons, not so he can distribute it to people who want to use it on ladder.

Also, technically, this isn't a hack, since it uses a computer vision method to see what's going on in the game. It doesn't read game memory or anything like that.
gruff
Profile Joined September 2010
Sweden2276 Posts
October 27 2011 10:57 GMT
#11
On October 27 2011 19:45 Zephirdd wrote:
Interesting find, but is there really a point in it?

- Cheats/Hacks will not be used in important tournaments(as 100% of the important tournaments occur in some form of closed space rather than online)
- Win with cheating/hacking will not provide you any advantage online except maybe portraits
- Easily identifiable with someone watching, so it can't affect competent online tournaments

Honestly, no point in cheating on a game like SC2.


Ruining ladder is not a good way to make sc2 last as an esports.
AmericanUmlaut
Profile Blog Joined November 2010
Germany2577 Posts
Last Edited: 2011-10-27 11:04:39
October 27 2011 10:57 GMT
#12
Holy shit, that's incredibly impressive work.

I'm curious to know why the screen position bounces around so much early game. Does the AI reposition the camera everywhere the player has vision to parse the locations of units and buildings? Or is there some other reason it wants to have its focus somewhere else every fraction of a second?

And yes, this could be used to write a hack that the Warden probably couldn't see. I'm not sure if there's a way for a program to find out whether another application is intercepting its API calls, but if there's not then there's no way to tell the difference between this AI and a bad human player with 5000 API and a serious attention span disorder. The AI is basically just looking at the monitor and responding with mouse and keyboard commands.

Edit: Come on guys. Just because the OP saw this and immediately went OMFG MAD HAX! doesn't mean that's the purpose of the tool. This is a really interesting prototype for an AI that runs independant of the software it's interacting with. And AIs that play games do not only exist to enable cheating: The Go community has a very active AI scene, and bots are ranked players on the gokgs ladder. The mechanical element of SC2 means that human v competent AI games will never be any fun, but there's no reason to assume that that's where a project like this is going.

Also, Blizzard isn't exactly going to have a hard time detecting bots playing their game. It would be a pretty significant challenge to program a bot that could play such that it wasn't obviously an AI. Stuff like perfect blink micro and instant marine spreading comes with an API overhead that makes it obvious you're not dealing with a human, and if that kind of impossible feat were made out of bounds for bots, they would most likely just be really bad players, and then who cares if they're on the ladder.
The frumious Bandersnatch
Mord
Profile Joined May 2011
Norway171 Posts
October 27 2011 11:10 GMT
#13
Some person's masters thesis shall be the doom of ladderers everywhere!!!!1

[/Hyperbole]

CatNzHat
Profile Blog Joined February 2011
United States1599 Posts
October 27 2011 11:25 GMT
#14
This is quite an impressive and entertaining project, if you're a programmer interested in the Direct3D API, this is some great code to look at.
The author also has a bunch of other projects on his site, including some neat painting code with the Kinect.


If this guy has a TL account and someone knows it, someone credit him.
Umpteen
Profile Blog Joined April 2010
United Kingdom1570 Posts
Last Edited: 2011-10-27 11:26:20
October 27 2011 11:26 GMT
#15
Did anyone else get motion-sickness trying to watch the video?
The existence of a food chain is inescapable if we evolved unsupervised, and inexcusable otherwise.
Azurues
Profile Joined March 2011
Malaysia5612 Posts
October 27 2011 11:28 GMT
#16
The most impressive u mean rather than "an"
andy186
Profile Joined September 2010
Australia1058 Posts
October 27 2011 11:28 GMT
#17
On October 27 2011 20:26 Umpteen wrote:
Did anyone else get motion-sickness trying to watch the video?


yes i couldn't watch it just bouncing around the screen.
eviltomahawk
Profile Blog Joined August 2010
United States11135 Posts
October 27 2011 11:29 GMT
#18
On October 27 2011 20:26 Umpteen wrote:
Did anyone else get motion-sickness trying to watch the video?

The multitasking was pretty insane.

The only other time I got motion-sickness when watching a Starcraft FPVOD was when I was watching a (P)Bisu FPVOD, especially when he is playing a PvZ. Seriously, that guy has INSANE multitasking.
ㅇㅅㅌㅅ
Hairy
Profile Joined February 2011
United Kingdom1169 Posts
Last Edited: 2011-10-27 11:42:40
October 27 2011 11:39 GMT
#19
That's incredibly impressive - I never thought such an approach (to reverse engineer the gamestate using the API) for AI would be possible, nevermind viable.

EDIT: the video is completely schizophrenic - unwatchable. I think I'd prefer to see the AI work it's magic from a spectator's POV
Sometimes I sits and thinks, and sometimes I just sits
FlaminGinjaNinja
Profile Blog Joined January 2011
United Kingdom879 Posts
Last Edited: 2011-10-27 11:53:53
October 27 2011 11:46 GMT
#20
I think if someone were to work on this idea it could only ever get as far as a macro bot. I suspect this would work best with terran because with Protoss there are warpin's and Zerg you need your injects and dont want it making drones all the time when you need units (and visa versa).

I don't see this bot making it very far tbh, yes it could be a great tool for those who want to hack but also it takes away from actually playing the game and would make micro and reacting to things much more difficult (If im going to EMP a Protoss deathball I don't want to something to suddenly take controls so it can make an SCV for me....

Btw, Hacks are bad, damaging e-sports etc, im just giving my opinion on this not saying people should use it

Edit: Just reread my post, and realised I forgot the second thing I was going to say!

If this is created as an independent AI (not a bot that helps you while you play, but something you can play against) It could help out a great deal. It could effectivly learn what you do in different situations creating a AI which gets better as you get better. You could effectivly simulate playing yourself if you had enough games with the program running. It could become a great tool, you could swap bots and we could have AI copies of top Programmers bouncing around.
GinjaNinja.661 EU I'd like to thank my sh*t keyyboard for always messing up my 'Y's
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Sparkling Tuna Cup
10:00
Weekly #98
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 42639
Barracks 1998
Shuttle 1701
EffOrt 1141
BeSt 932
Mini 790
firebathero 743
actioN 670
Larva 497
Soma 338
[ Show more ]
Dewaltoss 179
Hyun 175
Last 172
Leta 96
Mind 85
ToSsGirL 79
sorry 75
Sharp 66
Shinee 64
ajuk12(nOOB) 26
JulyZerg 25
Shine 21
Yoon 21
Sacsri 20
ivOry 19
Backho 14
Terrorterran 11
Dota 2
XcaliburYe644
syndereN567
canceldota145
Counter-Strike
kRYSTAL_50
Heroes of the Storm
Khaldor276
Other Games
B2W.Neo1693
Hui .177
Organizations
Other Games
gamesdonequick3125
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH191
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV611
• Ler111
League of Legends
• Jankos1383
Upcoming Events
Online Event
2h 3m
BSL 2v2 ProLeague S3
4h 3m
Esports World Cup
1d 20h
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
2 days
Esports World Cup
3 days
Esports World Cup
4 days
CranKy Ducklings
5 days
BSL20 Non-Korean Champi…
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
6 days
Liquipedia Results

Completed

2025 ACS Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
Championship of Russia 2025
Calamity Cup Div. A S7
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 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
IEM Cologne 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.