HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Damn Syntax Error

01-24-2010, 02:07 PM#1
Archian
Howdie folks!

Well, at first I got a syntax error with 68 complied errors.

Then I decided to delete my current JNGP, and download a new one.
And, download the latest JassHelper, and replace the files in the JNGP.

Now, I get 28 complied errors.

I should let you know, that Rain.mon, who does the scripting part for D3TFA, have no problems with this, but when I try to save the map I get this error:

Click image for larger version

Name:	Untitled-1.jpg
Views:	37
Size:	194.5 KB
ID:	47662

Any idea of what's going on?
Attached Images
File type: jpgUntitled-1.jpg (194.5 KB)
01-24-2010, 02:33 PM#2
Fireeye
The 2-D arrays are propably the cause of the syntax errors.
2-D arrays are not possible in normal JASS.
Don't know how far it is compiled though, but can not see anything else at the moment.
01-24-2010, 02:37 PM#3
blanc_dummy
Quote:
Originally Posted by Fireeye
The 2-D arrays are propably the cause of the syntax errors.
2-D arrays are not possible in normal JASS.
Don't know how far it is compiled though, but can not see anything else at the moment.

but he used JNGP
01-24-2010, 02:51 PM#4
Fireeye
Quote:
Originally Posted by blanc_dummy
but he used JNGP

I know, but if you take a look on the picture, it seems like the output script.
I don't think any sane mapper would use 's__Item_fireChance' as variable name.
So there is the question, is it the completly finished output script or not?
01-24-2010, 11:11 PM#5
Archian
Why does this not happen for my co-leader rain.mon, but for me it does, is the question?
01-25-2010, 08:06 AM#6
Anachron
Replace the JassHelper version maybe? :)
01-25-2010, 08:50 AM#7
DioD
double array syntax dont compile, for unknown reason use offset + size manually.
01-25-2010, 08:56 AM#8
Anachron
Well, also since you are using a hashtable I suggest using Table.
01-25-2010, 10:11 AM#9
Archian
Quote:
Originally Posted by Anachron
Replace the JassHelper version maybe? :)
Already did, didn't help...
01-26-2010, 11:21 AM#10
Archian
I'm I doing something wrong here?

I just downloaded JNGP and the latest JassHelper on my laptop... And I still get the damn error?

Can someone please explain to me, in details, how the get their world editor up and running with NewGen and all that JAZZ?

Thanks in advance!
01-26-2010, 11:28 AM#11
Anachron
1st: Download JNGP.
2nd: Extract it.
3rd: Open JNGP.
4th: Disable Reinventing the Craft. (Menu item)
5th: Close JNGP.
6th: Download JassHelper.
7th: Extract it.
8th: Replace the 3 files of the JassHelper directory of JNGP with those who you extracted. (You extracted more, but only the 3 main files have to be replaced)
9th: Open JNGP. Now you should be able to use the latest vJass version.

I had to change something into the lua, but you should't have to.
01-26-2010, 02:35 PM#12
Archian
Quote:
Originally Posted by Anachron
1st: Download JNGP.
2nd: Extract it.
3rd: Open JNGP.
4th: Disable Reinventing the Craft. (Menu item)
5th: Close JNGP.
6th: Download JassHelper.
7th: Extract it.
8th: Replace the 3 files of the JassHelper directory of JNGP with those who you extracted. (You extracted more, but only the 3 main files have to be replaced)
9th: Open JNGP. Now you should be able to use the latest vJass version.

I had to change something into the lua, but you should't have to.

I dont think I've ever disabled Reinventing the Craft. What has that got to do with anything?

Also, exactly what 3 main files, wanna make sure I do everything alright here?

JassHelper.exe and cliJassHelper.exe and jasshelper.conf, right?
01-26-2010, 02:39 PM#13
Anachron
Quote:
I dont think I've ever disabled Reinventing the Craft. What has that got to do with anything?
Its using a function that normal wc3 hasn't, so it gives compile errors and such.
It was thought for a hacked wc3 version, however, its not mpi and nobody uses it at all.

Quote:
Also, exactly what 3 main files, wanna make sure I do everything alright here?

JassHelper.exe and cliJassHelper.exe and jasshelper.conf, right?
Exactly.
01-26-2010, 02:47 PM#14
Archian
Didn't work. And reinventing the craft was already disabled :/

When you guys open JNGP, you also see this right? And then get 4-6 errors, and then you're ready to go?

Click image for larger version

Name:	Untitled-1.gif
Views:	9
Size:	118.6 KB
ID:	47726

The fun thing is, I had to disable and then enable UMSWE first.

Come on, is there something you guys aren't telling me here? Tell me the exact details, please.
Like, what do you have enabled etc.
Attached Images
File type: gifUntitled-1.gif (118.6 KB)
01-26-2010, 03:01 PM#15
Anachron
Start the worldeditor with JassNewGen WE.exe?!
Why do you see that umswe thing? :S

I have everything to default, except disabled RtC.