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

Whats causing this crash?!!! Please save my map

Status
Not open for further replies.
Level 10
Joined
Jun 7, 2008
Messages
420
The only thing preventing my map from going gold is this terrible crash. All other bugs are minor and can be fixed with time. My main concern is the hero revive crash. I'm not exactly sure what causes it but usually a crash happens when a hero dies. Please look into it and tell me whats wrong.

Thank you. :cry::cry::cry::cry:
 

Attachments

  • fatal error.PNG
    fatal error.PNG
    21.8 KB · Views: 151
  • LOTR Helms Deep Hero Defense v1.3.w3x
    405.5 KB · Views: 49
Last edited:
Level 6
Joined
Jun 4, 2009
Messages
91
  • Free Potions
    • Events
      • Time - Every 120.00 seconds of game time
    • Conditions
    • Actions
      • set temploc = (Center of Item Spawns <gen>)
      • Item - Create Healing Potion at temploc
      • Custom script - call RemoveLocation(udg_temploc)
      • Game - Display to (All players) for 15.00 seconds the text: Our alchemists have...
Ladders leaks also, but since it's executed only once, we don't care.

There is nothing with the revive trigger, I tried to chain die. Maybe
  • Wait 10.00 seconds
is missing

Finnaly, everything is leaking again. Wasn't it the map I cleaned ?
 
Level 10
Joined
Jun 7, 2008
Messages
420
Yep. I looked through your cleaned one and transfered some triggers over. Whats wrong now?
And I don't want the wait 10 seconds anymore :D

{EDIT}
Also whats the use of the 'remove temploc' trigger line? i tried with and without it, works fine either way.
Lastly, how do I unlock my 'unaccessable ram'
 
Last edited by a moderator:
Level 6
Joined
Jun 4, 2009
Messages
91
Hum... yes it is...

So I give you again the cleaned version, because I won't clean again your job.

Just giving you some help :
  • -------- this is to create a temp variable with your point --------
  • set temploc = (Center of YOUR_REGION)
  • -------- use your point (tells him temploc as your point) --------
  • -------- --------
  • -------- This is about destroying what you created before, so allocated point doesn't stack --------
  • Custom script - call RemoveLocation(udg_temploc)
If you need to change a region in the version I cleaned, just change the action
  • set temploc = (center of YOUR NEW REGION)
It maybe because of your many leaks that your RAM must become full. And when there aren't more free space... I don't think warcraft use the swap so... crash

It doesn't works fine either. In a case you crash, in the other, you may not crash.
 
Last edited:
Level 10
Joined
Jun 7, 2008
Messages
420
So any ideas on what can be done about this?
Any alternative I can use? Already cleaned it out like that guy told me to by using his variables.
I believe that helped a bit, but still crashing bad. Any way to have these unit moves without crashin? I've seen many many maps do this no issue. For one thing, every tower defence uses it.

{EDIT}
Heres the movement triggers from skibis.
Compare with mine.
 

Attachments

  • Skibis.PNG
    Skibis.PNG
    14.2 KB · Views: 139
  • Mine.PNG
    Mine.PNG
    10.8 KB · Views: 76
Last edited by a moderator:
  • Angry
Reactions: Rui
Level 10
Joined
Jun 7, 2008
Messages
420
Well please play through the game, I usually crash at the 30 minute mark. Sign that it is not that bad, thats why the cache is taking so long to fill. Besides, holding ground for 40 minutes can be boring, thinking of cutting it to 30.
 
Level 10
Joined
Jun 7, 2008
Messages
420
Ohhh.... its still crashing like whacko jacko high on drugs. Not good. In fact, I'd say nothing changed much.
And no the game does not run slower or anything noticable. I'm pretty happy with everything except the damned crash.
 
Status
Not open for further replies.
Top