• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:56
CET 23:56
KST 07:56
  • 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
TL.net Map Contest #21: Winners8Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Winners Starcraft, SC2, HoTS, WC3, returning to Blizzcon! Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile Dawn of War IV Nintendo Switch Thread
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1459 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 States24735 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
LAN Event
18:00
Stellar Fest: Day 1
Gerald vs Harstem
ByuN vs Maplez
FuturE vs FoxeRLIVE!
Zoun vs Mixu
ComeBackTV 652
UrsaTVCanada496
CranKy Ducklings246
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 100
CosmosSc2 38
StarCraft: Brood War
White-Ra 257
NaDa 12
Other Games
tarik_tv10127
Grubby4603
FrodaN572
fl0m454
shahzam388
Liquid`Hasu277
ceh9205
mouzStarbuck135
C9.Mang0129
ZombieGrub48
PPMD24
Organizations
Counter-Strike
PGL140
StarCraft 2
angryscii 17
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 57
• musti20045 34
• RyuSc2 27
• Adnapsc2 9
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• HerbMon 21
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• imaqtpie3013
Other Games
• Shiphtur214
Upcoming Events
Korean StarCraft League
4h 5m
CranKy Ducklings
11h 5m
IPSL
19h 5m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
19h 5m
BSL 21
21h 5m
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
1d
Sparkling Tuna Cup
1d 11h
WardiTV Korean Royale
1d 13h
IPSL
1d 19h
JDConan vs WIZARD
WolFix vs Cross
LAN Event
1d 19h
[ Show More ]
BSL 21
1d 21h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
2 days
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
4 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
5 days
The PondCast
5 days
RSL Revival
5 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
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.