jasshelper compile error

Status
Not open for further replies.
Level 13
Joined
Oct 16, 2010
Messages
680
line x : Can not convert returned value from real to integer

function GetFadeFromSeconds takes real seconds returns integer
if (seconds != 0) then
return 128 / seconds
else
return 10000
endif
endfunction

my problem is this error is in the blizzard.j file not in my map...
tryed redownloading JNGP 2.0 and reinstalling it multiple times
the game is patched to 1.21b .

what can went wrong?
 
Weird but by redownloading it, it should work by now, Try downloading it in its official site which is Blizzard Modding Site or your last resort is downloading it from internet which you cant assure if its safe or even working though.

Also 1.21 is too outdated. Latest is 1.26.
 
Extract the blizzard.j from the War3patch.mpq (I think that's where the lates one is, I forgot, just try) and copy-paste it to JNGP\jasshelper\ folder.
 
You sure the map you're compiling doesn't have an imported blizzard.j? I don't think jasshelper replaces a file like how windows replaces a protected file.
 
Status
Not open for further replies.
Back
Top