Has someone made a version of localvars that works with the new system?
Worrying about backwards compatibility impedes development. For JASS this would mean...For breaking backwards compat
If I had to guess, localization.And why the hell is it for US-English Wc3 Versions only?
But even in germany we have US-English versions to buy.If I had to guess, localization.
//the normal H2I
function H2I takes handle h returns integer
return h
return 0
endfunction
//another H2I version
function H2I_alternative takes handle h returns integer
return h
endfunction
If i got that right there are about 80% of all maps using the old H2I and they are gone now. This is just ridiculous and i (and perhaps some other JASSer´s too) don´t care if the new "native", if it is really a native and not just a hidden BJ, is really faster and until now H2I was fast enough.Blizzard Entertainment (Karune) said:Please note that these changes apply to only a small set of custom map developers, and most Warcraft 3 custom maps remain unaffected.
Oh yea definitely it is ! I have an idea: what is when there are enough people who tell blizzard not to release their patch or at least keep the old H2I running ? Is this not possible ?Anachron said:Maybe the epic fail of this year.
type hashtable extends whatever
You call it a bug and you don't want it fixed? I'll paraphrase something I once heard: "Wouldn't it be nice if we didn't have to rely on their bugs?" I'm pretty sure there were always workarounds to the issue instead of using this bug.they couldve fixed the buffer overflow attack without removing the return bug.
It returns the exact same thing. It is just faster as it is native and does not have so much code running to do it. Also as it is native it does not have to be added to scripts any more and so boosts general map performance by a nearly unnoticable quantity.
The string one returns the string hash ID, also boosint performance a tad if you use systems like handlevars.
My spell I updated shows realitvly correct and efficent use of the new hashtable system. I advise checking it out. Yes it can be made better once the bugs with primitive types are fixed, but generally they seem pretty good and have greatly improved the efficency and buglessness of my spells.
This guide has been written to help advanced Warcraft III map developers understand the changes that we’ve made to the JASS functionality. Please note that these changes apply to only a small set of custom map developers, and most Warcraft 3 custom maps remain unaffected
define {
H2I = GetHandleId
}
Ah. Did Blizzard happen to say this on April Fools?When the return bug was discovered Blizzard said they are not going to fix it.
Hakeem, the thing is: When the return bug was discovered Blizzard said they are not going to fix it. They had the chance to fix the bug back then, but didnt use it. Everyone started using the bug, relying on Blizzards statement not to fix the bug.
Now its 2009 and a remotely related exploit is found, and Blizzard decides to fix the return bug, screwing over all users who thought it would never get fixed.
And yes, i think not breaking backwards compatibility is more important than fixing a (harmless) bug. If the only way to fix the exploit would be to fix the return bug i wouldnt be complaining, but i am complaining since fixing the return bug was not necessary, not at all.
Hello there, random number pulled straight out of your ass...and blizzard speaks truth! for this people who dont know (well simple) check out some sites with mass amount of maps and u will see what i mean!
lesser then 14% of maps will be effected by this changes!
Hello there, random number pulled straight out of your ass...
If you're ofcourse talking about the tons of maps that use unmodified melee heroes and lacking any form of gameplay that seem to be spammed on battle.net, then indeed the majority of maps won't be affected. But the quality of that majority of maps is basically poop.
Nevertheless I'm all for new natives, and I personally am willing to sacrifice compatibility, but just nodding "yes, yes" without thinking it through yourself just because blizzard says so is cowpoop.
Every map made in jass that wasn't made by a half-assed loonatic will be screwed up.
And i think you are being naive. Counting Melee maps with those maps? Yes they are maps but they got no coding! (yeah the Melee setup, but that is all!),, and those crappy maps will not be affected,, but who plays them? I think you should count the amount of maps that is actually played instead of thinking of all maps ever made, then you can also include the 5 maps i once started but never finished because i couldnt make a hero spawn (dark past),,
Trust me, it is worth it for the new natives.
I have tested them out with an update for my old spell pack and they are working beautifully and less buggy han ever before without serious performance drains.