HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

vJass problem --> WE crashes

04-23-2007, 09:50 PM#1
Sliderman
I installed Jass New Gen Pack v3.
Every time I try to use vJass, WE crashes at saving :/
For example, I begin a new map and type this :
Collapse JASS:
struct piece
    unit u
    integer x
    integer y
    player owner
endstruct
I try to save and it crashes. Any idea of why it does it ?
04-23-2007, 09:57 PM#2
Ammorth
Make sure you are using grimoire and compiling the map with JassHelper (startup WE with the "NewGen World Editor.exe"
04-23-2007, 10:11 PM#3
Sliderman
I unzipped the .rar file, then run "NewGen World Editor.exe".
Could the problem be from the fact that my wc3 version is french ?
04-24-2007, 12:33 AM#4
Sliderman
I opened OOMS.w3x from MadLion and added this at beginning of the script to try :
Collapse JASS:
struct piece
    unit u
    integer x
    integer y
    player owner
endstruct
And the save worked perfectly. What did I forget to do ?
04-24-2007, 02:07 AM#5
DioD
i have a WE crush with Jass New Gen Pack v3, BUT map still saving correctly.

check is map saved
04-24-2007, 03:31 AM#6
Sliderman
Yes the map is saved.
04-24-2007, 03:58 AM#7
PurgeandFire111
Are those locals even set? Or are you setting them there? If you are setting the locals, they must follow as so:
Collapse JASS:
     local <type> <name> (Optional: = <Value> )
Or did I misunderstand your code?
04-24-2007, 04:29 AM#8
Ammorth
he's using vJass. Structs are a new object which contain variables. They do not use locals, since they are techincally global.

Edit: It seems to compile fine for me.
04-24-2007, 08:47 AM#9
Sliderman
in other words, structs are a group of variables.
after the declaration u can do for example :
Collapse JASS:
local piece p
set p.x = 5
set p.y = 3
04-24-2007, 07:00 PM#10
Toadcop
Sliderman yes i got the same problem... and i don't what to do i use Jass New Gen Pack v1 and all works well...
04-24-2007, 08:24 PM#11
Sliderman
what is there more in the version3 ?
04-24-2007, 08:39 PM#12
Vexorian
Nothing related to vJass syntax should ever crash world editor since jasshelper is another process so an error with jasshelper would just crash jasshelper.

Quote:
what is there more in the version3 ?
A lot.

Many information you could tell me is missing:
- Operating System?
- warcraft language?
- Warcraft III patch version?

---
This is the way the grimoire menu should look:
Attached Images
File type: pngafaik.png (16.4 KB)
04-24-2007, 08:47 PM#13
Sliderman
Windows XP
French version (but a friend has eng version and it crashes with him too)
last war3 version (we play on battle.net)
04-24-2007, 08:50 PM#14
Vexorian
I don't know, now that I remember once I had a funny character encoding in some code and it caused grimoire to crash, so perhaps it was related to international characters ?

(It did crash grimoire, not jasshelper ...)

--
And just so other people can notice this:
- newgen 3 didn't check the menus correctly because somehow grimoire decided to use the registry (boo!)
- I made newgen 3a setup the correct default menu checkboxes, (like disabling world edit's syntax)
- But it would only do it if you use the "NewGen world editor.exe" and it won't do it if the registry is already set
- Because of this if you installed newgen v3 already, even if you upgraded to v3a it won't fix the checkboxes, you will have to learn to check them correctly yourself.
04-24-2007, 10:43 PM#15
DioD
XP SP2
En-Gb
121

map saved well but editor crush, dunno why, but its always crush or never crush, reboot fix this problem but its lame to reboot all the time.

and russian characters in jass code force mass errors making it unable to save, this is problem of comments (text after "//")