- Joined
- Dec 14, 2005
- Messages
- 10,532
1.24 has now been officially released. This means that spells section purge will be starting as soon as possible, and you should all be ready to re-release all old maps and spells which may be affected by the patch.
The changelog:
Also, thanks to Glica for pointing out this bit that was only included on www.battle.net:
Apparently the "return bug" workaround still has not been fixed, so hopefully blizzard will get on that already. Also, for all you JassNewGen/WEHelper/etc users, be careful; PJass will not report the Return Bug as a compile error.
If you get a bunch of "unregistered native function" errors, make sure to select "Disable WE Syntax Checking" in the Grimoire menu.
--------
For people who can't successfully use the test map feature in JassNewGenPack, uncheck "Enable Reinventing the Craft" in the Reinventing the Craft menu.
--------
For those of you who are complaining that your map does not run after a successful compile, this is because it did not actually succeed in compiling; rather, pJass is still compatible with the return bug and thus will not report it as an error.
To fix this, try getting the raw JASS behind your vJASS code (if applicable) and then compiling it in a test map in the vanilla World Editor.
Also, be careful with Vexorian's Map Optimizer's older versions (the newest one is apparently mostly functional) (explanation).
The changelog:
Code:
--------------------------------------------------------------------------
Patch 1.24
--------------------------------------------------------------------------
PC WORLD EDITOR CHANGES
- Added new JASS hash table functions to replace the lost functionality from
fixing unsafe type casting.
- Hash Table - Save Item Handle
- Hash Table - Save Unit Handle
- ...
- Hash Table - Load Item Handle
- Hash Table - Load Unit Handle
- ...
- Hash Table - Get Handle ID
FIXES
- Fixed an exploit related to unsafe type casting that allowed users to
execute arbitrary code in maps.
- Fixed the JASS unsafe type casting exploit ("return bug").
- Fixed several World Editor crashes.
Also, thanks to Glica for pointing out this bit that was only included on www.battle.net:
Code:
• “Shadowing” global variables with local variables no longer is possible.
• Fixed a type conversion dealing with operators (i.e. adding a handle with an integer)
• Added the ability to store hashtable handles in a hashtable
• Added getSpellTargetX and getSpellTargetY natives
• Added a new base handle type “Agent” of which many types now extend from.
• Added a SaveAgentHandle native which can be used for saving most handle types
• Added a JASS optimization dealing with global variable change events.
• Increased max map file size from 4MB to 8MB.
Apparently the "return bug" workaround still has not been fixed, so hopefully blizzard will get on that already. Also, for all you JassNewGen/WEHelper/etc users, be careful; PJass will not report the Return Bug as a compile error.
- First, ensure you have JassNewGenPack5d.
- Next, open <your JNGP folder>\jasshelper\
- Next, replace the common.j file and Blizzard.j file with the ones included in this post.
If you get a bunch of "unregistered native function" errors, make sure to select "Disable WE Syntax Checking" in the Grimoire menu.
--------
For people who can't successfully use the test map feature in JassNewGenPack, uncheck "Enable Reinventing the Craft" in the Reinventing the Craft menu.
--------
For those of you who are complaining that your map does not run after a successful compile, this is because it did not actually succeed in compiling; rather, pJass is still compatible with the return bug and thus will not report it as an error.
To fix this, try getting the raw JASS behind your vJASS code (if applicable) and then compiling it in a test map in the vanilla World Editor.
Also, be careful with Vexorian's Map Optimizer's older versions (the newest one is apparently mostly functional) (explanation).