Next patch, all six campaigns will be broken

Created by RazorclawX, Wanderers of Sorceria tells an epic length story through multiple chapters and books for WarCraft III.

Moderator: RazorclawX

User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2102
Joined: Thu Aug 24, 2006 7:19 pm

Next patch, all six campaigns will be broken

Post by RazorclawX »

Due to some JASS changes to fix an exploit there will be some ramification that the campaign won't be playable in the next 1.23 patch.

I have thought about converting things to be compliant with the new patch, but that is both time-consuming and something I really don't want to do.

So enjoy it while it lasts.
Image
-- Razorclaw X
Creator of Wanderers of Sorceria and Vision of the Future
manstein
Terran Refinery Attendant
Terran Refinery Attendant
Posts: 23
Joined: Thu Oct 23, 2008 8:22 am

Re: Next patch, all six campaigns will be broken

Post by manstein »

Isn't it just possible to avoid this patch so that still all campaigns will be playable?
User avatar
Xenon
Zerg Queen's Nest Slave Trainee
Zerg Queen's Nest Slave Trainee
Posts: 771
Joined: Mon Oct 23, 2006 3:29 pm

Re: Next patch, all six campaigns will be broken

Post by Xenon »

Did you test the maps on the public test realm and find them to be broken? It sounds like it will affect maps that use the H2I and I2H functions and systems based off them, so unless you use those it might be fine.
User avatar
Larc
Terran Goliath Dome Polisher
Terran Goliath Dome Polisher
Posts: 106
Joined: Thu Feb 14, 2008 1:26 am
Location: Italy

Re: Next patch, all six campaigns will be broken

Post by Larc »

RazorclawX wrote: So enjoy it while it lasts.
What?  ???
User avatar
chris
Zerg Defiler Nutritionist
Zerg Defiler Nutritionist
Posts: 728
Joined: Mon Feb 26, 2007 4:09 am

Re: Next patch, all six campaigns will be broken

Post by chris »

oh great, now we are going to need a WCIII downgrader.
[quote="Zilla-"]
campaign creations presents campaign creations starcraft campaign contest
[/quote]
[quote="Lavarinth on podcast"]Hey kids, this is Lavarinth. I know I didn't say much in this podcast, actually, I didn't say anything at all. See you guys on the next podcast.[/quote]
User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2102
Joined: Thu Aug 24, 2006 7:19 pm

Re: Next patch, all six campaigns will be broken

Post by RazorclawX »

I'm revising my preliminary evaluation.

The first 3 campaigns don't use the return bug at all. The latter 3 do. Book 4 hardly uses it at all, but it exists; Books 5 and 6 use it in every map.
Image
-- Razorclaw X
Creator of Wanderers of Sorceria and Vision of the Future
User avatar
chris
Zerg Defiler Nutritionist
Zerg Defiler Nutritionist
Posts: 728
Joined: Mon Feb 26, 2007 4:09 am

Re: Next patch, all six campaigns will be broken

Post by chris »

return bug? I'm confused now.... I happen to be playing book 4 right now while I'm typing this.
Last edited by chris on Tue Jun 23, 2009 6:53 pm, edited 1 time in total.
[quote="Zilla-"]
campaign creations presents campaign creations starcraft campaign contest
[/quote]
[quote="Lavarinth on podcast"]Hey kids, this is Lavarinth. I know I didn't say much in this podcast, actually, I didn't say anything at all. See you guys on the next podcast.[/quote]
User avatar
Mucky
Protoss Khalai Missionary
Protoss Khalai Missionary
Posts: 1014
Joined: Thu Aug 24, 2006 10:35 pm

Re: Next patch, all six campaigns will be broken

Post by Mucky »

RCX, do you use Kattana's Handle Variables?
User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2102
Joined: Thu Aug 24, 2006 7:19 pm

Re: Next patch, all six campaigns will be broken

Post by RazorclawX »

I don't know who made 'em.


I decided that I can't stand the idea of my campaigns being playable, so I'm going to make an attempt to convert everything. On the other hand I'm not terribly happy about doing this for 45 maps, but there isn't much of a choice in this.



ED: stupid world edit doesn't compile anything. Guess I'll have to wait.
Last edited by RazorclawX on Wed Jun 24, 2009 1:41 am, edited 1 time in total.
Image
-- Razorclaw X
Creator of Wanderers of Sorceria and Vision of the Future
User avatar
Xenon
Zerg Queen's Nest Slave Trainee
Zerg Queen's Nest Slave Trainee
Posts: 771
Joined: Mon Oct 23, 2006 3:29 pm

Re: Next patch, all six campaigns will be broken

Post by Xenon »

chris> The "return bug" is a bug in the War3 scripting engine that JASS coders can exploit to attach variables to units, timers, and the like, and store different types of variables in the gamecache. Apparently some scumbag found a way to use it to write malicious data, so Blizzard is going to remove the "return bug" in an upcoming patch. The current version of WoS will work until you download this patch.

