• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:25
CEST 07:25
KST 14:25
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL50Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster How does the number of casters affect your enjoyment of esports?
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL Help: rep cant save Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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 Russo-Ukrainian War Thread Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 652 users

Why UMS replays often desync

Blogs > Bill307
Post a Reply
Normal
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
Last Edited: 2010-01-05 14:50:29
January 05 2010 14:33 GMT
#1
This one's for all the UMS map-makers out there. You may have noticed that replays of UMS maps often "don't work". More specifically, if you play them back at a different speed, the replay desyncs.

So far, I have noticed two causes of these desyncs.


Cause #1: the Countdown Timer reaches 0. You see, the Countdown Timer does not speed up when you speed up a replay. So obviously you can't rely on it if you want replays to work on your map. But there's more to it: even if you have no triggers that depend on the Countdown Timer, it can still desync your replay when it reaches 0! This is because when the timer reaches 0, it causes SC to update all the triggers immediately, out of sync with its usual periodic updates.

Solution: don't let the Countdown Timer reach 0. Generally, you can avoid this by adding a condition to pause the timer when it is less than 3, then unpause it whenever you reset the timer.


Cause #2: using Wait actions. These suffer from the same problems as the Countdown Timer: they don't speed up when the replay is sped up, and they cause SC to update all triggers when the wait ends.

Solution: never use Wait actions.


Now, you might be wondering: if you can't rely on the Countdown Timer, and you can't use Wait actions, then how do you measure time? Here's an example of how to do this: first, pick an unused unit, like Zerg Cerebrate, and rename it to iCountdown. Next, add the following triggers:

Trigger 1:
Conditions:
<whenever you want to start the countdown>
Actions:
+ Set deaths for Current Player: set to 60 for iCountdown.

Trigger 2:
Conditions:
+ Current Player has suffered exactly 1 deaths of iCountdown.
Actions:
<stuff happens at the end of the countdown>

Trigger 3:
Conditions:
+ Current Player has suffered at least 1 deaths of iCountdown.
Actions:
+ Set deaths for Current Player: subtract 1 for iCountdown.


These triggers will give you a countdown for 60 game ticks, which is exactly the build time of a Command Center.

Note: this countdown will affect only the Current Player: if you want it to affect all players, you need to set the # of deaths of iCountdown for All Players and make sure All Players run the other two triggers. In this way, each player will decrement their own # of deaths, and check if their own # of deaths equals 1, independently of the others.

Also note: the order of the triggers is important. If you put the subtract-1 trigger above the equals-1 trigger, then the countdown will end 1 tick early. If you put the countdown-start trigger below the others, then the countdown will end 1 tick late.


And that's how you can make UMS maps with replays that won't desync.

*****
paper
Profile Blog Joined September 2004
13196 Posts
January 05 2010 14:43 GMT
#2
Hmm, I wonder what inspired you to make this :3
Hates Fun🤔
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
January 05 2010 14:54 GMT
#3
I started something new over the break.
Ahzz
Profile Joined May 2007
Finland780 Posts
January 05 2010 15:08 GMT
#4
wow that picture is really impressive, and I think I understand why you want the replays to work properly lol
micronesia
Profile Blog Joined July 2006
United States24666 Posts
January 05 2010 15:14 GMT
#5
If you don't mind me asking, how did you generate the map? Did you make it by hand or use some tool to convert an image into tiles or something?
ModeratorThere are animal crackers for people and there are people crackers for animals.
alffla
Profile Blog Joined November 2005
Hong Kong20321 Posts
January 05 2010 15:33 GMT
#6
holy shit epic map
Graphicssavior[gm] : What is a “yawn” rape ;; Masumune - It was the year of the pig for those fucking defilers. Chill - A clinic you say? okum: SC without Korean yelling is like porn without sex. konamix: HAPPY BIRTHDAY MOMMY!
andiCR
Profile Blog Joined March 2008
Costa Rica2273 Posts
January 05 2010 15:36 GMT
#7
On January 06 2010 00:33 alffla wrote:
holy shit epic map

+1

Also, awesome guide man. This should make it to liquipedia somehow
Nightmare1795 wrote: I played a guy in bronze who said he was Japanese. That was the only game I ever dropped a nuke, which was purely coincidental.
Altair
Profile Joined August 2009
243 Posts
January 05 2010 15:52 GMT
#8
On January 05 2010 23:54 Bill307 wrote:
I started something new over the break.

