• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:03
CEST 09:03
KST 16:03
  • 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 Team Map Contest #5: Presented by Monster Energy4Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3
Community News
Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."1Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey.3Code S RO8 Results + RO4 Bracket (2025 Season 2)11BGE Stara Zagora 2025 - Replay Pack2Weekly Cups (June 2-8): herO doubles down1
StarCraft 2
General
Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson." Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey. I have an extra ticket to the GSL Ro4/finals The SCII GOAT: A statistical Evaluation Code S RO8 Results + RO4 Bracket (2025 Season 2)
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Ro8 - Group A [GSL 2025] Code S: Season 2 - Ro8 - Group B SOOPer7s Showmatches 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games BW General Discussion FlaSh Witnesses SCV Pull Off the Impossible vs Shu StarCraft & BroodWar Campaign Speedrun Quest
Tourneys
[Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET Small VOD Thread 2.0 [BSL20] ProLeague Bracket Stage - Day 4
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason What do you want from future 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Russo-Ukrainian War Thread Vape Nation Thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 27353 users

[mod] Starcraft AI project - Dorfl - Page 3

Forum Index > SC2 Maps & Custom Games
Post a Reply
Prev 1 2 3 All
turtles
Profile Blog Joined August 2011
Australia360 Posts
November 14 2015 11:00 GMT
#41
My project is just for fun; I'm creating a series of user-centric intelligent agents. They use the mouse and keyboard interface, throttled to human speed, and scrape the screen for visual information to make decisions. This is an external program, and does not read program memory or "cheat" in any way. It's basically a game-long, dynamically constructed macro. I'm in the process of building out the API which drives basic game activities, and have already programmed a user agent which just does a 2 rax reaper rush (as a test model). I'm using Autohotkey for the programming and the GDI+ Windows API for fast screen scraping and bitmap analysis.


Damn! Everytime I think I'm doing something cool I find someone pushing boundaries even further! I look forward to seeing what you can do
HeadBangaa
Profile Blog Joined July 2004
United States6512 Posts
November 14 2015 14:32 GMT
#42
On November 14 2015 20:00 turtles wrote:
Show nested quote +
My project is just for fun; I'm creating a series of user-centric intelligent agents. They use the mouse and keyboard interface, throttled to human speed, and scrape the screen for visual information to make decisions. This is an external program, and does not read program memory or "cheat" in any way. It's basically a game-long, dynamically constructed macro. I'm in the process of building out the API which drives basic game activities, and have already programmed a user agent which just does a 2 rax reaper rush (as a test model). I'm using Autohotkey for the programming and the GDI+ Windows API for fast screen scraping and bitmap analysis.


Damn! Everytime I think I'm doing something cool I find someone pushing boundaries even further! I look forward to seeing what you can do

I know what you mean, I had the same thought when I saw this project There is ample space for both projects, each having their respective trade-offs.

I've never created a mod or used the map editor, but Dorfl has piqued my interest. I'll play with it and maybe surf the code. Thanks for open sourcing it.
People who fail to distinguish Socratic Method from malicious trolling are sadly stupid and not worth a response.
fluidrone
Profile Blog Joined January 2015
France1478 Posts
November 24 2015 13:46 GMT
#43
The open source has always been the way to save the world!

i want an ai too

"not enough rights"
Leviance
Profile Joined November 2009
Germany4079 Posts
November 28 2015 20:11 GMT
#44
any news? plz make new videos
"Blizzard is never gonna nerf Terran because of those American and European fuck" - Korean Netizen
LetaBot
Profile Blog Joined June 2014
Netherlands557 Posts
November 29 2015 02:55 GMT
#45
On November 14 2015 19:48 HeadBangaa wrote:


My project is just for fun; I'm creating a series of user-centric intelligent agents. They use the mouse and keyboard interface, throttled to human speed, and scrape the screen for visual information to make decisions. This is an external program, and does not read program memory or "cheat" in any way. It's basically a game-long, dynamically constructed macro. I'm in the process of building out the API which drives basic game activities, and have already programmed a user agent which just does a 2 rax reaper rush (as a test model). I'm using Autohotkey for the programming and the GDI+ Windows API for fast screen scraping and bitmap analysis.

The Broodwar AI scene was pretty well-developed. They ran myriad games on private servers and had tournaments. It's not just technically difficult, but illegal to run a private server for SC2. Blizz really has their platform locked down; the EULA is absolutely brutal too.


That API sounds a lot like the DirectX interception that Matthew Fischer did: https://graphics.stanford.edu/~mdfisher/GameAIs.html

Here is a video of it in action:
If you cannot win with 100 apm, win with 100 cpm.
HeadBangaa
Profile Blog Joined July 2004
United States6512 Posts
December 04 2015 19:38 GMT
#46
On November 29 2015 11:55 LetaBot wrote:
Show nested quote +
On November 14 2015 19:48 HeadBangaa wrote:


My project is just for fun; I'm creating a series of user-centric intelligent agents. They use the mouse and keyboard interface, throttled to human speed, and scrape the screen for visual information to make decisions. This is an external program, and does not read program memory or "cheat" in any way. It's basically a game-long, dynamically constructed macro. I'm in the process of building out the API which drives basic game activities, and have already programmed a user agent which just does a 2 rax reaper rush (as a test model). I'm using Autohotkey for the programming and the GDI+ Windows API for fast screen scraping and bitmap analysis.

The Broodwar AI scene was pretty well-developed. They ran myriad games on private servers and had tournaments. It's not just technically difficult, but illegal to run a private server for SC2. Blizz really has their platform locked down; the EULA is absolutely brutal too.


That API sounds a lot like the DirectX interception that Matthew Fischer did: https://graphics.stanford.edu/~mdfisher/GameAIs.html

Here is a video of it in action:
https://www.youtube.com/watch?v=FBZT2ukipkc

Wow! Skynet level stuff. This is very closely aligned to what I'm trying to do in creating automation in general. He gets fast, detailed info from the DX pipe. I'm envious of those graphics programming skills! While he's coded up a parser for SC2 (and is kind enough to share it), I wouldn't be able to apply that to other applications, so I'll continue with my naive, primitive GDI+ interface. Really impressive though, thanks for the link.
People who fail to distinguish Socratic Method from malicious trolling are sadly stupid and not worth a response.
summerloud
Profile Joined March 2010
Austria1201 Posts
December 08 2015 10:09 GMT
#47
im currently making a huge mod that changes a lot and introduces new races etc

prolly gna be far enough to think about implementing AI around january

could i build on your project?
turtles
Profile Blog Joined August 2011
Australia360 Posts
December 09 2015 01:47 GMT
#48
I'm back now! I went on hollidays for > 2 weeks. I spent a week of that time in a tent away from civillization with dolphins swimming right past my campsight, catching fish, reading books and getting sunburnt!

could i build on your project?


Yeah, sure. Just make sure to give credit where due. In the credits section, when announcing the mod, as a footnote on the splash screen, tattood on your body. One of those should suffice.

You would no doubt have a lot of questions about the structure of the AI and how to incorporate new units. I must warn you that it will be a hard job and require a good understanding and experience of writting software. It would be no small task, though it would be a much smaller task than writting an AI completely from scratch.


any news? plz make new videos


I figured out why my genetic algorithm stuff was running so slowly. + Show Spoiler +
It is based on strings and so it was some low level string manipulation which I had to write functions for but which were not as efficient as they could have been. Also I have discovered some more inbuilt SC2 string functions which can probably run faster due to having more direct low-level access to the data. Now that I know what the problem was I could replace the string indecies with integers and get another large improvement... but we'll see.


So that means that genetic algorithms are back on the menu. I'll post a video of it working soon(TM). It won't be visually impressive but it is cool to watch it formulate a build order on the fly by it's own processes and not being simply told what to do.

I need to be working on the sister project SALT as well so unfortunately my attentions will be divided for the next month or so. However I have some cool collaborations set up for SALT when that is finished. + Show Spoiler +
(announcement of an announcement complete)
Leviance
Profile Joined November 2009
Germany4079 Posts
December 27 2015 14:06 GMT
#49
Any news? Any new videos?
"Blizzard is never gonna nerf Terran because of those American and European fuck" - Korean Netizen
Prev 1 2 3 All
Please log in or register to reply.
Live Events Refresh
Next event in 1h 57m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 744
Larva 619
TY 498
Nal_rA 255
Zeus 194
ajuk12(nOOB) 56
Noble 32
Dota 2
BabyKnight40
Counter-Strike
Stewie2K746
Heroes of the Storm
Khaldor115
Other Games
summit1g5094
C9.Mang01247
WinterStarcraft443
Fuzer 162
Trikslyr19
Organizations
Dota 2
PGL Dota 2 - Secondary Stream5075
Other Games
gamesdonequick355
StarCraft: Brood War
UltimateBattle 40
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota248
League of Legends
• Stunt424
Upcoming Events
SOOP
1h 57m
sOs vs Percival
CranKy Ducklings
2h 57m
WardiTV Invitational
3h 57m
ByuN vs MaNa
MaxPax vs Solar
Reynor vs Creator
Gerald vs Spirit
Cheesadelphia
7h 57m
CSO Cup
9h 57m
BSL: ProLeague
10h 57m
Hawk vs UltrA
Sziky vs spx
TerrOr vs JDConan
GSL Code S
1d
Rogue vs herO
Classic vs GuMiho
Sparkling Tuna Cup
1d 2h
BSL: ProLeague
1d 10h
Bonyth vs Dewalt
Cross vs Doodle
MadiNho vs Dragon
Replay Cast
1d 16h
[ Show More ]
Wardi Open
2 days
Replay Cast
2 days
Replay Cast
3 days
RSL Revival
3 days
Cure vs Percival
ByuN vs Spirit
RSL Revival
4 days
herO vs sOs
Zoun vs Clem
Replay Cast
4 days
The PondCast
5 days
RSL Revival
5 days
Serral vs SHIN
Solar vs Cham
Replay Cast
5 days
RSL Revival
6 days
Reynor vs Scarlett
ShoWTimE vs Classic
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 2
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
BLAST Open Fall 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.