• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:38
CEST 21:38
KST 04:38
  • 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
[ASL21] Ro8 Preview Pt2: Progenitors5Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists22
Community News
RSL Revival: Season 5 - Qualifiers and Main Event10Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15
StarCraft 2
General
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists MaNa leaves Team Liquid
Tourneys
StarCraft Evolution League (SC Evo Biweekly) 2026 GSL Season 2 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament $1,400 SEL Season 3 Ladder Invitational RSL Revival: Season 5 - Qualifiers and Main Event
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
[ASL21] Ro8 Preview Pt2: Progenitors ASL21 General Discussion Why there arent any 256x256 pro maps? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 2 Escore Tournament StarCraft Season 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread OutLive 25 (RTS Game) Daigo vs Menard Best of 10 Dawn of War IV Nintendo Switch Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Movie Stars In Video Games: …
TrAiDoS
ramps on octagon
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1468 users

Zerg Build Order optimizer. - Page 34

Forum Index > SC2 General
Post a Reply
Prev 1 32 33 34 35 36 58 Next
HanSoo
Profile Joined September 2010
United States17 Posts
Last Edited: 2010-10-25 07:00:32
October 25 2010 06:49 GMT
#661
I composed an entire post asking for a scripting engine so we could create better builds before remembering I have a background in Computer Science. So I implemented a feature that I felt is necessary for the program to be useful.

Currently the software is "dumb" in the sense that it does exactly what you tell it to. For the most part the fastest way to a certain attacking unit goal will be to exclude drones. Unfortunately in an economy based game these glass cannon build orders are not very good. You can set a minimum number of reasonable drones but why calculate this out for every build when you can have the computer do it?

I added a setting called, "Disable All-ins" which when enabled in order for a build to qualify it must have a certain number of drones based upon the final time of the build. The threshold is generous but it eliminates all of the terrible 6 drone + units builds when you can get 16 drones in just a few more seconds.

[edit] I don't think I was very clear in describing why this feature is better than simply entering in a certain number of drones. The entire point of the program is to optimize and find the best way to do a certain build. The problem is you might not know how fast something can be done. Your "target" is usually based upon a certain number of attacking units, but the number of drones expected will be variable based upon the amount of time the build takes. Basically your expected economy will vary depending on how early or late the game is.

In order to enter a certain number of drones as a prerequisite you must know around how long the build will take to know how much economy you should have. If your guess is too high you may potentially not discover really good builds. If your guess is too low then you'll start to get those crappy builds again. Either way doing it manually will require constant tweaking.


http://c0004251.cdn.cloudfiles.rackspacecloud.com/evolutionchamber-version-0017-hansoo.jar

Relevant source:

+ Show Spoiler +


EcSwingX.java
addCheck(settings, "Disable All-ins", new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
EcSettings.disableAllins = getTrue(e);
}
}).setSelected(EcSettings.disableAllins);
gridy++;

EcSettings.java
public static boolean disableAllins = false;

EcState.java
public boolean isSatisfied(EcState candidate)
{
...
if (EcSettings.disableAllins) {
int targetDrones = (candidate.seconds / 17 + 6) * 4 / 5;
if (candidate.drones < targetDrones)
return false;
}


Derin
Profile Joined August 2010
Ukraine6 Posts
Last Edited: 2010-10-25 06:56:00
October 25 2010 06:50 GMT
#662
Seems like the new version is worse.
I got the requirments from a replay, so I know it can be done I just wanted to optimize the build a little bit. The 0015 found a build in 30 mins, but 0017 spent an hour and still keeps failing by doing 10 or so hatcheries.
Meldryn
Profile Joined September 2010
United States7 Posts
October 25 2010 06:56 GMT
#663
On October 25 2010 15:49 HanSoo wrote:
I composed an entire post asking for a scripting engine so we could create better builds before remembering I have a background in Computer Science. So I implemented a feature that I felt is necessary for the program to be useful.

Currently the software is "dumb" in the sense that it does exactly what you tell it to. For the most part the fastest way to a certain attacking unit goal will be to exclude drones. Unfortunately in an economy based game these glass cannon build orders are not very good. You can set a minimum number of reasonable drones but why calculate this out for every build when you can have the computer do it?

I added a setting called, "Disable All-ins" which when enabled in order for a build to qualify it must have a certain number of drones based upon the final time of the build. The threshold is generous but it eliminates all of the terrible 6 drone + units builds when you can get 16 drones in just a few more seconds.

http://c0004251.cdn.cloudfiles.rackspacecloud.com/evolutionchamber-version-0017-hansoo.jar

Relevant source:

+ Show Spoiler +


EcSwingX.java
addCheck(settings, "Disable All-ins", new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
EcSettings.disableAllins = getTrue(e);
}
}).setSelected(EcSettings.disableAllins);
gridy++;

