Questions regarding the 1.24 patch disaster and how to fix a map

Ouguiya

New Member
Reaction score
11
Hello everyone!

As almost all of you may know, the 1.24 patch was a complete disaster on many maps.

Now, in a desperate effort to fix mine, I would like to ask a few questions, which I hope some of you can answer.

  1. GUI-Editability: The first question concerns editing the map with the GUI-Trigger-editor. The map I am trying to save from oblivion is almost completely GUI, with a few small exceptions. Supposed that I remove ALL custom JASS code, would the map work completely or is even GUI messed up and a danger?
  2. JASS question: I have a few things which are JASS, unfortunatly. I cannot really delete them or substitute them for other things. What I need to know is: What things in JASS cause the map to become unplayable, and how can I fix it
  3. Can anything else besides the triggers cause the map to become unplayable, provided that it worked before the patch was out. (Things like custom models, object editor negative values etc.)
  4. Does JASS Newgen pack still work, or will it automatically cause it the map to become unplayable?
  5. Does vJASS still work, or has Blizzard screwed this up as well?

Thanks and +rep for a good answer to any of the questions.

Yours,

Ouguiya
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Question what, if any, systems in v/Jass are you using. Pure GUI will work aside from shadowing global variables.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
The things to look out for when it comes to JASS is basically returns now. If you have something like this:

JASS:
function H2I takes handle h returns integer
    return h
    return 0
endfunction


Or something like this:

JASS:
if (Conditions) then
    return x
elseif (conditions) then
    return y
else
    return z
endif


You would have to replace them.

> Note: I think it's quite wierd that so many people have been affected by this patch, and I haven't seen any problems, at all, with any of my maps :S That's kinda wierd I think, lol XD

Same here. I patched and NewGen and whatnot worked just as planned. Only thing I had to do was replace a single H2I function.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
1. As far as I know, GUI should be working completely as normal :D Though if you're using EGUI, that won't work :(

2. Check out the many threads about this in the JASS Forum, there you should find your answer :D
Though there are some things I know of, for example that "elseif"s doesn't work always anymore, and the "return bug" H2I won't work either :( Though if there aren't that much JASS in your map, maybe post it and I might be able to help :D

3. Don't think so... Have you imported anything after the patch ?

4. Yepp, should be working as normal :D

5. Yes, same here :D

Note: I think it's quite wierd that so many people have been affected by this patch, and I haven't seen any problems, at all, with any of my maps :S That's kinda wierd I think, lol XD
 

Ouguiya

New Member
Reaction score
11
Hello there!

Thanks for the quick reply.

I am using (in vJASS) the system "Table", which can be found on WC3C, and I have been using 2.0, but will be using 3.0 now, since this is the version released for the new patch. (http://www.wc3c.net/showthread.php?t=101246)

Aside from that, I am using Troll-Brain's system for resource trading detectiong (http://www.wc3c.net/showthread.php?t=101590).

And finally, but I am not certain that this is vJASS (I am a complete newbie when it comes to JASS), a trigger provided to me by trb92, found in: http://www.thehelper.net/forums/showthread.php?t=131685&highlight=resource


I have one question also: What does "shadowing global variables" mean? (Again, I am not really a pro when it comes to these things...)

Thanks again.

Yours,

Ouguiya
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Not so sure, but I've heard it's psedo-local vars in GUI, I think.

Trigger:
  • Custom Script: local unit u = GetTriggerUnit()
 

Ouguiya

New Member
Reaction score
11
Ok, but this would entail using a "custom script", thus using JASS again.

However, if I use GUI, there is no problem at all, even if the map is loaded with "If/then/else" functions?

Sry for asking this again, but I want to make sure that if I start working on that (which will be a huge amount of work), that it will not be in vain.

Thanks,

Yours,

Ouguiya
 

Scary Nachos

Castro flashing Gang Signs!
Reaction score
45
I THINK you should be finem that is GUI again.... and custom script should be fine, besides the one above?
 

Troll-Brain

You can change this now in User CP.
Reaction score
85
Meh i won't wait for a new patch so, i will update my code, at least one actually have the need.
 

Rainther

I guess I should write something of value here...
Reaction score
61
GUI doesn't use return. (Of course they do with conditions etc. unnoticeable but not in a customized way like returning in an else if) So don't worry about if then else in GUI.
 

Ouguiya

New Member
Reaction score
11
Hello everyone!

I wanted to say a big thanks to all the ones who posted replies, and also, a big thanks to Troll-Brain for posting and (maybe) updating his system, this could just be what saves me map from oblivion.


One last question: Does anyone know if the WEU-Functions (which are automatically imbedded in the map header when a map is generated with WEU), conflict with the new patch, or not?

The bits and pieces from what I could understand from the JASS-code, it uses a lot of if then else functions, but I don't really know if they return something.

Thanks again.

Yours,

Ouguiya
 

UndeadDragon

Super Moderator
Reaction score
447
I am not too sure whether WEU uses H2I, but I would avoid using WEU anyway. It is outdated.
 

Ouguiya

New Member
Reaction score
11
Easier said than done, especially for someone who has no clue about how to program the functions which WEU provides, or have any alternatives (EGUI has also been blown out of the sky by 1.24 I believe, and I currently have no alternatives to for example only play sound to one specific player etc.)

However, no, it does not use the H2I, I already checked the entire syntax.

What it does use plentiful is If then Else functions (naturally), but I don't know if these are "good" or "bad"

Thanks again.

Yours,

Ouguiya
 

cleeezzz

The Undead Ranger.
Reaction score
268
look up sevion's 1.24 conversion tutorial, it will tell you what to look out for.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top