• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:27
CEST 17:27
KST 00: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
[ASL21] Ro8 Preview Pt2: Progenitors4Code 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
2026 GSL Season 2 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) $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
Why there arent any 256x256 pro maps? BW General Discussion ASL21 General Discussion [ASL21] Ro8 Preview Pt2: Progenitors BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL21] Ro8 Day 3 [ASL21] Ro8 Day 2 [Megathread] Daily Proleagues 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: 1348 users

[DISCOVERY] 2x high templar feedback - older dies - Page 9

Forum Index > SC2 General
Post a Reply
Prev 1 7 8 9 10 Next All
mostevil
Profile Joined February 2011
United Kingdom611 Posts
July 26 2012 13:07 GMT
#161
On July 26 2012 19:38 urashimakt wrote:
Show nested quote +
On July 26 2012 17:06 AlanSmithee wrote:
This finding is very wierd to me.

It's fundamental in game programmnig that all agents are handled with the same priorety each loop.
for example:

agent a cast spell
agent b cast spell

agent a collision detection
agent b collision detection

agent a loose hp
agent b loose hp

By your results the loop would look like

agent a cast spell
agent a collision detection
agent a loose hp

agent b cast spell
agent b collision detection
agent b loose hp

and that would be a very fundamental flaw in the code design.

I doubt it is actually a bug, it must be an active desicion of blizzards part to have it work this way.
I wonder why though, it makes very little sense to me.

And why would they sort their priority-queue baed on how it was added.. Like they are using a stack or something... Efficient but not very dynamic for this kind of a game.. Would love to see their code.

Nice find!

Stacks are pretty good and efficiency is super important in a game where you might have over 1000 actionable entities in a single 1v1 match. Blizzard already has the solution to this issue and it's not reworking the foundation, choosing another abritrary insertion index (or worse yet, randomizing insertion or remixing at intervals).

The solution is to add the same random delay fields to abilities that attacks already have.


Firstly thats obviously not the correct sequence, instant attack damage is resolved as the spell is cast/shot is fired not in a later cycle. Projectiles damage resolves when they hit the target.
Secondly nothing in SC2 is randomized, the replay system relies on that (you can seed a random generator but implementations on different platforms vary, and random is not good for it being a viable esport).
It's not really feasible to resolve all actions at once or as if they resolve at once, nor are the rewards worth the effort as it'll tripple the time spent in that routine.
If a solution is needed then the direction of traversing the lists could alternate per game frame, effectively randomising which fires first for those of us living in human time.
我的媽和她的瘋狂的外甥都
Cubu
Profile Blog Joined February 2011
1171 Posts
July 26 2012 13:15 GMT
#162
I wish the game was designed so that both units would die at the same time. More fair that way.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
Last Edited: 2012-07-26 13:29:34
July 26 2012 13:29 GMT
#163
On July 26 2012 22:15 Cubu wrote:
I wish the game was designed so that both units would die at the same time. More fair that way.


This is one of the foundations of game programming.

I bet there are other people here who like me took a course on Computer Graphics and had one assignament to create a "game", and if your code didn't fulfill that foundation then you would lose a shit ton of fuckload of points...

I can't believe blizzard programmers, who are probably really really skilled, made such a mistake D:
"When the geyser died, a probe came out" - SirJolt
AlanSmithee
Profile Joined May 2012
39 Posts
July 26 2012 13:34 GMT
#164
On July 26 2012 22:29 fabiano wrote:
Show nested quote +
On July 26 2012 22:15 Cubu wrote:
I wish the game was designed so that both units would die at the same time. More fair that way.


This is one of the foundations of game programming.

I bet there are other people here who like me took a course on Computer Graphics and had one assignament to create a "game", and if your code didn't fulfill that foundation then you would lose a shit ton of fuckload of points...

I can't believe blizzard programmers, who are probably really really skilled, made such a mistake D:


If two units who have an projectile shoot at each other at aprox. the same time, both die. (Vikings, stalkers etc.) But for the units with instant shots, like marines, it would make little sense if both units die.

There is no real world equivalent of "instant" shot but it if there were the two units would ahve to fire at the exact same time, and that would never happend.

