• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Looking for 1.24 script syntax checker

Status
Not open for further replies.
Level 3
Joined
Sep 11, 2004
Messages
63
I have a protected map that worked flawlessly in 1.23, but 1.24 broke it, and it's impossible to reach the map author to get unprotected map to fix it since the map is pretty old, so I have to extract war3map.j to fix it, the problem is the syntax checker from jasscraft is not up to date, I extracted .j files from latest patch mpq and put them in jasscraft/pjass directory, fixed a zillion of compile errors from syntax checker and changed H2I to GetHandleId(h) and syntax checker returned no more errors, but when I tested the map in game it stills gave the message "cannot find game" or fall back to map selection screen directly(from my experience with mapping it means script syntax error), so I am looking for a working 1.24 syntax checker(worldedit is definitely out of the question for a protected map) to fix the script, or someone who is more familiar with 1.24 changes could kindly point out what else was broken by 1.24 besides the return bug.

Thanks in advance.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
  1. Extract blizzard.j
  2. Open the war3map.j and copy the globals block (Excluding the globals/endglobals keywords themselves).
  3. Paste the globals inside the blizzard.j globals block.
  4. Import this blizzard.j into a blank map and change the path to scripts\blizzard.j.
  5. Copy the rest of the map's script (excluding the main, config, InitCustomTeams, and other script-generated functions) into a blank trigger in the map.
  6. Save the map and find the compile errors.
 
Status
Not open for further replies.
Top