• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Fixing Desync - Coming of the Horde

Status
Not open for further replies.
Level 8
Joined
Jan 16, 2008
Messages
156
Previously, I had used the getlocalplayer call in this trigger and my map had many desyncs right upon start (probably happened at least 50% of the time). Now they happen very rarely, maybe 10%-15% of the time that I've seen.

Could you guys please look over this trigger and let me know what is causing the desyncs?

Thanks!


Code:
Map Initialization

    Events
        Map initialization

    Conditions

    Actions
        Set TempPoint = (Center of Top Left Recipes <gen>)
        Floating Text - Create floating text that reads Recipe Shops at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
        Custom script:   call RemoveLocation(udg_TempPoint)
        Floating Text - Show (Last created floating text) for (All players)
        Set TempPoint = (Center of Lower Right Recipes <gen>)
        Floating Text - Create floating text that reads Recipe Shops at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
        Custom script:   call RemoveLocation(udg_TempPoint)
        Floating Text - Show (Last created floating text) for (All players)
        Set TempPoint = (Center of Thandol Span East Teleport <gen>)
        Floating Text - Create floating text that reads <-- To the Great Se... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
        Custom script:   call RemoveLocation(udg_TempPoint)
        Floating Text - Show (Last created floating text) for (All players)
        Set TempPoint = (Center of Thandol Span West Reciever <gen>)
        Floating Text - Create floating text that reads To the Forbidding S... at TempPoint with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
        Custom script:   call RemoveLocation(udg_TempPoint)
        Floating Text - Show (Last created floating text) for (All players)
        Selection - Select Throne of Stromgarde 0261 <gen> for Player 1 (Red)
        Selection - Select Throne of Azeroth 0018 <gen> for Player 2 (Blue)
        Selection - Select Throne of Kul Tiras 0621 <gen> for Player 3 (Teal)
        Selection - Select Magic Vault 0360 <gen> for Player 4 (Purple)
        Selection - Select Book of Summoning Pedestal (Early) 0040 <gen> for Player 5 (Yellow)
        Selection - Select Throne of Ironforge 0002 <gen> for Player 6 (Orange)
        Selection - Select Sunwell 0310 <gen> for Player 7 (Green)
        Selection - Select Throne of Gilneas 0722 <gen> for Player 8 (Pink)
        Selection - Select Throne of Lordaeron 0384 <gen> for Player 9 (Gray)
        Selection - Select Altar of Spirits 0551 <gen> for Player 10 (Light Blue)
        Selection - Select Altar of Spirits 0315 <gen> for Player 11 (Dark Green)
        Selection - Select Altar of Spirits 0024 <gen> for Player 12 (Brown)
        Game - Display to Player Group - Player 1 (Red) for 20.00 seconds the text: You command the cit...
        Game - Display to Player Group - Player 2 (Blue) for 20.00 seconds the text: King Llane has made...
        Game - Display to Player Group - Player 3 (Teal) for 20.00 seconds the text: You command the sea...
        Game - Display to Player Group - Player 5 (Yellow) for 20.00 seconds the text: You command the |cf...
        Game - Display to Player Group - Player 4 (Purple) for 20.00 seconds the text: As the defender of ...
        Game - Display to Player Group - Player 6 (Orange) for 20.00 seconds the text: You command the def...
        Game - Display to Player Group - Player 7 (Green) for 20.00 seconds the text: As protector of |CF...
        Game - Display to Player Group - Player 8 (Pink) for 20.00 seconds the text: As ruler of |c003F3...
        Game - Display to Player Group - Player 9 (Gray) for 20.00 seconds the text: |CFF949694Lordaeron...
        Game - Display to Player Group - Player 10 (Light Blue) for 20.00 seconds the text: You command the |cf...
        Game - Display to Player Group - Player 11 (Dark Green) for 20.00 seconds the text: You command the |CF...
        Game - Display to Player Group - Player 12 (Brown) for 20.00 seconds the text: You command the pow...
        Game - Hide creep camps on the minimap
        Camera - Set Player 1 (Red)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 2 (Blue)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 3 (Teal)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 4 (Purple)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 5 (Yellow)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 6 (Orange)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 7 (Green)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 8 (Pink)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 9 (Gray)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 10 (Light Blue)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 11 (Dark Green)'s camera Distance to target to 2300.00 over 0.00 seconds
        Camera - Set Player 12 (Brown)'s camera Distance to target to 2300.00 over 0.00 seconds
        Environment - Create at Mountain Snow <gen> the weather effect Northrend Snow (Light)
        Environment - Turn (Last created weather effect) On
        Environment - Create at Mountain Snow 2 <gen> the weather effect Northrend Snow (Light)
        Environment - Turn (Last created weather effect) On
        Player - Change color of Player 8 (Pink) to Black, Changing color of existing units
        Player - Change color of Neutral Passive to Light Blue, Retaining color of existing units
        Player Group - Add Player 2 (Blue) to Alliance
        Player Group - Add Player 3 (Teal) to Alliance
        Player Group - Add Player 4 (Purple) to Alliance
        Player Group - Add Player 6 (Orange) to Alliance
        Player Group - Add Player 7 (Green) to Alliance
        Player Group - Add Player 8 (Pink) to Alliance
        Player Group - Add Player 9 (Gray) to Alliance
        Player Group - Add Player 10 (Light Blue) to Horde
        Player Group - Add Player 11 (Dark Green) to Horde
        Player Group - Add Player 12 (Brown) to Horde
        Player Group - Make Alliance treat Player Group - Neutral Passive as an Ally with shared vision
        Player Group - Make Player Group - Neutral Passive treat Alliance as an Ally with shared vision
        Player Group - Make Horde treat Player Group - Neutral Passive as an Enemy
        Player Group - Make Player Group - Neutral Passive treat Horde as an Enemy
        Player Group - Make Horde treat Player Group - Neutral Hostile as an Neutral
        Player Group - Make Player Group - Neutral Hostile treat Horde as an Neutral
        Game - Set Lock resource trading to On
        Player - Set Player 1 (Red) Current gold to 500
        Player - Set Player 1 (Red) Current lumber to 500
        Player - Set Player 2 (Blue) Current gold to 500
        Player - Set Player 2 (Blue) Current lumber to 500
        Player - Set Player 3 (Teal) Current gold to 500
        Player - Set Player 3 (Teal) Current lumber to 500
        Player - Set Player 4 (Purple) Current gold to 500
        Player - Set Player 4 (Purple) Current lumber to 500
        Player - Set Player 5 (Yellow) Current gold to 500
        Player - Set Player 5 (Yellow) Current lumber to 1000
        Player - Set Player 6 (Orange) Current gold to 500
        Player - Set Player 6 (Orange) Current lumber to 500
        Player - Set Player 7 (Green) Current gold to 500
        Player - Set Player 7 (Green) Current lumber to 500
        Player - Set Player 8 (Pink) Current gold to 500
        Player - Set Player 8 (Pink) Current lumber to 500
        Player - Set Player 9 (Gray) Current gold to 500
        Player - Set Player 9 (Gray) Current lumber to 500
        Player - Set Player 10 (Light Blue) Current gold to 500
        Player - Set Player 10 (Light Blue) Current lumber to 1000
        Player - Set Player 11 (Dark Green) Current gold to 500
        Player - Set Player 11 (Dark Green) Current lumber to 1000
        Player - Set Player 12 (Brown) Current gold to 500
        Player - Set Player 12 (Brown) Current lumber to 1000
        Player - Turn Gives bounty On for Player 1 (Red)
        Player - Turn Gives bounty On for Player 2 (Blue)
        Player - Turn Gives bounty On for Player 3 (Teal)
        Player - Turn Gives bounty On for Player 4 (Purple)
        Player - Turn Gives bounty On for Player 5 (Yellow)
        Player - Turn Gives bounty On for Player 6 (Orange)
        Player - Turn Gives bounty On for Player 7 (Green)
        Player - Turn Gives bounty On for Player 8 (Pink)
        Player - Turn Gives bounty On for Player 9 (Gray)
        Player - Turn Gives bounty On for Player 10 (Light Blue)
        Player - Turn Gives bounty On for Player 11 (Dark Green)
        Player - Turn Gives bounty On for Player 12 (Brown)
        Player - Limit training of Gryphon Rider to 3 for Player 1 (Red)
        Player - Limit training of Catapult to 4 for Player 1 (Red)
        Player - Limit training of Guard Tower (Buildable) to 2 for Player 1 (Red)
        Player - Limit training of Engineer to 1 for Player 1 (Red)
        Player - Limit training of Hawk to 1 for Player 1 (Red)
        Player - Limit training of Human Frigate to 30 for Player 1 (Red)
        Player - Limit training of Human Battleship to 24 for Player 1 (Red)
        Player - Limit training of Dwarven Submarine (Human) to 15 for Player 1 (Red)
        Player - Limit training of Human Transport to 15 for Player 1 (Red)
        Player - Limit training of Mage to 6 for Player 1 (Red)
        Player - Limit training of Gryphon Rider to 3 for Player 2 (Blue)
        Player - Limit training of Catapult to 4 for Player 2 (Blue)
        Player - Limit training of Engineer to 1 for Player 2 (Blue)
        Player - Limit training of Guard Tower (Buildable) to 2 for Player 2 (Blue)
        Player - Limit training of Hawk to 1 for Player 2 (Blue)
        Player - Limit training of Human Frigate to 30 for Player 2 (Blue)
        Player - Limit training of Human Battleship to 24 for Player 2 (Blue)
        Player - Limit training of Dwarven Submarine (Human) to 15 for Player 2 (Blue)
        Player - Limit training of Human Transport to 15 for Player 2 (Blue)
        Player - Limit training of Mage to 6 for Player 2 (Blue)
        Player - Limit training of Gryphon Rider to 3 for Player 3 (Teal)
        Player - Limit training of Catapult to 4 for Player 3 (Teal)
        Player - Limit training of Engineer (Kul Tiras) to 1 for Player 3 (Teal)
        Player - Limit training of Cannon Tower (Kul Tiras Buildable) to 2 for Player 3 (Teal)
        Player - Limit training of Hawk to 1 for Player 3 (Teal)
        Player - Limit training of Human Frigate to 30 for Player 3 (Teal)
        Player - Limit training of Human Dreadnought to 24 for Player 3 (Teal)
        Player - Limit training of Dwarven Submarine (Human) to 15 for Player 3 (Teal)
        Player - Limit training of Human Transport to 15 for Player 3 (Teal)
        Player - Limit training of Mage to 6 for Player 3 (Teal)
        Player - Limit training of Dragonhawk Rider (Dalaran) to 4 for Player 4 (Purple)
        Player - Limit training of Gryphon Rider to 4 for Player 4 (Purple)
        Player - Limit training of Conjurer to 8 for Player 4 (Purple)
        Player - Limit training of Arcane Tower (Buildable) to 2 for Player 4 (Purple)
        Player - Limit training of Engineer (Dalaran) to 1 for Player 4 (Purple)
        Player - Limit training of Ancient Guardian to 1 for Player 4 (Purple)
        Player - Limit training of Sorceress to 5 for Player 4 (Purple)
        Player - Limit training of Flying Machine to 3 for Player 6 (Orange)
        Player - Limit training of Demolition Squad to 5 for Player 6 (Orange)
        Player - Limit training of Battle Engine to 5 for Player 6 (Orange)
        Player - Limit training of Battle Armor to 6 for Player 6 (Orange)
        Player - Limit training of Gatling Engine to 5 for Player 6 (Orange)
        Player - Limit training of Engineer (Dwarf) to 1 for Player 6 (Orange)
        Player - Limit training of Cannon Tower (Buildable) to 2 for Player 6 (Orange)
        Player - Limit training of Hawk to 1 for Player 6 (Orange)
        Player - Limit training of Dwarven Submarine to 15 for Player 6 (Orange)
        Player - Limit training of Dragonhawk Rider to 3 for Player 7 (Green)
        Player - Limit training of Ballista to 4 for Player 7 (Green)
        Player - Limit training of Engineer to 1 for Player 7 (Green)
        Player - Limit training of High Elven Guard Tower (Buildable) to 2 for Player 7 (Green)
        Player - Limit training of Sorceress to 5 for Player 7 (Green)
        Player - Limit training of Sorceress (Refuge) to 5 for Player 7 (Green)
        Player - Limit training of Hawk to 1 for Player 7 (Green)
        Player - Limit training of Elven Destroyer to 30 for Player 7 (Green)
        Player - Limit training of Elven Cruiser to 24 for Player 7 (Green)
        Player - Limit training of Elven Transport to 15 for Player 7 (Green)
        Player - Limit training of Gryphon Rider to 3 for Player 8 (Pink)
        Player - Limit training of Catapult to 4 for Player 8 (Pink)
        Player - Limit training of Engineer to 1 for Player 8 (Pink)
        Player - Limit training of Guard Tower (Buildable) to 2 for Player 8 (Pink)
        Player - Limit training of Hawk to 1 for Player 8 (Pink)
        Player - Limit training of Human Frigate to 30 for Player 8 (Pink)
        Player - Limit training of Human Battleship to 24 for Player 8 (Pink)
        Player - Limit training of Dwarven Submarine (Human) to 15 for Player 8 (Pink)
        Player - Limit training of Human Transport to 15 for Player 8 (Pink)
        Player - Limit training of Mage to 6 for Player 8 (Pink)
        Player - Limit training of Gryphon Rider to 3 for Player 9 (Gray)
        Player - Limit training of Catapult to 4 for Player 9 (Gray)
        Player - Limit training of Engineer to 1 for Player 9 (Gray)
        Player - Limit training of Guard Tower (Buildable) to 2 for Player 9 (Gray)
        Player - Limit training of Hawk to 1 for Player 9 (Gray)
        Player - Limit training of Human Frigate to 30 for Player 9 (Gray)
        Player - Limit training of Human Battleship to 24 for Player 9 (Gray)
        Player - Limit training of Dwarven Submarine (Human) to 15 for Player 9 (Gray)
        Player - Limit training of Human Transport to 15 for Player 9 (Gray)
        Player - Limit training of Mage to 6 for Player 9 (Gray)
        Player - Limit training of Red Dragon to 4 for Player 10 (Light Blue)
        Player - Limit training of Raider to 15 for Player 10 (Light Blue)
        Player - Limit training of Catapult to 4 for Player 10 (Light Blue)
        Player - Limit training of Warlock to 5 for Player 10 (Light Blue)
        Player - Limit training of Watch Tower (Buildable) to 8 for Player 10 (Light Blue)
        Player - Limit training of Troll Destroyer to 60 for Player 10 (Light Blue)
        Player - Limit training of Ogre Juggernaught to 48 for Player 10 (Light Blue)
        Player - Limit training of Giant Turtle to 30 for Player 10 (Light Blue)
        Player - Limit training of Orc Transport to 30 for Player 10 (Light Blue)
        Player - Limit training of Red Dragon Whelp to 1 for Player 10 (Light Blue)
        Player - Limit training of Red Dragon to 4 for Player 11 (Dark Green)
        Player - Limit training of Raider to 15 for Player 11 (Dark Green)
        Player - Limit training of Catapult to 4 for Player 11 (Dark Green)
        Player - Limit training of Warlock to 5 for Player 11 (Dark Green)
        Player - Limit training of Watch Tower (Buildable) to 8 for Player 11 (Dark Green)
        Player - Limit training of Troll Destroyer to 60 for Player 11 (Dark Green)
        Player - Limit training of Ogre Juggernaught to 48 for Player 11 (Dark Green)
        Player - Limit training of Giant Turtle to 30 for Player 11 (Dark Green)
        Player - Limit training of Orc Transport to 30 for Player 11 (Dark Green)
        Player - Limit training of Red Dragon Whelp to 1 for Player 11 (Dark Green)
        Player - Limit training of Raider to 15 for Player 12 (Brown)
        Player - Limit training of Red Dragon to 4 for Player 12 (Brown)
        Player - Limit training of Catapult to 4 for Player 12 (Brown)
        Player - Limit training of Warlock to 5 for Player 12 (Brown)
        Player - Limit training of Watch Tower (Buildable) to 8 for Player 12 (Brown)
        Player - Limit training of Troll Destroyer to 60 for Player 12 (Brown)
        Player - Limit training of Ogre Juggernaught to 48 for Player 12 (Brown)
        Player - Limit training of Giant Turtle to 30 for Player 12 (Brown)
        Player - Limit training of Orc Transport to 30 for Player 12 (Brown)
        Player - Limit training of Red Dragon Whelp to 1 for Player 12 (Brown)
        Player - Limit training of Nether Drake to 5 for Player 5 (Yellow)
        Player - Limit training of Infernal Contraption to 5 for Player 5 (Yellow)
        Player - Limit training of Lightning Revenant to 6 for Player 5 (Yellow)
        Player - Limit training of Maiden of Pain to 6 for Player 5 (Yellow)
        Player - Limit training of Satyr Soulstealer to 3 for Player 5 (Yellow)
        Player - Limit training of Doom Guard to 4 for Player 5 (Yellow)
        Player - Limit training of Legion Destroyer to 60 for Player 5 (Yellow)
        Player - Limit training of Doom Barge to 48 for Player 5 (Yellow)
        Player - Limit training of Legion Transport to 30 for Player 5 (Yellow)
        Player - Make Human Shipyard Unavailable for training/construction by Player 1 (Red)
        Player - Make Human Shipyard Unavailable for training/construction by Player 2 (Blue)
        Player - Make Human Shipyard (Kul Tiras) Unavailable for training/construction by Player 3 (Teal)
        Player - Make Dwarven Shipyard Unavailable for training/construction by Player 6 (Orange)
        Player - Make High Elf Shipyard Unavailable for training/construction by Player 7 (Green)
        Player - Make Human Shipyard Unavailable for training/construction by Player 8 (Pink)
        Player - Make Human Shipyard Unavailable for training/construction by Player 9 (Gray)
        Player - Make Battle Engine Mk. II Unavailable for training/construction by Player 6 (Orange)
        Player - Make Troll Trapper (Orc Barracks) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Troll Axethrower (Orc Barracks) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Goblin Laboratory Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Ogre Lord (Orc Barracks) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Ogre Mauler (Orc Barracks) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Ogre Magi (Orc Spirit Lodge) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Horde Shipyard (Buildable) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Temple of the Damned Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Burning Blade Warrior Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Chieftan Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Dragon Roost (Late) Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Peon Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Troll Trapper (Orc Barracks) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Troll Axethrower (Orc Barracks) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Goblin Laboratory Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Ogre Lord (Orc Barracks) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Ogre Mauler (Orc Barracks) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Ogre Magi (Orc Spirit Lodge) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Horde Shipyard (Buildable) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Temple of the Damned Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Burning Blade Warrior Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Chieftan Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Dragon Roost (Late) Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Peon Unavailable for training/construction by Player 11 (Dark Green)
        Player - Make Troll Trapper (Orc Barracks) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Troll Axethrower (Orc Barracks) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Goblin Laboratory Unavailable for training/construction by Player 12 (Brown)
        Player - Make Ogre Lord (Orc Barracks) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Ogre Mauler (Orc Barracks) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Ogre Magi (Orc Spirit Lodge) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Horde Shipyard (Buildable) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Temple of the Damned Unavailable for training/construction by Player 12 (Brown)
        Player - Make Burning Blade Warrior Unavailable for training/construction by Player 12 (Brown)
        Player - Make Chieftan Unavailable for training/construction by Player 12 (Brown)
        Player - Make Peon Unavailable for training/construction by Player 12 (Brown)
        Player - Make Acolyte Unavailable for training/construction by Player 5 (Yellow)
        Player - Make Dragon Roost (Late) Unavailable for training/construction by Player 12 (Brown)
        Player - Make Nether Dragon Unavailable for training/construction by Player 5 (Yellow)
        Player - Make Sky Barge Unavailable for training/construction by Player 5 (Yellow)
        Player - Make Legion Shipyard (Buildable) Unavailable for training/construction by Player 5 (Yellow)
        Unit - Make Shield Generator 0268 <gen> Invulnerable
        Unit - Make Church 0091 <gen> Vulnerable
        Unit - Make Farm 0372 <gen> Invulnerable
        Unit - Make Farm 0307 <gen> Invulnerable
        Unit - Make High Elven Farm 0318 <gen> Invulnerable
        Unit - Make Farm 0262 <gen> Invulnerable
        Unit - Make Farm 0038 <gen> Invulnerable
        Unit - Make Farm 0616 <gen> Invulnerable
        Unit - Make Farm 0776 <gen> Invulnerable
        Unit - Add classification of An Ancient to Gryphon Aviary 0385 <gen>
        Unit - Add classification of An Ancient to Gryphon Aviary 0803 <gen>
        Unit - Add classification of An Ancient to Gryphon Aviary 0022 <gen>
        Unit - Add classification of An Ancient to Cannon Tower 0514 <gen>
        Unit - Add classification of An Ancient to Cannon Tower 0515 <gen>
        Unit - Hide Archimonde 0012 <gen>
        Unit - Hide Blackhand 0575 <gen>
        Unit - Hide Cho'gall 0249 <gen>
        Unit - Hide Daelin Proudmoore 0858 <gen>
        Unit - Hide Destructor 0603 <gen>
        Unit - Hide Galen Trollbane 0901 <gen>
        Unit - Hide Grom Hellscream 0511 <gen>
        Unit - Hide Kargath Bladefist 0836 <gen>
        Unit - Hide Kil'jaeden 0015 <gen>
        Unit - Hide Kurdran Wildhammer 0063 <gen>
        Unit - Hide Llane Wrynn I 0924 <gen>
        Unit - Hide Lor'themar Theron  0944 <gen>
        Unit - Hide Rhonin Redhair 0010 <gen>
        Unit - Hide Danath Trollbane 0934 <gen>
        Unit - Hide Derek Proudmoore 0885 <gen>
        Unit - Hide Gavinrad the Dire 0883 <gen>
        Unit - Hide Tirion Fordring 0859 <gen>
        Unit - Hide Turalyon 0851 <gen>
        Unit - Hide Kirin Tor Mage 0888 <gen>
        Unit - Hide Dentarg 0897 <gen>
        Unit - Hide Uther the Lightbringer 0895 <gen>
        Unit - Hide Alonsus Faol 0896 <gen>
        Unit - Hide Tichondrius 0899 <gen>
        Unit - Hide Khadgar 0900 <gen>
        Unit - Hide Ner'zhul 0918 <gen>
        Unit - Hide Garona Halforcen (Grunt) 0955 <gen>
        Unit - Hide Garona Halforcen 0926 <gen>
        Unit - Hide Medivh 0950 <gen>
        Unit - Hide Rend 0927 <gen>
        Unit - Hide Thoras Trollbane 0486 <gen>
        Unit - Hide Antonidas 0434 <gen>
        Unit - Hide Chieftain of the Dragonmaw 0493 <gen>
        Unit - Hide Son of Blackhand 0771 <gen>
        Unit - Hide Hero's Aureole 0861 <gen>
        Unit - Hide Hero's Aureole 0835 <gen>
        Unit - Hide Hero's Aureole 0873 <gen>
        Unit - Hide Hero's Aureole 0878 <gen>
        Unit - Hide Hero's Aureole 0879 <gen>
        Unit - Hide Hero's Aureole 0880 <gen>
        Unit - Hide Hero's Aureole 0881 <gen>
        Unit - Hide Hero's Aureole 0922 <gen>
        Unit - Pause Peon 0418 <gen>
        Unit - Pause Peon 0420 <gen>
        Unit - Pause Peon 0513 <gen>
        Unit - Pause Peon 0446 <gen>
        Unit - Pause Peon 0565 <gen>
        Unit - Pause Peon 0566 <gen>
        Quest - Create a Required quest titled Game Objectives with the description |CFF0000FFAlliance ..., using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleUnits.blp
        Quest - Create a Required quest titled Contact Info with the description Comments? Questions..., using icon path ReplaceableTextures\CommandButtons\BTNScroll.blp
        Quest - Create a Required quest titled Credits with the description Thanks to Tauer, Da..., using icon path ReplaceableTextures\CommandButtons\BTNHumanCaptureFlag.blp
        Quest - Create a Optional quest titled Camera and Music In... with the description Type -far, -medium,..., using icon path ReplaceableTextures\WorldEditUI\Doodad-Cinematic.blp
        Quest - Create a Optional quest titled Item Info with the description There are 3 item sh..., using icon path ReplaceableTextures\CommandButtons\BTNINV_Chest_Plate15.blp
        Quest - Create a Optional quest titled Zepplin Info with the description As a general rule, ..., using icon path ReplaceableTextures\CommandButtons\BTNGoblinZeppelin.blp
        Quest - Create a Optional quest titled Resource Info with the description Item points are obt..., using icon path ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
        Quest - Create a Optional quest titled Gate Info with the description Gates are opened an..., using icon path UI\Minimap\MiniMap-Entrance.blp
        Destructible - Make Rock Chunks 0288 <gen> Invulnerable
        Destructible - Make Rock Chunks 1551 <gen> Invulnerable
        Destructible - Make Rock Chunks 2560 <gen> Invulnerable
        Destructible - Make Building 1749 <gen> Invulnerable
        Destructible - Make Building 1263 <gen> Invulnerable
        Destructible - Make Building 1267 <gen> Invulnerable
        Destructible - Make Building 1258 <gen> Invulnerable
        Destructible - Make Building 1799 <gen> Invulnerable
        Destructible - Make Building 1269 <gen> Invulnerable
        Destructible - Make Building 3428 <gen> Invulnerable
        Destructible - Make Building 0696 <gen> Invulnerable
        Destructible - Make Building 1206 <gen> Invulnerable
        Destructible - Make Building 1748 <gen> Invulnerable
        Destructible - Make Building 1215 <gen> Invulnerable
        Destructible - Make Building 1755 <gen> Invulnerable
        Destructible - Make Building 1270 <gen> Invulnerable
        Destructible - Make Building 1754 <gen> Invulnerable
        Wait 6.00 seconds
        Set TempPoint = (Position of Throne Observer 0189 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0186 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0153 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0718 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0027 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0023 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0028 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Set TempPoint = (Position of Throne Observer 0029 <gen>)
        Cinematic - Ping minimap for Horde at TempPoint for 20.00 seconds
        Custom script:   call RemoveLocation(udg_TempPoint)
        Wait 75.00 seconds
        Game - Display to (All players) the text: Utterly confused? P...
        Quest - Flash the quest dialog button
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,188
Selection - Select Throne of Stromgarde 0261 <gen> for Player 1 (Red)
Selection - Select Throne of Azeroth 0018 <gen> for Player 2 (Blue)
Selection - Select Throne of Kul Tiras 0621 <gen> for Player 3 (Teal)
Selection - Select Magic Vault 0360 <gen> for Player 4 (Purple)
Selection - Select Book of Summoning Pedestal (Early) 0040 <gen> for Player 5 (Yellow)
Selection - Select Throne of Ironforge 0002 <gen> for Player 6 (Orange)
Selection - Select Sunwell 0310 <gen> for Player 7 (Green)
Selection - Select Throne of Gilneas 0722 <gen> for Player 8 (Pink)
Selection - Select Throne of Lordaeron 0384 <gen> for Player 9 (Gray)
Selection - Select Altar of Spirits 0551 <gen> for Player 10 (Light Blue)
Selection - Select Altar of Spirits 0315 <gen> for Player 11 (Dark Green)
Selection - Select Altar of Spirits 0024 <gen> for Player 12 (Brown)
Try removing these actions? I am not sure but they might or might not generate net traffic. Additionally map initialization occurs before the map finishes loading so maybe any action that creates graphics etc could cause a desync.

My only other suggestion would be to try and run less code at map initialization. I remember mappers in the past having desync issues with such long initialization triggers and their solution was to initialize the map over 1-2 seconds instead of all during the load screen.
 
Level 18
Joined
Nov 21, 2012
Messages
835
Use loops to shorten the code.
Player groups leaks.
As DSG said, try to divine code and run part of it [0,1sec elapsed game time] for example.
Try to move from map init especcialy those:
Camera - Set Player 1 (Red)'s camera Distance to target to 2300.00
Quest - Create a Required quest titled Game Objectives
Selection - Select Throne of Stromgarde 0261 <gen> for Player 1 (Red)
and use loops :)

zibi
 

Zwiebelchen

Hosted Project GR
Level 35
Joined
Sep 17, 2009
Messages
7,236
Remember that there are possible causes for desync that are not related to triggers at all.

Rule that out by disabling all triggers first.


So far, I can't find possible causes for desyncs in your trigger. Make sure not to get the Player Slot state at map init (Like: "Player (1) is playing" or "Player (2) is a computer player"), as they sometimes desync when called at map init.
 
Status
Not open for further replies.
Top