Has anybody tried out 1.24?

lovexylitol

New Member
Reaction score
2
I'll have to try it out as soon as I get home.

Not sure if I read it right, but looks like H2I might not work any more.

Warcraft III v1.24 Patch Notes


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.
 

Dirac

22710180
Reaction score
147
All of my triggers where disabled and im unable to save my map... i think blizz screwed things up
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
Blizzard fixed the return bug. Any map that uses it will be unsaveble and unplayable.
The only fix is to stop using the return bug, eg remove all or update all systems that uses it and rewrite your own code to not use it.
For the special case of replacing H2I blizzard provided GetHandleId
 

LurkerAspect

Now officially a Super Lurker
Reaction score
118
Excuse my ignorance, but what is the return bug, and how can compensate for it to save my WIP before I get the patch?
 

woot

New Member
Reaction score
8
ACK my map is full of those

that's crappy .. its so much easier to have multiple returns in a function


does this only cause the map to not compile properly in 1.24 .. or does it also not work at all when played in 1.24 (if compiled in an earlier version)
 

Dem0n_Hunter

Active Member
Reaction score
2
Well I had a map saved in 1.23 but now I can't open it so I guess if you saved on older version u still can't open it in 1.24 that one of the reasons dota doesn't work anymore
 

Romek

Super Moderator
Reaction score
964
> This news has been around for at least a month.
The patch was made official today.
 

Dem0n_Hunter

Active Member
Reaction score
2
Which news? that the return bug is fixed and we're all screwed. (at least me)
or the new patch is coming out
 

Romek

Super Moderator
Reaction score
964
The patch has been beta for a very long time now.

You missed out on a lot. >.<
 

Kazuga

Let the game begin...
Reaction score
110
Didn't see that one coming... Hope my map isn't ruined, if it is I'm going killing spree on Blizzard. (Worked on it for over a year.)
 
Reaction score
341
Didn't see that one coming... Hope my map isn't ruined, if it is I'm going killing spree on Blizzard. (Worked on it for over a year.)

It's not that hard to fix :nuts:

Just remove H2I from your map and replace any H2I( calls with GetHandleId(
 

lovexylitol

New Member
Reaction score
2
Hmmm.

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
 

MasterOfRa

New Member
Reaction score
10
Is there a way to determine where my bugs are? Ive already looks through all my triggers and changed usage of the H2I to GetHandleId, and it didnt help.

Is there a new jasshelper yet that tells you where you didn't follow these retarded new rules? they may be necessary to prevent people from using the byte code thingy, but i would really prefer risking that than not being able to host, or even test any of my custom maps, that i spent so much time on...
 
Reaction score
341
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.
 
General chit-chat
Help Users
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top