Again, there is no flaw, you can consider it bad design if you want to (i disagree, i think it works well), but belive me, it's very much intentially.
Aerisky
Profile Blog Joined May 2012
United States12129 Posts
July 26 2012 13:34 GMT
#165
Hm...this is pretty interesting. I don't think it should create any huge changes in the metagame or anything like, but it's interesting nonetheless. I wonder whether this was a rather incompetent mistake or whether this was actually implemented on purpose for some reason.
Jim while Johnny had had had had had had had; had had had had the better effect on the teacher.
Heh_
Profile Blog Joined April 2012
Singapore2712 Posts
July 26 2012 13:40 GMT
#166
The number of 1-post users from Poland is amazing, especially the accounts which were created today.
=Þ
Cyber_Cheese
Profile Blog Joined July 2010
Australia3615 Posts
Last Edited: 2012-07-26 13:45:54
July 26 2012 13:43 GMT
#167
On July 26 2012 05:31 JinDesu wrote:
Show nested quote +
On July 26 2012 05:28 sLiMpoweR wrote:
What if they are exactly the same age?


I don't think they can be - assuming the system uses some sort of ID for timestamp.


The buildings would have their own id's too, as well as the workers creating them.


On July 26 2012 22:34 AlanSmithee wrote:
Show nested quote +
On July 26 2012 22:29 fabiano wrote:
On July 26 2012 22:15 Cubu wrote:
I wish the game was designed so that both units would die at the same time. More fair that way.


This is one of the foundations of game programming.

I bet there are other people here who like me took a course on Computer Graphics and had one assignament to create a "game", and if your code didn't fulfill that foundation then you would lose a shit ton of fuckload of points...

I can't believe blizzard programmers, who are probably really really skilled, made such a mistake D:


If two units who have an projectile shoot at each other at aprox. the same time, both die. (Vikings, stalkers etc.) But for the units with instant shots, like marines, it would make little sense if both units die.

There is no real world equivalent of "instant" shot but it if there were the two units would ahve to fire at the exact same time, and that would never happend.

Again, there is no flaw, you can consider it bad design if you want to (i disagree, i think it works well), but belive me, it's very much intentially.


There is no real world equivalent of a lot of things in StarCraft, how does that mean two identical units shouldn't be exactly even?
The moment you lose confidence in yourself, is the moment the world loses it's confidence in you.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
July 26 2012 13:43 GMT
#168
On July 26 2012 22:34 AlanSmithee wrote:
Show nested quote +
On July 26 2012 22:29 fabiano wrote:
On July 26 2012 22:15 Cubu wrote:
I wish the game was designed so that both units would die at the same time. More fair that way.


This is one of the foundations of game programming.

I bet there are other people here who like me took a course on Computer Graphics and had one assignament to create a "game", and if your code didn't fulfill that foundation then you would lose a shit ton of fuckload of points...

I can't believe blizzard programmers, who are probably really really skilled, made such a mistake D:


If two units who have an projectile shoot at each other at aprox. the same time, both die. (Vikings, stalkers etc.) But for the units with instant shots, like marines, it would make little sense if both units die.

There is no real world equivalent of "instant" shot but it if there were the two units would ahve to fire at the exact same time, and that would never happend.

Again, there is no flaw, you can consider it bad design if you want to (i disagree, i think it works well), but belive me, it's very much intentially.


It doesnt matter if the shot is instant or not, what matters is if both of them fired and hit at the same time, in a later cycle the state of both units should be set to dead.

Basing who dies first on who is on top of the stack, later in the queue or any other code-only related situation is a design flaw, unless it is related to a feature of the game, such as "the veteran will always prevail".
"When the geyser died, a probe came out" - SirJolt
Aerisky
Profile Blog Joined May 2012
United States12129 Posts
July 26 2012 13:45 GMT
#169
On July 26 2012 22:40 Heh_ wrote:
The number of 1-post users from Poland is amazing, especially the accounts which were created today.

Well, the OP is a Polish Mythbusters type show, so I think he is encouraging more Polish SC2 players/fans to come to TL in his show, which is a pretty great thing ^^
Jim while Johnny had had had had had had had; had had had had the better effect on the teacher.
Heh_
Profile Blog Joined April 2012
Singapore2712 Posts
July 26 2012 13:47 GMT
#170
On July 26 2012 22:45 Aerisky wrote:
Show nested quote +
On July 26 2012 22:40 Heh_ wrote:
The number of 1-post users from Poland is amazing, especially the accounts which were created today.

