Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Desync Bug, Help Please
Desync Bug, Help Please
Sep 11 2016, 5:46 pm
By: Excalibur  

Sep 11 2016, 5:46 pm Excalibur Post #1

The sword and the faith

All,
My Galactic Conquest map has had a desync bug for some time now. I thought I had fixed it by doing a safe create for my unit morphs but evidently this is not the case. Strange things noted so far:
-SCV lost its shadow around time of desync.
-Sometimes coincides with a Cannot Create Unit (Not Cannot Create More Units.) error.

Any help would be appreciated. The map can be downloaded here. I can provide an open copy to anyone who needs one.




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Sep 11 2016, 7:37 pm jjf28 Post #2

Cartography Artisan

Can this bug be reproduced on demand?
Does it happen at a specific time/only after a certain point?

Have you tried removing all doodads and sprites? While deafeningly unintuitive I have found some to cause desyncs. Also try cutting any oddities you can (extended units/players, EUDs, any sounds, cloak hacks, etc.) to check if they are responsible.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Sep 11 2016, 8:00 pm Excalibur Post #3

The sword and the faith

Quote from jjf28
Can this bug be reproduced on demand?
Does it happen at a specific time/only after a certain point?

Have you tried removing all doodads and sprites? While deafeningly unintuitive I have found some to cause desyncs. Also try cutting any oddities you can (extended units/players, EUDs, any sounds, cloak hacks, etc.) to check if they are responsible.
No doodads or sprites. No cloaks, no EUDs, no sounds.

Bug happens about 30mins in to a given game as players are massing flying units that are morphing from other units.

Happens late game every game but cannot be reproduced on demand exactly.




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Sep 11 2016, 9:36 pm Zoan Post #4

Math + Physics + StarCraft = Zoan

Have you changed any of the player or computer colors?



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Sep 11 2016, 9:59 pm NudeRaider Post #5

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

Not causing desyncs but crashes: Do you have build or morph times 0 or almost 0?




Sep 11 2016, 11:32 pm Dem0n Post #6

ᕕ( ᐛ )ᕗ

I think by morphing he means switching units. There are only air units to play with, so any ground units get turned into air units.




Sep 16 2016, 11:41 pm Excalibur Post #7

The sword and the faith

Quote from Dem0n
I think by morphing he means switching units. There are only air units to play with, so any ground units get turned into air units.
This is correct.

Quote from Zoan
Have you changed any of the player or computer colors?
Yes and I'm also using randomize start location for force 1. Does this cause issues?




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Sep 17 2016, 2:58 am jjf28 Post #8

Cartography Artisan

You've observed it being related to CCMU, so try confirming or ruling this out by enforcing a unit cap (something like 1650) within triggers, see if that stops the desyncs.




Sorry I don't have any more specific insight, but how I typically solve such problems (mostly a matter of effort):

Divide and conquer as much as possible, rule out absolutely everything you can by clearing all upgrades/unit settings/tech settings/player settings, blank the terrain into generic dirt/walkable tiles, remove any pure sprites, and try the map like this.

Play and if it doesn't desync anymore (**you can't reliably reproduce so you can't be certain, but with a few extra tests you should be able to get some level of certainty) it was somehow related to one of the above categories, if so, add back in categories till you've found a likely culprit.

Otherwise if it's somehow related to units/triggers/(locations? doubtful but I've seen StarCraft crash due to changes purely to MRGN - the locations section in CHKs) you'd probably be best off rebuilding the map through a new file, copying and testing one system at a time - if you did the step above you should be fine copying in your terrain/graphical stuff without concern (I can guide you through copying ISOM if you wish to preserve that info).


If you happen find an offending layer report it here and we can give more specific advice.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Sep 17 2016, 1:00 pm Neiv Post #9



The map is reaching bw's image limit, 5000, which causes things such as shadows not appearing and units not spawning. The reason why it desyncs is that fog-of-war sprites, which are not synchronized, also use available images. So a person with more fogged buildings in their game will hit the image limit earlier than someone who has most of the map visible.

I don't really know if there's really a good way to solve the issue, but it seems like that your map is running into this problem since it has a lot of vespene geysers. Geysers/gas buildings use easily 4-5 images (The unit itself, shadow, and the random smokes), which get duplicated in the fog sprite.

(I'll attach a proof-of-concept map if anyone wants to see how to consistently desync: The map is just barely below image limit, and one player sees an additional fog sprite, which causes them to hit the cap before the second player)

Attachments:
fowdesync.scm
Hits: 13 Size: 55.84kb



None.

May 7 2017, 6:17 pm Veta Post #10



So, I have confirmed this is what's causing desync for me.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy, jun3hong