• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:38
CEST 16:38
KST 23: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
[ASL19] Finals Recap: Standing Tall8HomeStory 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 ASL44Weekly 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 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? Weekly Cups (June 23-29): Reynor in world title form?
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
BGH Auto Balance -> http://bghmmr.eu/ Help: rep cant save Flash Announces Hiatus From ASL BW General Discussion [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread 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 Russo-Ukrainian War Thread US Politics Mega-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
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 570 users

Why UMS replays often desync

Blogs > Bill307
Post a Reply
1 2 3 Next All
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 States24665 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
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1h 22m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 563
ProTech72
StarCraft: Brood War
Britney 46743
Rain 4332
Sea 3510
Jaedong 2300
EffOrt 1486
ZerO 669
BeSt 456
Stork 408
actioN 258
ToSsGirL 221
[ Show more ]
Snow 215
Mong 197
Light 146
hero 110
Shinee 80
Sharp 75
Mind 51
sSak 47
Pusan 46
Rush 39
Sea.KH 37
Nal_rA 26
PianO 23
Noble 17
Terrorterran 17
yabsab 14
GoRush 13
ajuk12(nOOB) 12
Sacsri 11
SilentControl 10
JulyZerg 9
sorry 9
soO 7
IntoTheRainbow 6
zelot 4
scan(afreeca) 2
Dota 2
qojqva4129
XcaliburYe429
Counter-Strike
markeloff404
byalli263
edward74
kRYSTAL_33
Super Smash Bros
Mew2King118
Other Games
hiko1129
DeMusliM788
Lowko434
crisheroes395
Happy322
ArmadaUGS93
KnowMe75
Pyrionflax63
QueenE39
ZerO(Twitch)19
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 7
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 54
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 13
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis7619
• TFBlade929
Upcoming Events
WardiTV European League
1h 22m
ByuN vs NightPhoenix
HeRoMaRinE vs HiGhDrA
Krystianer vs sebesdes
MaxPax vs Babymarine
SKillous vs Mixu
ShoWTimE vs MaNa
Replay Cast
9h 22m
RSL Revival
19h 22m
herO vs SHIN
Reynor vs Cure
OSC
22h 22m
WardiTV European League
1d 1h
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
1d 1h
Korean StarCraft League
1d 12h
CranKy Ducklings
1d 19h
RSL Revival
1d 19h
FEL
2 days
[ Show More ]
Sparkling Tuna Cup
2 days
RSL Revival
2 days
FEL
2 days
BSL: ProLeague
3 days
Dewalt vs Bonyth
Replay Cast
4 days
Replay Cast
4 days
The PondCast
5 days
Replay Cast
6 days
RSL Revival
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
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
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.