Well, the OP is a Polish Mythbusters type show, so I think he is encouraging more Polish SC2 players/fans to come to TL in his show, which is a pretty great thing ^^

Well I hope that's true. There's 1 user with an account created in March so that user has been lurking for a bit.
=Þ
AlanSmithee
Profile Joined May 2012
39 Posts
July 26 2012 13:52 GMT
#171
On July 26 2012 22:43 fabiano wrote:
Show nested quote +
On July 26 2012 22:34 AlanSmithee wrote:
On July 26 2012 22:29 fabiano wrote:
On July 26 2012 22:15 Cubu wrote:
I wish the game was designed so that both units would die at the same time. More fair that way.


This is one of the foundations of game programming.

I bet there are other people here who like me took a course on Computer Graphics and had one assignament to create a "game", and if your code didn't fulfill that foundation then you would lose a shit ton of fuckload of points...

I can't believe blizzard programmers, who are probably really really skilled, made such a mistake D:


If two units who have an projectile shoot at each other at aprox. the same time, both die. (Vikings, stalkers etc.) But for the units with instant shots, like marines, it would make little sense if both units die.

There is no real world equivalent of "instant" shot but it if there were the two units would ahve to fire at the exact same time, and that would never happend.

Again, there is no flaw, you can consider it bad design if you want to (i disagree, i think it works well), but belive me, it's very much intentially.


It doesnt matter if the shot is instant or not, what matters is if both of them fired and hit at the same time, in a later cycle the state of both units should be set to dead.

Basing who dies first on who is on top of the stack, later in the queue or any other code-only related situation is a design flaw, unless it is related to a feature of the game, such as "the veteran will always prevail".


That's just what i said, it's a choice of design.

Check few posts back and you'll see I was making the same argument you are. In theory, yes, the common paradigm is something like what you are talking about, but it's ofcourse situational. There is more then following code standards to take in to consideration.

I am trying to think about other RTS games in my head atm (like C&C, AoE, WC (same publisher though), dune etc) and from memory I think they all use the same paradigm. I can't recall a situation were two units kill each other in a 1on1 fight with instant shots.

What do you think?
FeyFey
Profile Joined September 2010
Germany10114 Posts
July 26 2012 13:53 GMT
#172
so the newest units actions come into effect first, this is pretty common, thats why you add small random delays to stuff like this. Understandable that they left it out with marine kiting being so important. Adding a failsave for this would make instant attack units stronger, and they are already favored through the ai.
Oh and sc2 has randomizers, burrow has a random timer to it.
renkin
Profile Joined July 2010
France249 Posts
July 26 2012 13:58 GMT
#173
So how can we use this discovery efficiently ?
By putting the younger units in front lines and the older ones behind ?

I guess 4gates micro wars gain a new dimension...
Maybe it could influence the outcome of zerglings vs zerglings battles ?
Ayoeme
Profile Joined November 2011
Latvia59 Posts
July 26 2012 15:28 GMT
#174
Agree with alot what AlanSmithee said. Also this:
+ Show Spoiler +
On July 26 2012 09:20 NB wrote:
for a random thread like this there are quite a handsome first post in the front page. Mod definitely should check IP to make sure there is no smurfing involved.

About the topic: not only queue order is a given, there is also network environment to take in hand. If i send a command from US East to Korea sever, it will be much slower than a guy sending a same command from Korea itself. Given that we have a method to sync up our action, the data procession time will be different along with our computer specs etc... To much random element and the lack of LAN environment simply make the problem inconclusive. Pretty much /thread

made me vomit. Can't even comprehend the amount of crap and unrelated "theory" in this post.

I guess it would be possible to run the update of the entire structure, which then calls for separate functions that don't collide while processing after the update, destroying your CPU in the process. Though i might be wrong as calling a function is an action by itself.

On a more serious note, to answer a question this wouldn't really influence infestors as neural parasite projectile has a few random assets to it. And yes, while playwise this information isn't really breathtaking, it still is really interesting. Good job.
For some things, reason is not necessary.
X3GoldDot
Profile Joined August 2011
Malaysia3840 Posts
July 26 2012 15:31 GMT
#175
On July 26 2012 22:58 renkin wrote:
So how can we use this discovery efficiently ?
By putting the younger units in front lines and the older ones behind ?

