• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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