• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:05
CET 19:05
KST 03:05
  • 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: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!37$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
StarCraft, SC2, HotS, WC3, Returning to Blizzcon! Mech is the composition that needs teleportation t TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win RotterdaM "Serral is the GOAT, and it's not close"
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BW General Discussion [ASL20] Ask the mapmakers — Drop your questions [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[BSL21] RO32 Group A - Saturday 21:00 CET [Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
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 Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
Formula 1 Discussion 2024 - 2026 Football Thread 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 Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1711 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
LAN Event
18:00
Stellar Fest: Day 2
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
ComeBackTV 824
UrsaTVCanada320
Liquipedia
IPSL
18:00
Ro24 Group B
dxtr13 vs OldBoy
Napoleon vs Doodle
Liquipedia
PSISTORM Gaming Misc
16:55
FSL teamleague IC vs RR week17
Freeedom33
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 65
ROOTCatZ 40
Vindicta 33
MindelVK 28
StarCraft: Brood War
Sea 3324
EffOrt 343
actioN 257
Rush 223
Hyun 84
Mind 55
Backho 52
Rock 47
Sacsri 10
Dota 2
qojqva3452
Dendi1188
Counter-Strike
kRYSTAL_45
Heroes of the Storm
Khaldor496
Other Games
B2W.Neo1431
Beastyqt649
Lowko264
Fuzer 208
KnowMe184
Hui .153
ArmadaUGS110
nookyyy 50
ViBE47
goatrope39
Trikslyr31
Organizations
StarCraft 2
WardiTV676
Other Games
gamesdonequick274
Counter-Strike
PGL164
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• intothetv
• IndyKCrew
StarCraft: Brood War
• Airneanach5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2353
• lizZardDota233
• Ler26
League of Legends
• Nemesis2091
• imaqtpie223
Other Games
• Shiphtur317
• tFFMrPink 16
Upcoming Events
BSL 21
1h 55m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
4h 55m
Sparkling Tuna Cup
15h 55m
WardiTV Korean Royale
17h 55m
LAN Event
20h 55m
IPSL
23h 55m
JDConan vs WIZARD
WolFix vs Cross
BSL 21
1d 1h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
1d 14h
Wardi Open
1d 17h
WardiTV Korean Royale
2 days
[ Show More ]
Replay Cast
3 days
Kung Fu Cup
3 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
4 days
RSL Revival
4 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
5 days
CranKy Ducklings
6 days
RSL Revival
6 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
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
Stellar Fest: Constellation Cup
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
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 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.