HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need some serious help making my map work with the newest patch :\

05-31-2010, 10:17 PM#1
Zero


Uploaded with ImageShack.us

I have tried Vexorian's tutorial on how to fix the errors and my map didn't crash, but it's making my head spin. I do not know how to fix the errors. The errors refer to a line in the box below but that does me no good as I have no idea what trigger in the thousands of triggers I have the error is referring too.

I can go threw the triggers one by one and fix them, but I don't understand exactly what I'm fixing. I don't understand JASS either.

If this is beyond my skill set, I can upload the unprotected version of the map on here and be eternally grateful to anyone that can help me fix it.

I want to update and finish the map as I am still getting about 5 e-mails a day from people asking me when the next version is...

Please someone help!!!

BTW using WE Unlimited v1.20
05-31-2010, 10:36 PM#2
Vexorian
Well, if you used my tutorial correctly, try posting the 5 lines before and the 5 lines after the error'd line, it would at least give us a clue, I think.
06-01-2010, 01:36 AM#3
Zero
Ok I can't open the map in newgen because I created the map using WE Unlimited.

I did this about a month ago and still have the info from it. I might have did something wrong but I'm not sure.



Uploaded with ImageShack.us

Instead of opening it with the NORMAL map editor I did it with WE Unlimited and the list of errors doesn't jump to the actual line.

I attached the merged blizzard.j file and a copy of my map unprotected. I don't see what I'm doing wrong

Also, it won't let me download the blizzard.j file from your post, so hopefully I used the most recent one.
Attached Files
File type: w3xmy map.w3x (4.0 MB)
File type: zipmerged blizzard j.zip (368.9 KB)
06-01-2010, 02:28 AM#4
Bribe
WEU is hyped to be something useful in the tutorials here and HiveWorkshop, but those tutorials are extremely outdated. In recent patches it is strongly discouraged from using WEU.

I will hack away at your code if someone doesn't beat me to it, and tell you what I did to make it work.
06-01-2010, 02:46 AM#5
Zero
Thanks man, I appreciate it, but once I've already saved and used the map with WEU I can't use the regular map editor with it correct?
06-01-2010, 03:24 AM#6
Bribe
Yes, but you should be able to open it in NewGen, and I believe NewGen has a feature that auto-converts your WEU functions (not sure if it's working these days, you'd have to try it to see if it works).

NewGen + JassHelper are state-of-the-art.

Sadly here, I have to disappoint you. As I cannot open it in NewGen (undeclared trigger functions) and your map script is an ungainly 90,000 lines of code, it would take me weeks to find the source of the error. World Editor Unlimited functions must be manually search & destroyed, so I would tell you to start there by removing all things associated with the add-on requirement of WEU (that external command-utility thing, never had tolerance for it myself).
06-01-2010, 03:57 AM#7
Zero
Ya dude this map has had over 3 years of constant work put into it daily. So you can only imagine the amount of triggers involved :(

I guess I'll have to try to find what I used from WEU. I have no clue... Assuming it's trigger related. But even if I do that, I won't be able to save the map due to the errors.... So how do I fix it lol ?
06-01-2010, 07:09 PM#8
Zero
Ok, so like I said earlier, I have no problem going threw my thousands of triggers one by one and fixing this map manually, but I DON'T know what I need to fix...

Can someone please explain what I need to do?
06-02-2010, 02:24 AM#9
Fledermaus
functions returning the wrong type of variable (by way of the return bug)
Expand JASS:

And sometimes it will also throw a false positive of functions that have tons of returns within if then else blocks
Expand JASS:
06-02-2010, 03:12 AM#10
Zero
Thanks, but is there any way this could be represented in non-JASS? I really don't understand it.

Like what type of trigger is the return referring to?
06-02-2010, 03:33 AM#11
Bribe
3 years working on a map I think you can spend 3 days to learn JASS (or 3 weeks if you suck like i did when i was starting).
06-02-2010, 04:46 AM#12
Fledermaus
Oh, your map's in GUI?
06-02-2010, 05:02 AM#13
Zero
But if the map is all GUI wouldn't it be easier to just stick with GUI?
06-02-2010, 05:12 AM#14
Bribe
Taking the easier route won't fix the problem.
06-02-2010, 05:28 AM#15
Zero
Ok then is it possible to convert the GUI into JASS?