Epic diplomacy ums coming soon?!! xD
Alur
Profile Blog Joined March 2008
Denmark3900 Posts
January 05 2010 16:01 GMT
#9
On January 05 2010 23:54 Bill307 wrote:
I started something new over the break.

American bias! Those are some puny himalayas/alps. Ural doesnt get any love at all =(
AKA No can Dazzle | https://www.youtube.com/watch?v=PlTpX7z3Pok
TL+ Member
Jyvblamo
Profile Blog Joined June 2006
Canada13788 Posts
January 05 2010 16:04 GMT
#10
Oh sweet, keep us updated on this new map. :D
KOFgokuon
Profile Blog Joined August 2004
United States14893 Posts
January 05 2010 16:05 GMT
#11
<3 bill
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 05 2010 16:12 GMT
#12
If you can't use waits, you can't use Hyper Triggers either. Or do those miraculously work just fine? (after all they use very special waits). For the average multiplayer UMS hypers aren't very useful, but the more sophisticated maps often rely heavily on them.

Wow, I once made a world map that looked almost identical to this one. I had more highground in Asia and no Uluru in Australia though
If you have a good reason to disagree with the above, please tell me. Thank you.
538
Profile Blog Joined November 2008
Hungary3932 Posts
January 05 2010 16:38 GMT
#13
I've never meddled myself with UMS mapmaking, but this info seems very insightful, good job. And the map looks badass too, I'm curious what will it turn into!
BW fighting!
Roffles *
Profile Blog Joined April 2007
Pitcairn19291 Posts
January 05 2010 16:44 GMT
#14
Ridiculous. I'd love to play worldwide diplo. That'd be amazingly sick.
God Bless
da_head
Profile Blog Joined November 2008
Canada3350 Posts
January 05 2010 17:00 GMT
#15
wow sick map
When they see MC Probe, all the ladies disrobe.
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
January 05 2010 17:03 GMT
#16
HOLY SHIT ANTARCTICA MELTED
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
Last Edited: 2010-01-05 17:37:36
January 05 2010 17:33 GMT
#17
On January 06 2010 00:14 micronesia wrote:
If you don't mind me asking, how did you generate the map? Did you make it by hand or use some tool to convert an image into tiles or something?

About 10 hours of trying to match a picture of the world + various continent-specific images.

Thanks for all the comments. I'm pretty amazed by how well it turned out too, to be honest. ^^;;


Honestly, I don't know crap about what the terrain looks like in ANY part of the world. I was just basing the cliffs off of satellite terrain maps of the various continents and guessing where the mountains ended. I don't think I found a good one for Russia, which is why it's all flat right now.


I started working on it after a good game of Risk (the board game). I decided the existing Risk UMSes could be a lot better if they incorporated more micro options and other things, so I'm combining Risk with the micro aspects of Team Micro Melee. I'm also hoping to make all 3 races play a little differently from each other. Furthermore, each continent gives different bonus units, so you have to take that into account as well when you're making your game plan.

All of these asymmetries will hopefully make every 4-8 player game strategically different. This is in contrast to Team Micro Melee, where there's not a whole lot of variety in the strategies used.


As for hyper triggers, I assume they desync replays as well, but haven't verified it. Since all my maps rely on SC's fixed rate of trigger updating for timing, I wouldn't use hyper triggers anyway.
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
January 05 2010 17:40 GMT
#18
On January 06 2010 02:03 Grobyc wrote:
HOLY SHIT ANTARCTICA MELTED

It's a hidden message about the dangers of global warming!
drug_vict1m
Profile Blog Joined May 2007
844 Posts
January 05 2010 17:50 GMT
#19
really nice but...
i demand a hatchery on cuba!
One must feel chaos within, to give birth to a dancing star.
konadora *
Profile Blog Joined February 2009
Singapore66156 Posts
Last Edited: 2010-01-05 17:55:13
January 05 2010 17:53 GMT
#20
Wait, never use Wait trigger? Then how are we supposed to use hyper triggers?

Edit: Oh, it was addressed above
POGGERS
sixghost
Profile Blog Joined November 2007
United States2096 Posts
January 05 2010 18:06 GMT
#21
On January 06 2010 02:03 Grobyc wrote:
HOLY SHIT ANTARCTICA MELTED

Hawaii must have been submerged as well
mG.sixghost @ iCCup || One ling, two ling, three ling, four... Camp four gas, then ultra-whore . -Saracen
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 05 2010 18:34 GMT
#22
Hypers are just as good for timing stuff, but more precise. Except for a short break every 2 days or so (depending on the number of hyper triggers you use, and no, there probably are no UMS maps that run for 2 days) they come in a fixed rate, too.
But as long as you don't need them you shouldn't use them anyways.
If you have a good reason to disagree with the above, please tell me. Thank you.
integral
Profile Blog Joined February 2009
United States3156 Posts
Last Edited: 2010-01-05 19:24:55
January 05 2010 19:23 GMT
#23
It was said the other way, but I thought I would point out that even replays with a countdown timer and hyper triggers will not desynchronize as long as you do not alter the speed.

GL with your map (looks like diplo or risk), but I hope you focus on balance and gameplay just as much as you worked on terrain. The best diplo map is currently infinity 2.8 and the diplo community basically had to fight the mapmaker to even get it half-decent. Check out some of the old version suggestion threads on irongaming.net if you want to see what I mean.
ColdLava
Profile Blog Joined May 2003
Canada1673 Posts
January 05 2010 19:58 GMT
#24
Dude bill knows what he's doing, and balance and gameplay is always the best part of his UMS games. Team Micro Melee is one of the most fun UMS's I've ever played.
anch
Profile Blog Joined June 2006
United States5457 Posts
January 05 2010 20:29 GMT
#25
Taiwan is in there
that better not be Philippine
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
January 05 2010 20:37 GMT
#26
very good stuff.
..and then I would, ya know, check em'. (Aka SpoR)
Pyrrhuloxia
Profile Blog Joined May 2008
United States6700 Posts
January 05 2010 20:55 GMT
#27
On January 06 2010 02:53 konadora wrote:
Wait, never use Wait trigger?

>:-/
Saturnize
Profile Blog Joined November 2009
United States2473 Posts
January 05 2010 20:57 GMT
#28
On January 06 2010 02:40 Bill307 wrote:
Show nested quote +
On January 06 2010 02:03 Grobyc wrote:
HOLY SHIT ANTARCTICA MELTED

It's a hidden message about the dangers of global warming!


Lol.... Global Warming lol.
"Time to put the mustard on the hotdog. -_-"
Chuiu
Profile Blog Joined June 2003
3470 Posts
January 05 2010 21:10 GMT
#29
Well as a UMS map maker I really don't care much if replays don't work lol. Most of the maps I make use 0 waits to speed up trigger actions so I automatically butcher replays by that alone.
♞
cgrinker
Profile Blog Joined December 2007
United States3824 Posts
January 05 2010 21:15 GMT
#30
Awesomest thread I've seen. Thanks Bill!
Triple7
Profile Joined April 2009
United States656 Posts
January 05 2010 21:54 GMT
#31
Is that map round (meaning cylindrical)?!?!
지지이이이이이이이이이이이
flag
Profile Blog Joined July 2007
United States228 Posts
January 05 2010 22:14 GMT
#32
hyper triggers do not desynch btw
Insane
Profile Blog Joined November 2003
United States4991 Posts
Last Edited: 2010-01-05 22:21:50
January 05 2010 22:20 GMT
#33
How is 60 game ticks the build time of a CC?
There are like 22 game ticks per second -_-

e: oh, I see you're using game tick to mean the time it takes between trigger executions, not the ticks as used by replays.
Methos
Profile Blog Joined January 2009
United States206 Posts
January 05 2010 22:22 GMT
#34
Very insightful. I hated it so much when I just completed an epic UMS and then the replay sucks )=
blue_arrow
Profile Blog Joined July 2008
1971 Posts
January 05 2010 23:53 GMT
#35
damn that is some sexy stuff bill
| MLIA | the weather sucks dick here
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
Last Edited: 2010-01-06 02:04:59
January 06 2010 02:03 GMT
#36
On January 06 2010 07:20 HnR)Insane wrote:
How is 60 game ticks the build time of a CC?
There are like 22 game ticks per second -_-

