• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] JassHelper went awol

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,763
I was making a JASS code and, all of a sudden when i save, i get this error

"Missing: endblock"

JASS:
// Trigger: NumberEncrypter
//
// checksum=StringHash(StringCase(GetPlayerName(player)+PLAYER_CHECKSUM_SALT,false))
// if (0>checksum) then
//     set checksum=-checksum
// endif
// minChecksum=R2I(maxChecksum*CHECKSUM_VARIANCE)
// checksumRange=maxChecksum-minChecksum
// checksum=checksum-checksum/checksumRange*checksumRange+minChecksum

First of all, that entire thing is a comment. Second of all, i wasnt even touching that. What happened...

we/ Google says i forgot to end an "if then else" or a loop. Disabling all JASS triggers i manually made produces thise rror

Syntax Error : unexpected: "in"?

set in = in + 1

(yes its an initialiezd variable)
 
Last edited:
Sometimes JassHelper will throw an error for the wrong area. Are you able to post the map? Either it is something else or your JassHelper is not working properly. (in which case, you may want to redownload JassHelper)

i re-dled jasshelper and it still does that. ill post the map momentarily, as I also need to post it for another error

/e fixed. i had accidently declared a global called "in" and it was a different type than the "in" in that trigger and they were messing up

idk what that Missing : Endblock stuff was tho
 
Last edited:
Status
Not open for further replies.
Back
Top