common.j file missing
Moderator: Cheaters
-
- Member
- Posts: 71
- Joined: June 18th, 2010, 7:10 pm
- Title: W4NN4B3
common.j file missing
Everytime I open a war3map.j in JASScraft it says "Did not find the WARCRAFT MPQ FILE! Please put Common.j in this folder too". But I can't find the warcraft MPQ nor the common.j file, sooo, what to do? Since it really bugs my syntax checks out .
-
- Forum Staff
- Posts: 762
- Joined: October 27th, 2009, 12:18 pm
- Location: Australia, GMT+8
Re: common.j file missing
redownload jasscraft
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
-
- Member
- Posts: 71
- Joined: June 18th, 2010, 7:10 pm
- Title: W4NN4B3
Re: common.j file missing
Didn't help. Trying to download an older version than 1.1.3
UPDATE:
Downloading an older version worked. Simply need to find out what's troubling me with the last 2 lines.
Can you help with that Kyo?
It says:
"Line 6475: Symbol R multiple defined"
^That's line 6475, what "R" isn't defined?
Added war3map.j in case you need to look at that .
UPDATE:
Downloading an older version worked. Simply need to find out what's troubling me with the last 2 lines.
Can you help with that Kyo?
It says:
"Line 6475: Symbol R multiple defined"
Code: Select all
local location l=GetSpellTargetLoc()
Added war3map.j in case you need to look at that .
You do not have the required permissions to view the files attached to this post.
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: common.j file missing
says its on line 6480 to me
and....
6477 local real y=GetLocationY(l)
6478 local rect r=Rect(x-300,y-300,x+300,y+300)
6479 local group g
6480 local rect r
6481 set BX=1
look at line 6478... already has a rect local defined as r
cant declare it again at line 6480 with same name
sometimes, with those, the error is on the line before/after
just look around it to see whats wrong
and....
6477 local real y=GetLocationY(l)
6478 local rect r=Rect(x-300,y-300,x+300,y+300)
6479 local group g
6480 local rect r
6481 set BX=1
look at line 6478... already has a rect local defined as r
cant declare it again at line 6480 with same name
sometimes, with those, the error is on the line before/after
just look around it to see whats wrong
-
- Member
- Posts: 71
- Joined: June 18th, 2010, 7:10 pm
- Title: W4NN4B3
Re: common.j file missing
Fixed the thing, thank you natures .
Also, can you tell me the thing about line 3740? It says "return types not correct or nonexistant returns" but if I try to delete it, it simply states that OMW is undeclared another place.
Also, can you tell me the thing about line 3740? It says "return types not correct or nonexistant returns" but if I try to delete it, it simply states that OMW is undeclared another place.
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: common.j file missing
was something in that function before you edited it?
its supposed to have return(something)
if you just delete the function, since it's declared somewhere else, you have another error
just make it return something o.o
(true, false, etc)
ex:
function OMV takes nothing returns boolean
return true
endfunction
its supposed to have return(something)
if you just delete the function, since it's declared somewhere else, you have another error
just make it return something o.o
(true, false, etc)
ex:
function OMV takes nothing returns boolean
return true
endfunction
-
- Member
- Posts: 71
- Joined: June 18th, 2010, 7:10 pm
- Title: W4NN4B3