EcSettings.java
public static boolean disableAllins = false;

EcState.java
public boolean isSatisfied(EcState candidate)
{
...
if (EcSettings.disableAllins) {
int targetDrones = (candidate.seconds / 17 + 6) * 4 / 5;
if (candidate.drones < targetDrones)
return false;
}




This fix is okay, but in light of the new econ based optimizer being tested right now, possibly obsolete.
HanSoo
Profile Joined September 2010
United States17 Posts
October 25 2010 07:08 GMT
#664
On October 25 2010 15:56 Meldryn wrote:
This fix is okay, but in light of the new econ based optimizer being tested right now, possibly obsolete.


That sounds good. I haven't been following the entire thread and I'm not part of internal testing so I'm not aware of anything in the incubator.

I found the patch useful so I just thought I'd share it.
OverLulz
Profile Joined April 2010
Germany75 Posts
October 25 2010 07:17 GMT
#665
the new version with simple view is awesome! thanks to all of you for your great work. this tool makes lots of fun.
even though i didn't have any sucess with my 12 roach, tunnelling claws, burrow, glial reconstitution and missle+1 upgrade rush yet :D includes two roach warrens, epic!
BurningSera
Profile Blog Joined September 2010
Ireland19621 Posts
October 25 2010 07:43 GMT
#666
On October 25 2010 14:53 Subversion wrote:
Can we make a thread or something where we can put all the awesome builds this thing uncovers?



i concur! time for some sharing, people!! :D

is 2017, stop being lame, fuck's sakes. 'Can't wait for the rise of the cakes and humanity's last stand tbqh.'
Dionyseus
Profile Blog Joined December 2004
United States2068 Posts
October 25 2010 07:57 GMT
#667
On October 25 2010 15:50 Derin wrote:
Seems like the new version is worse.
I got the requirments from a replay, so I know it can be done I just wanted to optimize the build a little bit. The 0015 found a build in 30 mins, but 0017 spent an hour and still keeps failing by doing 10 or so hatcheries.


What requirements did you set?
9/5/10 P acct: NA D 10,683 651pts 69w56L http://sc2ranks.com/char/us/290365/LetoAtreides T acct: NA D 16,137 553pts 70w67L http://sc2ranks.com/char/us/1560008/Khrone Z: NA G 16,058 465pts 28w26L http://www.sc2ranks.com/us/1997354/Omnius
Derin
Profile Joined August 2010
Ukraine6 Posts
October 25 2010 08:22 GMT
#668
On October 25 2010 16:57 Dionyseus wrote:

What requirements did you set?

WP0: Metabolic Boost - 6:0
WP1: 2 queens, 3 zerglings, 2 spines and a hatchery - 7:0
WP2: 8 mutalisks - 10:0 (even tried 10:20 and 7 muta, cause it kept failing)
Final: 7zergling, 8 banelings, 2 mutalisks and +1 attack for flying units - 12:0
icezar
Profile Joined June 2010
Germany240 Posts
October 25 2010 09:46 GMT
#669
On October 25 2010 17:22 Derin wrote:
Show nested quote +
On October 25 2010 16:57 Dionyseus wrote:

What requirements did you set?

WP0: Metabolic Boost - 6:0
WP1: 2 queens, 3 zerglings, 2 spines and a hatchery - 7:0
WP2: 8 mutalisks - 10:0 (even tried 10:20 and 7 muta, cause it kept failing)
Final: 7zergling, 8 banelings, 2 mutalisks and +1 attack for flying units - 12:0


Thats because you asked it to do a "PERFECT" build.
By "PERFECT" i mean a build copied from a very good player, this builds are just perfect, nothing you can improve upon them, i did the same trying to improve on 5RR that is just much more easy then your build and it did not find a way to do it even after 8h.

This tool will find you "strange builds" for example if that guy gets 8 muta at once and atacks at 10 min mark, this tool might find you a build for 6 muta by 9min and you could do the attack at a time he is not expecting but in the next min you could not get another 2 muta out.

This tool will give you rush build like 7RR

This tool should give you econ builds but i do not know how good those will be on real game since someone will attack you before your build is done and then you are off.
Mushin
Profile Joined October 2010
United Kingdom15 Posts
Last Edited: 2010-10-25 11:38:23
October 25 2010 11:37 GMT
#670
If anyone has requests for builds, please let me know. I have a few cores I can use for this purpose. I'll post the results up here.

This is the 7 roach build with 16 drones, which is finished at 4:37.
Ctuchik
Profile Joined October 2010
Sweden91 Posts
October 25 2010 12:46 GMT
#671
I'd like to see:

WP: 2 lings before 5min
Final: 44 drones, 3 queens, 3 roaches and metabolic boost. (2 hatches as well I guess)

Turn of extractor trick and pull drones from gas.

Best I've got is 6.31 with a 13pool 18 hatch.
http://twitter.com/sc2statistics
azzu
Profile Joined August 2010
Germany141 Posts
October 25 2010 13:27 GMT
#672
On October 25 2010 17:22 Derin wrote:
Show nested quote +
On October 25 2010 16:57 Dionyseus wrote:

What requirements did you set?

WP0: Metabolic Boost - 6:0
WP1: 2 queens, 3 zerglings, 2 spines and a hatchery - 7:0
WP2: 8 mutalisks - 10:0 (even tried 10:20 and 7 muta, cause it kept failing)
Final: 7zergling, 8 banelings, 2 mutalisks and +1 attack for flying units - 12:0


after 20 minutes, i got a build that satisfies all the waypoints and ends at 10:30
icezar
Profile Joined June 2010
Germany240 Posts
October 25 2010 13:39 GMT
#673
On October 25 2010 22:27 azzu wrote:
Show nested quote +
On October 25 2010 17:22 Derin wrote:
On October 25 2010 16:57 Dionyseus wrote:

What requirements did you set?

WP0: Metabolic Boost - 6:0
WP1: 2 queens, 3 zerglings, 2 spines and a hatchery - 7:0
WP2: 8 mutalisks - 10:0 (even tried 10:20 and 7 muta, cause it kept failing)
Final: 7zergling, 8 banelings, 2 mutalisks and +1 attack for flying units - 12:0


after 20 minutes, i got a build that satisfies all the waypoints and ends at 10:30


Can you please post it?

I think with 0.17 the new scoring system is worse then before. Now it tends to add another SP or more drones even if it finishes later :-( I do think time should be above all. The time difference was big also, from 4:49 to 5:06
Ctuchik
Profile Joined October 2010
Sweden91 Posts
October 25 2010 14:27 GMT
#674
On October 25 2010 21:46 Ctuchik wrote:
I'd like to see:

WP: 2 lings before 5min
Final: 44 drones, 3 queens, 3 roaches and metabolic boost. (2 hatches as well I guess)

Turn of extractor trick and pull drones from gas.

Best I've got is 6.31 with a 13pool 18 hatch.


Just got a new one, 14 hatch 13 pool. 6:27. 42 million games played. Queens at 17 and 21.
http://twitter.com/sc2statistics
OverLulz
Profile Joined April 2010
Germany75 Posts
October 25 2010 14:31 GMT
#675
got a question: when it says

3 Hatch
1 Lair

How many bases are actually there? Does it mean 3 Hatches, one of them is a lair? Or 3 Hatches and 1 Lair, so 4 bases?
And how many bases are mining? I read somewhere that it accounts for two mining bases and the other hatches are only there for larva?
Bumblebees
Profile Joined August 2010
United States328 Posts
Last Edited: 2010-10-25 14:36:59
October 25 2010 14:35 GMT
#676
On October 25 2010 15:49 HanSoo wrote:
I composed an entire post asking for a scripting engine so we could create better builds before remembering I have a background in Computer Science. So I implemented a feature that I felt is necessary for the program to be useful.

Currently the software is "dumb" in the sense that it does exactly what you tell it to. For the most part the fastest way to a certain attacking unit goal will be to exclude drones. Unfortunately in an economy based game these glass cannon build orders are not very good. You can set a minimum number of reasonable drones but why calculate this out for every build when you can have the computer do it?

I added a setting called, "Disable All-ins" which when enabled in order for a build to qualify it must have a certain number of drones based upon the final time of the build. The threshold is generous but it eliminates all of the terrible 6 drone + units builds when you can get 16 drones in just a few more seconds.

[edit] I don't think I was very clear in describing why this feature is better than simply entering in a certain number of drones. The entire point of the program is to optimize and find the best way to do a certain build. The problem is you might not know how fast something can be done. Your "target" is usually based upon a certain number of attacking units, but the number of drones expected will be variable based upon the amount of time the build takes. Basically your expected economy will vary depending on how early or late the game is.

In order to enter a certain number of drones as a prerequisite you must know around how long the build will take to know how much economy you should have. If your guess is too high you may potentially not discover really good builds. If your guess is too low then you'll start to get those crappy builds again. Either way doing it manually will require constant tweaking.


http://c0004251.cdn.cloudfiles.rackspacecloud.com/evolutionchamber-version-0017-hansoo.jar

Relevant source:

+ Show Spoiler +


EcSwingX.java
addCheck(settings, "Disable All-ins", new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
EcSettings.disableAllins = getTrue(e);
}
}).setSelected(EcSettings.disableAllins);
gridy++;

