• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Dont we all just hate errors?

Status
Not open for further replies.
Level 23
Joined
Nov 29, 2006
Messages
2,482
In fact who doesnt?

But the error I had in my map wasn't happening when playing.
It was happening when you win/lose, and the cleanup starts after playing.

Could it be any special reson why the error is happening after the map?
And yet, there should be a way to fix it...

/Regards
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
I dont really thing the cleaning and removal of the map, after score sceen (you know where the screen turns black for a short while) is caused by victory/defeat conditions:?!?

However I got no clue anyway, so here they are

Victory:
  • Winning
    • Events
      • Unit - Archimonde 0115 <gen> Dies
    • Conditions
      • GameOver Equal to False
    • Actions
      • Trigger - Turn off (This trigger)
      • Set GameOver = True
      • Unit - Make Silvermoon Invulnerable
      • Unit - Pause all units
      • Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUES...
      • Wait 5.00 seconds
      • Set Temp_Kill_All = (Units in (Playable map area) matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of Player 11 (Dark Green)) Equal to True)))
      • Unit Group - Pick every unit in Temp_Kill_All and do (Unit - Kill (Picked unit))
      • Custom script: call DestroyGroup( udg_Temp_Kill_All )
      • Wait 5.00 seconds
      • Player Group - Pick every player in Players_User and do (Game - Victory (Picked player) (Show dialogs, Show scores))
Lose:
  • Power Lost at 100
    • Events
      • Unit - Sunwell of Silvermoon 0000 <gen> Takes damage
    • Conditions
      • (Mana of Silvermoon) Equal to 0.00
    • Actions
      • Trigger - Turn off (This trigger)
      • Leaderboard - Change the value for Neutral Passive in leaderboard to 100
      • Leaderboard - Sort leaderboard by Value in Descending order
      • Set GameOver = True
      • Unit - Make Silvermoon Invulnerable
      • Unit - Pause all units
      • Quest - Display to (All players) the Quest Failed message: |CFFED1C24MAIN QUES...
      • Animation - Play the stand second animation for all doodads of type Sun Well within RallySilvermoon32 <gen>
      • Wait 5.00 seconds
      • Set Temp_Kill_All = (Units in (Playable map area) matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of Player 11 (Dark Green)) Equal to True)))
      • Unit Group - Remove Silvermoon from Temp_Kill_All
      • Unit Group - Pick every unit in Temp_Kill_All and do (Unit - Kill (Picked unit))
      • Custom script: call DestroyGroup( udg_Temp_Kill_All )
      • Animation - Play the stand third animation for all doodads of type Sun Well within RallySilvermoon32 <gen>
      • Wait 5.00 seconds
      • Player Group - Pick every player in Players_User and do (Game - Defeat (Picked player) with the message: You have failed!)
The error was like all other usual errors I think...

This application has encountered a critical error:

FATAL ERROR!

Program: c:\program files\warcraft iii the frozen throne\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F08873A

The instruction at '0x6F08873A' referenced memory at '0x00000030'.
The memory could not be 'read'.

But I still think that the ending has nothing to do with "aftergamecleanup"?
 
Status
Not open for further replies.
Top