• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:51
CET 14:51
KST 22:51
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Team TLMC #5: Winners Announced! What's the best tug of war? The Grack before Christmas Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies
Tourneys
OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament Winter Warp Gate Amateur Showdown #1
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
BW General Discussion How soO Began His ProGaming Dreams Klaucher discontinued / in-game color settings BGH Auto Balance -> http://bghmmr.eu/ Recommended FPV games (post-KeSPA)
Tourneys
[BSL21] LB SemiFinals - Saturday 21:00 CET [BSL21] WB & LB Finals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
12 Days of Starcraft US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread How Does UI/UX Design Influence User Trust?
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1298 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 States24750 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 States14899 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
Singapore66357 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 6h 9m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 159
LamboSC2 94
trigger 61
SKillous 16
StarCraft: Brood War
Britney 58307
Jaedong 1844
Shuttle 1728
Rain 1154
ggaemo 432
hero 427
firebathero 376
Hyuk 317
Rush 274
Larva 210
[ Show more ]
Last 149
Sharp 135
Mong 67
Movie 47
Terrorterran 29
JYJ 28
ToSsGirL 27
Rock 17
JulyZerg 15
SilentControl 8
Sexy 8
eros_byul 0
Dota 2
qojqva1529
XcaliburYe924
BananaSlamJamma263
Fuzer 235
febbydoto48
League of Legends
C9.Mang0355
Counter-Strike
allub286
Heroes of the Storm
Khaldor196
Other Games
Grubby5935
singsing2113
B2W.Neo1632
Lowko270
Hui .259
RushiSC4
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• StrangeGG 66
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2586
• Nemesis1649
Upcoming Events
BSL 21
6h 9m
Sziky vs eOnzErG
Sparkling Tuna Cup
20h 9m
Krystianer vs Classic
TriGGeR vs SKillous
Percival vs Ryung
ByuN vs Nicoract
OSC
1d 4h
BSL 21
1d 6h
Cross vs Dewalt
Replay Cast
1d 19h
Wardi Open
1d 22h
OSC
2 days
Solar vs MaxPax
ByuN vs Krystianer
Spirit vs TBD
OSC
5 days
Korean StarCraft League
6 days
OSC
6 days
Liquipedia Results

Completed

Escore Tournament S1 - W1
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL Season 21
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025

Upcoming

CSL 2025 WINTER (S19)
Escore Tournament S1 - W2
Escore Tournament S1 - W3
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.