I guess 4gates micro wars gain a new dimension...
Maybe it could influence the outcome of zerglings vs zerglings battles ?


no effect whatsoever on anything except for spellcaster wars, all units have a random delay(extremely small) added to their normal attack, which will seperate the winners of a given battle.
prime/startale/[SexComaZerg, RoyalRoaderZerg, SirLifealot] ingame ID = GoodGame
CzaRyMaRy
Profile Joined July 2012
2 Posts
Last Edited: 2012-07-26 15:44:01
July 26 2012 15:43 GMT
#176
I checked it out and it's the same with zerglings and ultralisks - the younger always wins. BTW Queens are interesting exception - they both die.
Ayoeme
Profile Joined November 2011
Latvia59 Posts
Last Edited: 2012-07-26 15:53:09
July 26 2012 15:52 GMT
#177
On July 27 2012 00:43 CzaRyMaRy wrote:
I checked it out and it's the same with zerglings and ultralisks - the younger always wins. BTW Queens are interesting exception - they both die.

palm-to-the-face'ed when read the thing about queens. Trolling, perhaps.
Although i know not the specifics of attack delays, the thing you said about zerglings and ultras should not be accurate, because of the mentioned attack delay, and the younger one should have a win-advantage of the likes of 50001-to-49999.
For some things, reason is not necessary.
Cuce
Profile Joined March 2011
Turkey1127 Posts
July 26 2012 15:54 GMT
#178
hmm
ıntresting, it would be wild thing if random attack delays are using a seed base on production times.
64K RAM SYSTEM 38911 BASIC BYTES FREE
roemy
Profile Joined April 2010
Germany432 Posts
July 27 2012 10:26 GMT
#179
cute find, but i'm not too worried. unless someone has an eidetic memory combined with an awesome eye for a shellgame of 'find the oldest caster unit in your saved group', i don't see a lot of applications for this little gem -.-

but i do think it's not the most elegant mechanic. i would prefer a tiny spell duration so both units would kill each other.

off topic: also: add a tiny attack 'delay' to siege tanks so they overkill dropped zealots again ^^
rock is fine.. paper could need a buff, but scissors have to be nerfed
Prillan
Profile Joined August 2011
Sweden350 Posts
July 27 2012 10:56 GMT
#180
On July 26 2012 05:12 Yegwen wrote:
http://www.twitch.tv/yegwen We are live and testing this for all other units now if you are as intrigued as we are!

Standard attacks have a short random delay.
You should test all other spells (yamato, snipe, etc.)
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
Prev 1 7 8 9 10 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 33m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 161
StarCraft: Brood War
Calm 7153
GuemChi 4385
Britney 1630
EffOrt 1383
Mini 847
BeSt 533
ggaemo 373
Light 310
firebathero 262
Sexy 112
[ Show more ]
Sharp 109
Zeus 99
Barracks 66
Hyun 61
Killer 56
Pusan 48
ToSsGirL 48
Backho 41
PianO 39
soO 30
Movie 30
IntoTheRainbow 22
Hm[arnc] 22
zelot 21
Rock 21
Terrorterran 20
ajuk12(nOOB) 10
Sacsri 8
Dota 2
Gorgc4743
qojqva1748
syndereN375
monkeys_forever161
420jenkins144
Counter-Strike
olofmeister961
Super Smash Bros
Mew2King163
Other Games
singsing2028
B2W.Neo1110
hiko1039
Liquid`RaSZi872
Beastyqt518
Happy281
Hui .243
ceh9201
FrodaN172
elazer105
ArmadaUGS92
Liquid`VortiX82
Livibee64
Trikslyr33
KnowMe8
Organizations
Other Games
WardiTV499
Dota 2
PGL Dota 2 - Main Stream141
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 33
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis1983
• TFBlade1322
• Jankos1271
Other Games
• WagamamaTV400
• Shiphtur179
Upcoming Events
Monday Night Weeklies
33m
RotterdaM161
Replay Cast
8h 33m
Sparkling Tuna Cup
18h 33m
Afreeca Starleague
18h 33m
Snow vs Flash
WardiTV Invitational
19h 33m
SHIN vs Nicoract
Solar vs Nice
GSL
1d 18h
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
[ Show More ]
Escore
3 days
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
5 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
6 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.