Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: wha does it mean by desync?
wha does it mean by desync?
May 9 2008, 4:54 pm
By: ekddl4578  

May 9 2008, 4:54 pm ekddl4578 Post #1



I see this word many times whenever I read posts but I don' know what it is

can anyone tell me?



None.

May 9 2008, 5:20 pm Kenoli Post #2



Normally everything in a multiplayer game is synced. Everything you see is exactly the same as what the other players see.
If something changes on your computer, but not the other players' computers, the game is desynced, and players get disconnected.

This sort of thing can happen when using EUD triggers. When they activate on one person's computer that information isn't necessarily shared to other people.



None.

May 9 2008, 6:30 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

synch = synchronized
desynchronizations can also happen through bnet bugs often caused by bad connections




May 9 2008, 8:56 pm O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Here is a scenario related to EUDs:
Say you have a trigger that will create a unit if they look at a specific area on the map. Screen position is not shared data between all players. So say you, but nobody else, looks at that specific area. The unit will create for you, but because the screen coordinates for the other players to not make the condition true not for them. You're StarCraft says there is an extra unit, but the other player's StarCraft says otherwise. So you simply drop out of the game.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 10 2008, 12:26 am ekddl4578 Post #5



thanks I get it now and is there any like a method prevents from getting dropped by synchronization?



None.

May 10 2008, 1:11 am Kenoli Post #6



Preventing desync from disconnecting players? I doubt that's even possible.



None.

May 10 2008, 2:10 am stickynote Post #7



Don't use EUD's.



None.

May 10 2008, 2:30 am DT_Battlekruser Post #8



I swear method on this was discussed back when EUDs were discovered, but I don't remember.. common sense seems to dictate that you cannot prevent desyncs when they occur.



None.

May 11 2008, 12:22 pm Brontobyte Post #9



Quote from O)FaRTy1billion[MM]
Here is a scenario related to EUDs:
Say you have a trigger that will create a unit if they look at a specific area on the map. Screen position is not shared data between all players. So say you, but nobody else, looks at that specific area. The unit will create for you, but because the screen coordinates for the other players to not make the condition true not for them. You're StarCraft says there is an extra unit, but the other player's StarCraft says otherwise. So you simply drop out of the game.

I still don't get the fact that StarCraft would just create the unit for that one player. Couldn't you just have the EUD trigger for each player in the game? If it creates it for the one player, why would they become disconnected?



None.

May 11 2008, 6:18 pm DT_Battlekruser Post #10



In the case of an EUD condition that is local, then each player will see a different state of that condition. The trigger is on every player's computer, but the condition only shows true on one person's computer. Their Starcraft then executes the trigger independently, creating a unit only for them and resulting in a desync.

The way Starcraft was written, it relies on the fact that, barring any keyboard or mouse input, two games running on two separate machines will execute identically.




None.

May 11 2008, 9:27 pm Brontobyte Post #11



So then how do triggers that require a player to move in to a specific location not cause a dysnc, or do you mean just EUD triggers?



None.

May 11 2008, 9:56 pm DT_Battlekruser Post #12



During normal operation, the location of all units on the map is the same for every client machine. Therefore, a trigger with conditions "Unit is brought to location" will execute in an identical fashion on every client machine simultaneously, thus preventing a desync (note that if the frame count of any client machine falls out of sync, the "lag" window is displayed while waiting for it to catch up).

Starcraft was not designed to execute triggers based on local conditions like screen position, and so a trigger with screen position for a condition will execute asynchronously on one machine only, causing a desync. It is not all EUD conditions that desync, only ones that are conditions Starcraft was never meant to handle.




None.

May 11 2008, 10:08 pm Brontobyte Post #13



Ok I get it now. You can't have a condition that would only apply to ones specific computer's ram. :D Thanks!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
[2024-5-16. : 5:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
Please log in to shout.


Members Online: Ultraviolet, 5giannae9485hM3, fithplanet, 3emmac8691yM7, Sylph-Of-Space