e: oh, I see you're using game tick to mean the time it takes between trigger executions, not the ticks as used by replays.

Mmm bad language on my part. >_< I should've said game seconds. But yeah, I measured it and a CC builds in exactly the same amount of time as 60 trigger executions.

Curiously, the equivalent countdown timer is about 114 "seconds". (On Fastest speed, anyway.)
b3h47pte
Profile Blog Joined May 2007
United States1317 Posts
January 06 2010 02:21 GMT
#37
On January 06 2010 02:40 Bill307 wrote:
Show nested quote +
On January 06 2010 02:03 Grobyc wrote:
HOLY SHIT ANTARCTICA MELTED

It's a hidden message about the dangers of global warming!


STOP TRYING TO SPOON-FEED ME SUBLIMAL MESSAGES ABOUT GLOBAL WARMING!
ahha jk. wow i've read the Avatar thread too much.

awesome looking map (:
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
January 07 2010 02:10 GMT
#38
Those Asian archons man...
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Kenpachi
Profile Blog Joined August 2009
United States9908 Posts
January 07 2010 02:13 GMT
#39
Wait triggers are for nubs.
high five!~
Nada's body is South Korea's greatest weapon.
ieatkids5
Profile Blog Joined September 2004
United States4628 Posts
January 07 2010 02:50 GMT
#40
you should build a ums scenario that reenacts everything since 5000 bc
Saracen
Profile Blog Joined December 2007
United States5139 Posts
January 07 2010 04:26 GMT
#41
Oh, very cool. Do you know if Cause #2 includes hypertriggers as the only instance of the Wait action?
Like:
Always
Wait for 0 milliseconds (x63)
Preserve Trigger
And then using death timers.

And omg mountain bias (Rockies so big) .
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
January 07 2010 07:12 GMT
#42
On January 07 2010 11:10 Grobyc wrote:
Those Asian archons man...

Yeah, I had to nerf them a bit. The Russian Ghosts, too.

Check your PMs for beta 2. Give it to whoever you want and if you get a chance to try it ('cause I'm gonna be busy tmrw), tell me if there are any problems.
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
January 07 2010 07:59 GMT
#43
Change of plans: I'm off work tomorrow so I'll probably test the map during the afternoon, if I can find people.

Post or PM me if you're interested.
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
January 09 2010 03:56 GMT
#44
Bump.

Currently looking for testers for the Risk/Diplo micro map. Come to "op irc" on iccup.
Jyvblamo
Profile Blog Joined June 2006
Canada13788 Posts
January 09 2010 04:02 GMT
#45
Everyone get on iccup. :o
EvilTeletubby
Profile Blog Joined January 2004
Baltimore, USA22253 Posts
January 10 2010 05:37 GMT
#46
*bump* Played the risk map, was fun! We need to play more games!
Moderatorhttp://carbonleaf.yuku.com/topic/408/t/So-I-proposed-at-a-Carbon-Leaf-concert.html ***** RIP Geoff
Ian Ian Ian
Profile Blog Joined August 2009
915 Posts
Last Edited: 2010-01-20 21:37:50
January 20 2010 15:34 GMT
#47
I'm down for playing this! I'm sure I can get a few friends as well. ianianian @useast

So doing this when I get home today :D

Anyone online and want to play now?>
gongryong
Profile Blog Joined October 2010
Korea (South)1430 Posts
November 23 2010 08:16 GMT
#48
hey! NICE EPIC MAP!

just want to ask whatever happened to it? haven't bumped on it in iCCup yet.
JAEDONG ÜBERBONJWA!
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 4h 35m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 296
ProTech68
StarCraft: Brood War
Sea 2392
Zeus 62
Aegong 59
Noble 48
LuMiX 1
Dota 2
monkeys_forever509
NeuroSwarm192
League of Legends
JimRising 829
Counter-Strike
Stewie2K87
Other Games
summit1g8886
shahzam1224
Organizations
Other Games
BasetradeTV65
StarCraft: Brood War
UltimateBattle 23
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Berry_CruncH188
• Hupsaiya 59
• practicex 43
• Sammyuel 21
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Diggity26
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Lourlo1745
• Rush1258
• Stunt464
Upcoming Events
RSL Revival
4h 35m
herO vs SHIN
Reynor vs Cure
OSC
7h 35m
WardiTV European League
10h 35m
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
10h 35m
Big Brain Bouts
10h 35m
Korean StarCraft League
21h 35m
CranKy Ducklings
1d 4h
RSL Revival
1d 4h
FEL
1d 10h
RSL Revival
2 days
[ Show More ]
FEL
2 days
BSL: ProLeague
2 days
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
4 days
The PondCast
5 days
Replay Cast
5 days
RSL Revival
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
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

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
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.