HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Strange Error in map(Crash)

12-28-2002, 01:48 AM#1
Guest
I'm working on a very-very trigger intensive map, and im about done, but for some reason it now crashes about 60 seconds into the map. I can't find a trigger thats causing it, so i'm turning to you guys. I'm going to upload a screenshot of the error I get.

Please let me know if you have any idea why.. I'll love you long time.
12-28-2002, 02:05 AM#2
Draco
All I can say is try to reload WarCraft 3 and get the latest patch....


Maybe install it in the default directory if you can.
12-28-2002, 03:23 AM#3
Phil_123
Quote:
Originally posted by Draco
All I can say is try to reload WarCraft 3 and get the latest patch....

Maybe install it in the default directory if you can.

1. install wc3 in ur preferred directory, crashes dont depend on installation dirs... e.g. i installed my wc3 in D:\Games\WarCraft III

2. we cant help if u dun post the map...
12-28-2002, 06:01 AM#4
Ari
I think I got that error (or something like it) when I accidentally created an endless loop. WC3 doesn't really like trying to run buggy code (ie, stuff that isn't noticed by the compiler but is buggy for some other reason), and crashes hard when it tries it, at least in my experience. Most likely culprit, if it's a bug and not some other issue, is in your events. It's easy to accidentally create circular logic in your events (event refers to unit, unit is refered to as "unit referred to by event"), so double check that. Also, in terms of general debugging principles, try disabling triggers until you remove the crash, then slowly re-enable some until you get the crash again. This will help you figure out which trigger is the problem.
12-28-2002, 12:28 PM#5
AIAndy
Such crashes can also happen when you try to read a field of an array where you do not have written before. Such as reading
a[1000] when only 1 to 10 have been written.
12-28-2002, 12:59 PM#6
Guest
How did you take a screenshot of that message?
12-29-2002, 12:42 AM#7
Guest
I found out the problem. somehow, worldedit doesn't like me editing ballista/mortar/catapult/meat wagon's projectile speed and range. Once i reset those units to default, the crash gos away.

Does anyone know why?