HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Fatal Error analyzing

08-13-2008, 11:38 PM#1
The_AwaKening
I'm recently getting fatal error crashes in my map. I remember at one time Pipedream saying he could analyze the error codes and possibly narrow down the problem. I haven't been here in a while and don't know if he's still around. Anyone else good at something like this?
08-14-2008, 01:49 AM#2
Ammorth
Post a screen of the error and someone may be able to help you. Leaving the error out is a little stupid imho.
08-14-2008, 11:47 AM#3
rulerofiron99
Common Fatal Error causes:
Invalid player number in triggers. (not between 1 and 16, or not number)
Infinite instant loops (e.g. trigger - run (this trigger) without waiting)
Fail't dual core drivers (not because of map)
Fail't sound drivers - delete the 'redist' folder in wc3 directory. (not because of map either)

Basically, just post any code you have recently added. If you have no idea when the errors started coming, play older versions until you find out in which one the errors first appeared. Then analyse the code differences, and post it.
08-15-2008, 04:35 PM#4
The_AwaKening
I know what types of things cause fatal errors, but I can't pinpoint when it started happening, and most games it doesn't happen, making it difficult to find. I have so much code in the map, it would take very long to search through it all. That's why I wanted to know if someone could pick apart the error file. I would have posted it already, but I'm on a business trip and don't have the map with me. I'll post the error tomorrow when I get home.
08-15-2008, 09:21 PM#5
rulerofiron99
I can't use WE for a while (parents took my PC away because I'm writing exams) so I won't be able to help you analyse it, but this would be a simple method of checking if it is one of the errors I mentioned:

Make a new map and make a trigger that uses a player number about 16.
-Check the error message.

Make another new map and make a trigger that runs itself instantly.
-Check the error message.

And try to reproduce all other errors that you know of, then just compare error messages. High chance of success.

(In an ORPG of mine, I had a LAN-based -w command for whispering, but if you didn't enter a player number in the next two characters, the game would crash. E.g. -wtf = crash.)
08-15-2008, 11:04 PM#6
watterly
Also check if you are not removing a "null" unit; I had that type of FE when I tried to remove a non-existant unit; game crashes.