• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Crashing to desktop... getting too much now

Status
Not open for further replies.
Level 10
Joined
Jun 7, 2008
Messages
420


I keep getting this terrible error message and crashing to desktop when I'm playing with my map. Please assist. :cry:
 

Attachments

  • Error.PNG
    Error.PNG
    27.4 KB · Views: 133
I had that a couple of times when I experimented with triggers, and it can also happen when a overflow occurs or when it seems too much.

Agreed, listen to Sabelion. Update your game to the latest patch so that it might be able to read it, try that; when does it occur anyway?
 
I'll put up my map here, please download and take a look. I don't know since I'm reworking someone else's map. Lots of big changes and I'm sure I broke lots of things. Also, I noticed it may be something to do with hero revives, since it always happens at the end when there are many dead heroes.

<attachment removed>
 
Last edited:
This leaks a lot, that's a first thing you can work on. Watching a bit deeper now.

  • HeroDeath
  • Events
    • Unit - A unit owned by Player 2 (blue) dead
    • Unit - A unit owned by Player 3 (teal) dead
    • Unit - A unit owned by Player 4 (Purple) dead
    • Unit - A unit owned by Player 5 (Yellow) dead
    • Unit - A unit owned by Player 6 (Orange) dead
    • Unit - A unit owned by Player 11 (Dark Green) dead
  • Conditions
    • (Triggering unit) is A heros) Equal TRUE
  • Actions
    • Custom script - local location loc = GetRectCenter(gg_rct_A_Spawn_5_WP1)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Level of (Triggering unit)) upper or equal to 6
      • Then - Actions
        • Custom script - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Your hero...")
        • Wait 10.00 seconds
        • Hero - Set (Triggering unit) Hero-level to ((Hero level of (Triggering unit)) - 2), Hide level-up graphics
      • Else - Actions
        • Custom script - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Your hero...")
    • Custom script - call ReviveHeroLoc( GetTriggerUnit(), loc, false )
    • Custom script - call RemoveLocation(loc)
    • Custom script - set loc = null
You will maybe more likely use globals instead of locals.
 
Last edited:
Many MANY leaks. Leaks in pretty much every trigger. Where are the variables!?

The leaks is what could be causing the crashes..

Your gonna have 1 hell of a job cleaning them up
 
i had the same problem too..
dude you got an not-working trigger ,it will only crash when the not-working trigger activate .
not-working trigger is an trigger witch cant work you need to fix ...
:D gl
 
Thank you. And I don't use variables... need training in that area.
I'm hitting everything I know about triggering in this map, its training for a bigger project later on.

Once again, thank you. Now... any way to take it down? Else every hacker in town is going to make a hacked version with cheats within 2 houts :D
 
It was a scrap severely broken when I did my heavy editing. I didn't make the triggers under 'old triggers'. I would give credit but I think the template had already passed through many authors and the original was not listed. No idea what it does, my best guess is the secret entrance, which I removed.
Did some major cleaning around the old triggers, cut off all those I'm not using now.
 
Status
Not open for further replies.
Back
Top