• 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.

Crashing map, help!

Status
Not open for further replies.
Level 19
Joined
Aug 24, 2007
Messages
2,888
Post the map gets crashed so we can find the bug
Because thousand things can cause crash
(an invaild trigger, invaild model,invaild texture,too much memory leaks, getting over op limit , etc etc etc)
 
Level 11
Joined
Feb 18, 2004
Messages
394
poorly coded "triggers" can cause a crash to desktop.
Exceeding the op limit will cause a thread crash (in other words, the function running will stop running and not return, thus the whole chain of execution from the start of the thread will die.) if the main thread crashes, well, you're fucked.
Memory leaks will only cause a crash if you are leaking more memory then you should ever leak. Ever.
Moving units outside of the actual map via SetUnitX() or SetUnitY() will cause a crash to desktop.
Using an uninitialized variable in an expression will cause a thread crash.
Division by 0 will cause a thread crash.
There are hundreds of other reasons a crash or thread crash may happen.
 
Level 11
Joined
Aug 25, 2006
Messages
971
I used to own a windows 2000, it was very very sensitive to leaks. If a map leaked too much it would crash. Some computers just have small bugs that don't seem to go away. These bugs can be caused by the smallest error in one of a million dl's. These errors can be introduced by programs you install which overwrite parts of your dll library. This is one reason you should be careful of what you install.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
no no its a WEU map
DONT USE WORLD EDITOR UNLIMITED

damn totally bad map
too much leaks and bad systems
 
Level 24
Joined
Nov 9, 2006
Messages
2,561
I got an idea: disable a couple of triggers play the map, if working then disabled another 3-6 triggers and play again.
This way you can eliminate triggers so your left with the trigger causing chrashes and when you got the trigger check the functions if theres anything wrong.
Else you could disabled some of the functions just like with the triggers.
Also check the object manager if there might be anything causing error.
 
Status
Not open for further replies.
Top