• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:39
CEST 01:39
KST 08:39
  • 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
Maestros of the Game: Week 1/Play-in Preview9[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9
Community News
Weekly Cups (August 25-31): Clem's Last Straw?6Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris45Weekly Cups (Aug 11-17): MaxPax triples again!15Weekly Cups (Aug 4-10): MaxPax wins a triple6
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (August 25-31): Clem's Last Straw? Maestros of the Game: Week 1/Play-in Preview Weekly Cups (Aug 11-17): MaxPax triples again! 2024/25 Off-Season Roster Moves
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Monday Nights Weeklies LiuLi Cup - September 2025 Tournaments 🏆 GTL Season 2 – StarCraft II Team League $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
Custom Maps
External Content
Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies
Brood War
General
Victoria gamers Starcraft at lower levels TvP ASL20 General Discussion BGH Auto Balance -> http://bghmmr.eu/ Pros React To: herO's Baffling Game
Tourneys
[ASL20] Ro24 Group F [IPSL] CSLAN Review and CSLPRO Reimagined! Small VOD Thread 2.0 Cosmonarchy Pro Showmatches
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Path of Exile Warcraft III: The Frozen Throne
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
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1464 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 States24698 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 States14896 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
Singapore66201 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
BSL Team Wars
21:30
Round 5
Team Dewalt vs Team Sziky
ZZZero.O43
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 194
CosmosSc2 50
ProTech39
SpeCial 11
Ketroc 1
StarCraft: Brood War
Artosis 773
Shuttle 619
sSak 81
Aegong 48
ZZZero.O 43
League of Legends
Reynor99
Super Smash Bros
AZ_Axe119
hungrybox90
Other Games
tarik_tv8317
summit1g8091
Grubby2260
shahzam633
C9.Mang0217
Maynarde122
Livibee69
Mew2King61
JuggernautJason27
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Pr0nogo 9
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22325
• WagamamaTV528
Other Games
• imaqtpie1231
Upcoming Events
Replay Cast
22m
Sparkling Tuna Cup
10h 22m
PiGosaur Monday
1d
LiuLi Cup
1d 11h
Replay Cast
2 days
The PondCast
2 days
RSL Revival
2 days
Maru vs SHIN
MaNa vs MaxPax
OSC
3 days
MaNa vs SHIN
SKillous vs ShoWTimE
Bunny vs TBD
Cham vs TBD
RSL Revival
3 days
Reynor vs Astrea
Classic vs sOs
BSL Team Wars
3 days
Team Bonyth vs Team Dewalt
[ Show More ]
CranKy Ducklings
4 days
RSL Revival
4 days
GuMiho vs Cham
ByuN vs TriGGeR
Cosmonarchy
4 days
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
[BSL 2025] Weekly
4 days
RSL Revival
5 days
Cure vs Bunny
Creator vs Zoun
BSL Team Wars
5 days
Team Hawk vs Team Sziky
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS1
SEL Season 2 Championship
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
Maestros of the Game
Sisters' Call Cup
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

LASL Season 20
2025 Chongqing Offline CUP
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
EC S1
BLAST Rivals Fall 2025
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open 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.