I have set up JNGP as per the instructions on this forums, including updating
the native list. Most of the code I have written works without issues and I
had no problems with executing my functions and the worked how I wanted
hem to work.
When I got to the point when I wanted to test struct, libraries and scopes I
encountered quite an obstacle. It seems that whenever any of these are in
my code it simply won't compile. When I check syntax the response is
"syntax error" and three additional entries of "Statement outside of function"
for the same line.
Saving the map gives no errors and when I try to test the map I get to the
main menu of wc3tft. Selecting the map in custom game shows no available
player slots for the map.
The only time any of these statements worked was when I tried one of the
demo maps included in the JassHelper folder. The syntax check still reported
problems, but saving the map worked and I could run it nonetheless.
I tried to copy all the triggers from the "interfaces.w3x" into a new map and
it doesn't work. I tried adding any of the three statements to a completely
new map and it doesn't work.
I am running it on a pc with win 7 ultimate. I tried running the editor in
compatibility mode for win xp sp3 and all the same errors still apply.
I would greatly appreciate it if anyone would be able to tell me what I am
doing wrong so that I can continue with my project. I have spent the last
hour just searching the site for similar cases, but to no avail.
Thanks a lot
/Durk
the native list. Most of the code I have written works without issues and I
had no problems with executing my functions and the worked how I wanted
hem to work.
When I got to the point when I wanted to test struct, libraries and scopes I
encountered quite an obstacle. It seems that whenever any of these are in
my code it simply won't compile. When I check syntax the response is
"syntax error" and three additional entries of "Statement outside of function"
for the same line.
Saving the map gives no errors and when I try to test the map I get to the
main menu of wc3tft. Selecting the map in custom game shows no available
player slots for the map.
The only time any of these statements worked was when I tried one of the
demo maps included in the JassHelper folder. The syntax check still reported
problems, but saving the map worked and I could run it nonetheless.
I tried to copy all the triggers from the "interfaces.w3x" into a new map and
it doesn't work. I tried adding any of the three statements to a completely
new map and it doesn't work.
I am running it on a pc with win 7 ultimate. I tried running the editor in
compatibility mode for win xp sp3 and all the same errors still apply.
I would greatly appreciate it if anyone would be able to tell me what I am
doing wrong so that I can continue with my project. I have spent the last
hour just searching the site for similar cases, but to no avail.
Thanks a lot
/Durk