HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

JASS is giving the World Editor program errors?

11-10-2006, 09:09 AM#1
Ignitedstar
This is very strange. Whenever I change/add JASS code into my map and save, I get a an error. Not from your casual syntax error, but from a "We(windows) have encountered a problem with this program. blah, blah, blah, sorry for the inconvience." Then my map ends up not being saved and I have to do all of the work all over again. It's happened too many times to ignore, now.

Can someone tell me why this is happening?
11-10-2006, 10:32 AM#2
Anitarf
The WE syntax checker sucks and tends to crash on some errors. Try checking your code with an alternative syntax checker, or try adding your code slowly function by function to see which one is the problem.
11-10-2006, 06:58 PM#3
SFilip
http://www.wc3campaigns.net/showthread.php?t=80693
Usually this happens when you don't use endloop, endif or endfunction...WE doesn't detect this so it crashes.
I recommend that you use pjass on your code, it should point you to this error.
11-10-2006, 08:35 PM#4
Captain Griffen
WEHelper FTW. Bonuses:

- Doesn't crash on incorrect code.
- Easy to add globals of (almost) any kind.
- Preprocessor, and addons.
- Much more.

So switch to it and it won't crash with JASS any more, and give better syntax checking and display.
11-10-2006, 10:30 PM#5
nooK
But it gives errors for maps which save normally at We...
Nevertheless you should switch it`s a great tool :)
11-11-2006, 03:23 AM#6
Ignitedstar
Quote:
Added a plugin that loads WEU with WE Helper. Place it in WE Helper's Path\Plugins\LikeWEU.dll

That... Does not make sense. Zoxc should have explained it to a greater extent.