HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blizzard.j problems...

02-26-2003, 04:20 AM#1
Nakou the Saiyan
Everytime I do anything significant to the Blizzard.j file, it wont load anymore maps. Also I am curious as to how your would get a custom text trigger into the Blizzard.j file and have it work for every map. I tried copy pasting the text at the bottom of the file and then poof, maps will no longer load.
02-26-2003, 10:09 AM#2
AIAndy
You might have made some syntax errors. Check the script with magnus99's syntax checker.
http://jass.sourceforge.net
02-26-2003, 04:15 PM#3
Nakou the Saiyan
Well it comes up with all the same errors I have when I use it on a fresh script.

This is really disheartening. Let me ask this then, has ANYONE been able to add a trigger to the blizzard.j in v1.05? Is it even possible anymore? Did Blizzard make it not work to prevent maphacks? This is my current theory as nothing I do seems to work.
03-02-2003, 07:50 AM#4
Guest
I just logged onto bnet just to make sure I have 1.05.

Yeah, I do, and I run a modified blizzard j in my mod that makes it start you with different units, makes more heroes unique, etc.

You must have a syntax error....

OR, you might not be able to use blizzard.j inside a map. I use custom MPQ format.
03-03-2003, 04:24 AM#5
Nakou the Saiyan
I also use custom mpq. I guess I must have some sort of syntax errors then. Well it makes me feel better to know that someone else is getting this to work.
03-03-2003, 05:29 AM#6
Guest
I been wrestling with blizzard.j all day today. The tiniest error screws up the whole thing.

One time, I was having an error I couldn't track down that made it so when you tried to make a custom game, no player slots showed up -

I finally found it by opening war3 editor with my mod, saving a blank map and writing down the line number of the error.

Opened up blizzard.j, went to that line. Completely different section from the section that determines available player slots. Everything looked fine... But when I copied and pasted that line from an unaltered blizzard.j into mine, it worked. I must have had one wrong letter or something.
03-03-2003, 12:21 PM#7
AIAndy
Unfortunally a single syntax error in any script causes that script to be ignored. The best way to avoid that is using the syntax checker.
03-03-2003, 03:00 PM#8
Guest
I got the syntax checker. The unaltered Blizzard.j comes with an undeclared function error that appears 3 times and one return real number when it should be an integer.
03-04-2003, 12:01 AM#9
magnus99
I dunno about those undeclared function errors, but the one concerning the integer and real is known, and it is indeed an error (I checked this with BFitch from Blizzard -- he said it will be fixed in the expansion). Its just that War3's syntax checker fails to catch it. :) The result is that using that function will lead to garbage output.

But this should still be ok because the syntax checker will try to record every error anyway. (so ignore the one that is in the original or just fix it -- it should use R2I to convert the real to an integer).

magnus
03-04-2003, 05:16 PM#10
Nakou the Saiyan
Quote:
Originally posted by Elfis
I been wrestling with blizzard.j all day today. The tiniest error screws up the whole thing.

One time, I was having an error I couldn't track down that made it so when you tried to make a custom game, no player slots showed up -

I finally found it by opening war3 editor with my mod, saving a blank map and writing down the line number of the error.

Opened up blizzard.j, went to that line. Completely different section from the section that determines available player slots. Everything looked fine... But when I copied and pasted that line from an unaltered blizzard.j into mine, it worked. I must have had one wrong letter or something.


This is the same problem I keep having with the player slots disapearing. Could you please tell me which line it is. This would help me so much. Thanks.
03-05-2003, 03:15 AM#11
Guest
I highly doubt we modded the same line to cause the problem. The problem code wasn't even related to the player slots; it was in the victory conditions check. It was line 6150 or so for me, but as I said the way I found it was just to try to save it in a map and blizzard's checker caught it and gave me the line number of the error.

Every other thread in this forum seems to link to the jass checker. Get it and use it; I think it's better than blizzard's.