RCX> If you're going to go over Book 4 again, I think I know why the cantrips aren't working.

        Set SpellCantrips[SpellCantripsIndex] = (Ability being cast)
        Set SpellCantripsIndex = (SpellCantripsIndex + 1)
        -------- Do not allow more than 4 stored Cantrips --------
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Or - Any (Conditions) are true
                    Conditions
                        (Ability being cast) Equal to Release Cantrips (Cantrips)
                        SpellCantripsIndex Greater than 4
            Then - Actions
                For each (Integer A) from 1 to 10, do (Actions)
                    Loop - Actions
                        Set SpellCantrips[SpellCantripsIndex] = Drop Pilot                        <- should use Integer A
                Set SpellCantripsIndex = 0                                                                    <- should be 1
            Else - Actions
                Do nothing
        -------- Check to see if a Cantrip chain produces a spell --------
        -------- Thunderclap --------
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                SpellCantrips[1] Equal to Cantrip Earth (Cantrip)
                SpellCantrips[2] Equal to Cantrip Wind (Cantrip)
                SpellCantrips[3] Equal to Cantrip Wind (Cantrip)
            Then - Actions
            ...

The default value of SpellCantripsIndex should be 1. The section at the bottom that makes the undead dissipate sfx has the same 2 problems shown here. Also, the Do not allow more than 4 cantrips section should go after the cantrips list, because it is deleting the array of 4 cantrips before it can be checked. An additional "SpellCantrips[10] Not Equal to Load Pilot" condition for the moved section should keep it from interfering with the section that gives the undead dissipate sfx.

Also, the triggers for some spells have the wrong unit group filters (such as allied buildings).

I hope this helps, and good luck.
User avatar
Mucky
Protoss Khalai Missionary
Protoss Khalai Missionary
Posts: 1014
Joined: Thu Aug 24, 2006 10:35 pm

Re: Next patch, all six campaigns will be broken

Post by Mucky »

RazorclawX wrote: I don't know who made 'em.
Well, there's Kattana's Handle Variables and Vexorian's CSCache. They both make use of the return bug, which is why I was asking.
User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2102
Joined: Thu Aug 24, 2006 7:19 pm

Re: Next patch, all six campaigns will be broken

Post by RazorclawX »

Well it turns out to be... BOTH.  Both systems are present in Book 6. Looks like I'm going to have to fix both of them.

The funny thing is the Vexorian system is only used for the Knockback abilities, so I don't have to actually touch those. The Shield abilities use the other system and do have to be changed.

The only problem is even if I do change these things World Edit doesn't compile.
Image
-- Razorclaw X
Creator of Wanderers of Sorceria and Vision of the Future
User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2102
Joined: Thu Aug 24, 2006 7:19 pm

Re: Next patch, all six campaigns will be broken

Post by RazorclawX »

Found out why WorldEdit wasn't compiling. I had a custom TriggerData.txt in my UI folder that wasn't making any of the hash stuff show up. Furthermore, I was misspelling GetHandleId as GetHandleID.


For some reason Blizzard took out the GUI trigger "Save Game Cache" so I had to modify the TriggerData.txt to add it back in; it hurts that it's in EVERY SINGLE MAP EVER MADE.


ED: Book 4 is done; it had the least amount of that junk in it because that was around the time I was looking into it. In fact the only thing it's used for is a custom Fade function which is used in only two maps. Unfortunately I think the changes actually killed the function, but at least it's better than not working.

I need people to let me know if in Books 1-4 if any maps don't work in 1.24



ED 2: I really hate Vexorian's system. No wonder I only implemented it when I found something that HAD to use it.
Last edited by RazorclawX on Thu Jun 25, 2009 12:28 am, edited 1 time in total.
Image
-- Razorclaw X
Creator of Wanderers of Sorceria and Vision of the Future
User avatar
chris
Zerg Defiler Nutritionist
Zerg Defiler Nutritionist
Posts: 728
Joined: Mon Feb 26, 2007 4:09 am

Re: Next patch, all six campaigns will be broken

Post by chris »

I'm going on a 1 month vacation starting tomorrow morning. When I come back I'll replay all the campaigns under the new patch and test... actually I'll be playing them again regardless of this patch, the campaigns are so great they deserve to be played at least two times.
[quote="Zilla-"]
campaign creations presents campaign creations starcraft campaign contest
[/quote]
[quote="Lavarinth on podcast"]Hey kids, this is Lavarinth. I know I didn't say much in this podcast, actually, I didn't say anything at all. See you guys on the next podcast.[/quote]
User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2102
Joined: Thu Aug 24, 2006 7:19 pm

Re: Next patch, all six campaigns will be broken

Post by RazorclawX »

I'm seriously considering going back to the older campaigns and fixing them up to; if there are any lingering bugs left over better voice them now.
Image
-- Razorclaw X
Creator of Wanderers of Sorceria and Vision of the Future
Post Reply