MasterOfRa
New Member
- Reaction score
- 10
i did that too...
Yea I know but there have been posts all over the forums about it, or at least containing something about patch 1.24.
Sorry for being a total noob asking this, but can't even update the new patch. I receive an error complaining about the worldedit.exe...?
And probably my fault.
So is that. +rep.wtf! I searched for patch 1.24 in google, and there, I can download patch 1.24, but each time I clicked the 1.24 link, it redirects me to patch 1.23a, and when i clicked the patch 1.23 to 1.24 upgrade, it also directs me to 1.22 to 1.23a upgrade
where the hell I can download this patch?
function CS_H2I takes handle h returns integer
return GetHandleId(h)
endfunction
Even if the info was avaliable, well it could have been better if they posted on the battle.net welcome page. (Yes, yes I'm lazy I don't go to the support forums)
Just in case somebody finds this useful.
1.24 Checklist
1. Change H2I to GetHandleId.
2. If your map uses any custom Blizzard.k, common.j, *.ai etc, update em.
3. If your newgen isn't working suddenly (crash, error, overflow etc), download the 5d version, update your wc3, and run 'NewGen WE.exe'. (At least the combination worked for me)
4. Read this! http://www.wc3c.net/showthread.php?t=106305
5. Seems like there is a funky bug. Read http://www.wc3c.net/showpost.php?p=1096978&postcount=12 or the other 1.24 thread http://www.thehelper.net/forums/showthread.php?t=133555
As was found in the beta version, the Mac World Editor is incompatible with 1.24 (in fact, it has not been updated since version 1.21) - its syntax checker does not recognize the new natives and returns syntax errors in Blizzard.j and common.j, meaning the trigger editor is completely unusable. For example, creating a fresh map, disabling the standard Melee Initialization trigger, and trying to re-enable it will return errors ("Unregistered native function").
A partial fix I've found: extract the Scripts folder from the 1.23 War3Patch.mpq and place it in the root Warcraft III Folder. If you do not have a backup, you can get that folder here: link. The World Editor will read these files for its own use, while Warcraft will continue to use the data in the patch file. The World Editor will be able to open maps that use the new functions in 1.24 and you will see them in the interface, but you will not be able to use them and you will not be able to compile triggers in a map that uses the new functions, because it cannot recognize the new ones.
It's a bad day to be a Mac Warcraft mapper... :banghead:
It's not that hard to fix :nuts:
Just remove H2I from your map and replace any H2I( calls with GetHandleId(
JassHelper isn't what tells you your errors, pJASS is. Anyways don't just replace your H2I calls, remove the H2I function completely from your map.