• 🏆 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!

[Crash] Desyncs/Crashes caused by cinematic (2P Campaign)

Status
Not open for further replies.

TheSpoon

Hosted Project 2PC
Level 21
Joined
Jul 16, 2007
Messages
737
Hi all,
I've been smashing my head against this one for hours. It's really hard to debug because I have to waste someone else's time as well as mine.

I've been working on a 2 player version of Human 09 (Frostmourne) and for some reason, the start of the frostmourne cinematic causes a desync when there are 2 players. I've tried steadily disabling parts of the trigger to determine which line causes the desync but I ended up going around in circles. Does anyone have any insight?

  • GuardianDies
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
      • (Dying unit) Equal to Guardian
      • GameOver Equal to False
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Replace (Dying unit) with a The Guardian Hard using The new unit's default life and mana
      • Set VariableSet Guardian = (Last replaced unit)
      • Unit - Set life of Guardian to 1.00
      • Unit - Pause Guardian
      • Unit - Make Guardian Invulnerable
      • Animation - Play Guardian's Spell animation
      • Wait 0.90 seconds
      • Animation - Change Guardian's animation speed to 1.00% of its original speed
      • If ((GuardianLackeyA is alive) Equal to True) then do (Unit - Pause GuardianLackeyA) else do (Do nothing)
      • If ((GuardianLackeyB is alive) Equal to True) then do (Unit - Pause GuardianLackeyB) else do (Do nothing)
      • If ((GuardianArcherA is alive) Equal to True) then do (Unit - Pause GuardianArcherA) else do (Do nothing)
      • If ((GuardianArcherB is alive) Equal to True) then do (Unit - Pause GuardianArcherB) else do (Do nothing)
      • If ((GuardianLackeyA is alive) Equal to True) then do (Unit - Make GuardianLackeyA Invulnerable) else do (Do nothing)
      • If ((GuardianLackeyB is alive) Equal to True) then do (Unit - Make GuardianLackeyB Invulnerable) else do (Do nothing)
      • If ((GuardianArcherA is alive) Equal to True) then do (Unit - Make GuardianArcherA Invulnerable) else do (Do nothing)
      • If ((GuardianArcherB is alive) Equal to True) then do (Unit - Make GuardianArcherB Invulnerable) else do (Do nothing)
      • Sound - Setup all volume channels for speech
      • Cinematic - Play Dialogue to (All players) from Guardian with type The Guardian Hard. Play H09Guardian11 <gen>. Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Play Dialogue to (All players) from Arthas with type Arthas. Play H09Arthas12 <gen>. Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Play Dialogue to (All players) from Guardian with type The Guardian Hard. Play H09Guardian13 <gen>. Modify duration: Add 0.00 seconds and Wait
      • Sound - Set User Interface Sounds to 1.00%
      • Sound - Reset all volume channels to 100%
      • Animation - Change Guardian's animation speed to 100.00% of its original speed
      • Unit - Kill Guardian
      • If ((GuardianLackeyA is alive) Equal to True) then do (Unit - Unpause GuardianLackeyA) else do (Do nothing)
      • If ((GuardianLackeyB is alive) Equal to True) then do (Unit - Unpause GuardianLackeyB) else do (Do nothing)
      • If ((GuardianArcherA is alive) Equal to True) then do (Unit - Unpause GuardianArcherA) else do (Do nothing)
      • If ((GuardianArcherB is alive) Equal to True) then do (Unit - Unpause GuardianArcherB) else do (Do nothing)
      • If ((GuardianLackeyA is alive) Equal to True) then do (Unit - Kill GuardianLackeyA) else do (Do nothing)
      • If ((GuardianLackeyB is alive) Equal to True) then do (Unit - Kill GuardianLackeyB) else do (Do nothing)
      • If ((GuardianArcherA is alive) Equal to True) then do (Unit - Kill GuardianArcherA) else do (Do nothing)
      • If ((GuardianArcherB is alive) Equal to True) then do (Unit - Kill GuardianArcherB) else do (Do nothing)
      • Wait 5.50 seconds
      • Trigger - Run TriggerFrostmourneCinematicR <gen> (checking conditions)
  • TriggerFrostmourneCinematicR
    • Events
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Set VariableSet HeroDefeatPossible = False
      • Unit - Make Arthas Invulnerable
      • Unit - Make Muradin Invulnerable
      • Set VariableSet FrostmourneCinematicRunning = True
      • Trigger - Run FrostmourneCinematicSetupR <gen> (ignoring conditions)
  • FrostmourneCinematicSetupR
    • Events
    • Conditions
    • Actions
      • -------- TURN OFF SKILL LEARNING TRIGGER --------
      • Trigger - Turn off Arthas Leans a Skill <gen>
      • Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Wait 1.75 seconds
      • Sound - Play CS_human09_mid2_intro <gen>
      • Wait 0.25 seconds
      • Cinematic - Turn cinematic mode On for (All players)
      • Selection - Clear selection
      • Environment - Set sky to Fogged Sky
      • Environment - Turn WeatherSnow Off
      • Environment - Set fog to style 0, z-start 250.00, z-end 2500.00, density 0.00 and color (100.00%, 100.00%, 100.00%)
      • Game - Set the time of day to 12.00
      • Game - Turn the day/night cycle Off
      • Unit - Make Arthas Vulnerable
      • Unit - Make Muradin Vulnerable
      • Unit - For Arthas, Ability Devotion Aura, Disable ability: True, Hide UI: False
      • Set VariableSet CinematicArthas = Arthas
      • Trigger - Run Cinematic Remove Orbs From Arthas <gen> (checking conditions)
      • -------- ACTOR SETUP --------
      • Unit Group - Pick every unit in ValleyGroup and do (Unit - Hide (Picked unit))
      • Unit - Unhide Arthas
      • Unit - Unhide Muradin
      • Unit - Remove All buffs from Arthas
      • Unit - Remove All buffs from Muradin
      • Animation - Change Arthas's size to (90.00%, 90.00%, 90.00%) of its original size
      • Animation - Change Frostmourne Pedestal 0226 <gen>'s size to (90.00%, 90.00%, 90.00%) of its original size
      • Animation - Change Muradin's size to (80.00%, 80.00%, 80.00%) of its original size
      • Animation - Change Muradin blend time to 0.25
      • Animation - Change Arthas blend time to 0.25
      • Unit - Move Arthas instantly to (Center of FrostmourneArthasBeginR <gen>), facing 0.00 degrees
      • Unit - Move Muradin instantly to (Center of FrostmourneMuradinBeginR <gen>), facing 0.00 degrees
      • Unit - Pause all units
      • Unit - Unpause Arthas
      • Unit - Unpause Muradin
      • Visibility - Enable ValleyVisA
      • Visibility - Enable ValleyVisB
      • Visibility - Enable ValleyVisC
      • -------- START MUSIC THEME --------
      • Sound - Play Dark Victory.
      • -------- Shot 01 ------- Establish --------
      • Camera - Apply 1R Mid Remaster 01 A Establish Approach <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply 1R Mid Remaster 01 A Establish Approach <gen> for Player 9 (Gray) over 0.00 seconds
      • Camera - Apply 1R Mid Remaster 01 B Establish Approach <gen> for Player 2 (Blue) over ((Length of H09Arthas14 <gen>) + 3.00) seconds with ease in time: 0.00 seconds, ease out time: 4.00 seconds, and smooth factor: 100.00
      • Camera - Apply 1R Mid Remaster 01 B Establish Approach <gen> for Player 9 (Gray) over ((Length of H09Arthas14 <gen>) + 3.00) seconds with ease in time: 0.00 seconds, ease out time: 4.00 seconds, and smooth factor: 100.00
      • Wait 1.00 seconds
      • Trigger - Run FrostmourneApproachR <gen> (ignoring conditions)
 

Attachments

  • 2PRF_Human09_v1.1.w3x
    9.4 MB · Views: 14
Status
Not open for further replies.
Top