HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger crashes we on save

09-03-2007, 01:12 AM#1
botanic
I have a trigger that when I try to save it crashes the we. I would paste it here but it is too long and the server gives me a memory error :/ So it is attached as a txt file...

EDIT also attached it as a zip so that filesize is smaller
Attached Files
File type: txttest.txt (1.1 MB)
File type: ziptest.txt.zip (22.4 KB)
09-03-2007, 01:49 AM#2
TaintedReality
I think triggers converted to custom script only accept so much code or they get angry. It might just be too long, try putting the bulk of it in your custom script section.
09-03-2007, 04:22 AM#3
botanic
um... it is not converted at all... but ill try the custom script thing ^.^

and its only about 330k lines so i don't see how it could POSSIBLY be too big :P

EDIT: No the custom script thing didn't work still crash-a-de-do-da


EDIT 2: Actually i think I found the problem as well as another JASS bug

The custom script had no space at the end of it and the next trigger started on the first line so the .wct had this line in it

"//endlibrary\0\0\0\0\0\0\0\0 \0function tracks takes nothing returns integer"
09-03-2007, 05:37 AM#4
TaintedReality
Quote:
um... it is not converted at all... but ill try the custom script thing ^.^

I was just unclear, I didn't mean you converted that from a GUI trigger or anything =P.

Quote:
The custom script had no space at the end of it and the next trigger started on the first line so the .wct had this line in it

"//endlibrary\0\0\0\0\0\0\0\0 \0function tracks takes nothing returns integer"

That happens to me a lot ><.
09-03-2007, 05:41 AM#5
botanic
I think that bug should be added to the bug list :P it crashes it and with a trigger as long as mine its kinda hard to put it into a parser program :P

Tho that wasn't the whole problem as it still crashes :/