EcSettings.java
public static boolean disableAllins = false;

EcState.java
public boolean isSatisfied(EcState candidate)
{
...
if (EcSettings.disableAllins) {
int targetDrones = (candidate.seconds / 17 + 6) * 4 / 5;
if (candidate.drones < targetDrones)
return false;
}





I want to point out that turning on "disable all-ins" runs significantly faster.

I'm averaging about 16-18K games per second with it turned on. The current version 17 runs at ~2K-5K games per second with the same settings.

Nearly every build I've tried it's been able to get the build out at the same time as the current version except disable all-ins ends up with 2+ more drones.

I feel this is an exceptional improvement.
Bumblebees
Profile Joined August 2010
United States328 Posts
October 25 2010 14:45 GMT
#677
On October 25 2010 23:31 OverLulz wrote:
got a question: when it says

3 Hatch
1 Lair

How many bases are actually there? Does it mean 3 Hatches, one of them is a lair? Or 3 Hatches and 1 Lair, so 4 bases?
And how many bases are mining? I read somewhere that it accounts for two mining bases and the other hatches are only there for larva?


4 bases, it assumes all are placed near minerals.

You can determine if those bases need to be near minerals pretty easily.

First divide the number of extractors and divide by 2. Round up and that's the minimum number of hatcheries near resources required. To determine the actual number, for every extractor, subtract 3 drones from the total drone count. Take the remaining drones and divide by 16. Round up the result and that's how many bases need to be near minerals.

That means that 47 drones with 5 extractors needs 3 hatcheries near minerals. ceil(5/2) = 3. Number of drones on minerals is 32 which is 2 bases when divided by 16.

48 drones with 4 extractors is 2 bases. 48 drones with 1 extractor is 3 bases. etc...
OverLulz
Profile Joined April 2010
Germany75 Posts
October 25 2010 14:56 GMT
#678
@bumblebees: thank you for your explanation.

In my case it says the following (final output)
+ Show Spoiler +
---Final Output---
At time: 9:36
Minerals: 736 Gas: 218 Supply: 112/112
Drones: 54
Overlords: 13
Queens: 2
Zerglings: 8
Roaches: 25
Hatcheries: 3
Lairs: 1
Gas Extractors: 4
Spawning Pools: 1
Baneling Nest: 1
Roach Warrens: 1
Evolution Chambers: 1
Armor +1
Metabolic Boost
Glial Reconstitution
Centrifugal Hooks


Doing your calculation I come up the the following result:
4 extractors means 2 bases in gas
54 - 12 = 42
42/16=2.6.
42 drones on minearls means 3 bases.

But it still adds one more hatchery. It calculated 3 hatches and a lair. (69172K games played.)
azzu
Profile Joined August 2010
Germany141 Posts
October 25 2010 15:09 GMT
#679
On October 25 2010 22:39 icezar wrote:
Can you please post it?


no didn't care enough to think about saving it XD
blackodd
Profile Joined April 2010
Sweden451 Posts
October 25 2010 17:12 GMT
#680
This has so much potential, wow
For I am the Queen of Blades. And none shall ever dispute my rule, again...
Prev 1 32 33 34 35 36 58 Next
Please log in or register to reply.
Live Events Refresh
Monday Night Weeklies
16:00
#50
RotterdaM922
TKL 364
SteadfastSC232
IndyStarCraft 218
BRAT_OK 173
ZombieGrub82
EnkiAlexander 17
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 876
TKL 364
SteadfastSC 232
IndyStarCraft 218
BRAT_OK 173
UpATreeSC 122
ZombieGrub82
StarCraft: Brood War
Calm 3662
Britney 2012
Mini 486
ggaemo 273
Dewaltoss 116
Hm[arnc] 25
Dota 2
Gorgc6534
monkeys_forever391
Counter-Strike
pashabiceps1912
Super Smash Bros
Mew2King121
Heroes of the Storm
Liquid`Hasu313
Other Games
Grubby3354
Liquid`RaSZi1353
FrodaN1172
Beastyqt1071
shahzam331
C9.Mang0217
KnowMe139
ArmadaUGS136
Hui .79
Trikslyr68
MindelVK17
Organizations
Other Games
BasetradeTV405
Dota 2
PGL Dota 2 - Main Stream48
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 20 non-featured ]
StarCraft 2
• kabyraGe 88
• Adnapsc2 10
• Reevou 6
• intothetv
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• Kozan
• IndyKCrew
StarCraft: Brood War
• blackmanpl 36
• 80smullet 22
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• imaqtpie1919
• Jankos1286
• TFBlade961
Other Games
• Shiphtur247
• WagamamaTV39
Upcoming Events
Replay Cast
4h 22m
Sparkling Tuna Cup
14h 22m
Afreeca Starleague
14h 22m
Snow vs Flash
WardiTV Invitational
15h 22m
SHIN vs Nicoract
Solar vs Nice
GSL
1d 13h
Classic vs Cure
Maru vs Rogue
GSL
2 days
SHIN vs Zoun
ByuN vs herO
OSC
2 days
OSC
2 days
Replay Cast
3 days
Escore
3 days
[ Show More ]
The PondCast
3 days
WardiTV Invitational
3 days
Zoun vs Ryung
Lambo vs ShoWTimE
OSC
4 days
Replay Cast
4 days
CranKy Ducklings
4 days
RSL Revival
4 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
4 days
Krystianer vs TriGGeR
Cure vs Rogue
uThermal 2v2 Circuit
4 days
BSL
4 days
Replay Cast
5 days
Sparkling Tuna Cup
5 days
RSL Revival
5 days
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
5 days
BSL
5 days
Replay Cast
6 days
Afreeca Starleague
6 days
Liquipedia Results

Completed

Proleague 2026-05-02
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

YSL S3
Escore Tournament S2: W6
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
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 © 2026 TLnet. All Rights Reserved.