1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  4. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  5. The results are out! Check them out.
    Dismiss Notice
  6. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  7. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

1.24 Released!

Discussion in 'Latest Updates and News' started by PurplePoot, Aug 4, 2009.

Thread Status:
Not open for further replies.
  1. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    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:

    Code (Text):
    --------------------------------------------------------------------------
    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 (Text):
    • “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.

    Fixing JassNewGenPack for 1.24
    • 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).
     

    Attached Files:

    Last edited: Aug 7, 2009
  2. Aegis Runestone

    Aegis Runestone

    Joined:
    Sep 17, 2004
    Messages:
    269
    Resources:
    0
    Resources:
    0
    At last! The long night of darkness has passed! [/cliche]

    *goes and downloads it immediately!*
     
  3. Yixx

    Yixx

    Joined:
    Oct 12, 2008
    Messages:
    1,492
    Resources:
    3
    Spells:
    3
    Resources:
    3
    Omg! Great! I think this is what alot of JASSers and maybe also GUIers have been waiting for! Finally it is official,,
     
  4. Pyritie

    Pyritie

    Joined:
    Nov 26, 2006
    Messages:
    11,357
    Resources:
    60
    Models:
    30
    Icons:
    9
    Packs:
    3
    Skins:
    12
    Tools:
    1
    Maps:
    1
    Tutorials:
    4
    Resources:
    60
    Woot! Time for the purge!
     
  5. Just_Spectating

    Just_Spectating

    Joined:
    May 16, 2007
    Messages:
    7,023
    Resources:
    46
    Models:
    11
    Icons:
    9
    Skins:
    26
    Resources:
    46
    does it patch JNGP?
     
  6. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    JNGP works with 1.24.
     
  7. Darkness-4ever

    Darkness-4ever

    Joined:
    Nov 4, 2007
    Messages:
    763
    Resources:
    0
    Resources:
    0
    Ah, sorry I'm still new to this patch but what exactly is the "return bug?" and how would I know it if I see one.
     
  8. -Berz-

    -Berz-

    Joined:
    Mar 5, 2008
    Messages:
    3,203
    Resources:
    123
    Icons:
    111
    Packs:
    1
    Skins:
    1
    Spells:
    10
    Resources:
    123
    It was about time :D

    Now purge that goddamn spell section, it's a mess.
     
  9. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
  10. Pelsen

    Pelsen

    Joined:
    Jun 11, 2007
    Messages:
    65
    Resources:
    0
    Resources:
    0
    Um, how to download 1.24. The download doesn't start for me on any server and on the westafll server i can't even connect.
     
  11. Ranger21

    Ranger21

    Joined:
    Dec 19, 2008
    Messages:
    273
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Don't purge spell section and map section. New patch have to many errors.
     
  12. Super-Sheep

    Super-Sheep

    Joined:
    Oct 21, 2006
    Messages:
    2,823
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Bigger map size was a false alarm?
     
  13. En_Fuego

    En_Fuego

    Joined:
    Sep 3, 2006
    Messages:
    1,186
    Resources:
    0
    Resources:
    0
    Wasn't that for SC2?

    edit: nvm, 8mb is the new limit I hear.
     
    Last edited: Aug 4, 2009
  14. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    Worked fine for me, but a friend of mine had to reinstall wc3.

    The maps section isn't being purged. The spells section will be, as the patch problems don't mean the return bug doesn't have to be removed.
     
  15. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    :d

    !!
     
  16. Ranger21

    Ranger21

    Joined:
    Dec 19, 2008
    Messages:
    273
    Resources:
    1
    Maps:
    1
    Resources:
    1
    let's start wait for 1.24b xD

    :)) Need stability, that everythings...
     
  17. Jack_Sparrow93

    Jack_Sparrow93

    Joined:
    May 9, 2008
    Messages:
    1,432
    Resources:
    6
    Icons:
    5
    Maps:
    1
    Resources:
    6
    Why can't I host some maps? What did that? What was so important to upgrade?
     
  18. DoOs_101

    DoOs_101

    Joined:
    Aug 7, 2004
    Messages:
    835
    Resources:
    6
    Maps:
    5
    Tutorials:
    1
    Resources:
    6
    This update is a total chaos, are the new natives even working properly? The update is mandatory now right, meaning its no longer beta? If so I'ma have to update some stuff with my two maps...

    DotA
    [​IMG]
     
  19. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    Return bug was "fixed" (not really, there is still a way to do it); this was meant to prevent the virus maps problem.
     
  20. Jack_Sparrow93

    Jack_Sparrow93

    Joined:
    May 9, 2008
    Messages:
    1,432
    Resources:
    6
    Icons:
    5
    Maps:
    1
    Resources:
    6
    Does I need a newer NewGen editor or what shall I do?
     
Thread Status:
Not open for further replies.