Warcraft II Forum

Warcraft II => Mods & Development => Topic started by: Delete mine too on February 22, 2016, 06:32:13 PM

Title: Victory Conditions
Post by: Delete mine too on February 22, 2016, 06:32:13 PM
Okay here we begin another project. We can change for example The victory conditions it takes to make you win the game. Battle.net/pvpgn kill all, kill enemies, a few for custom maps in a use map settings mode. But we can add the campaign conditions to bnet. This would very powerfull for custom type games.

Code: [Select]
Index :   Meaning :

        00 B      Victory condition level

            00=own 4 farms and 1 barracks
              01=own 4 oil platforms and 1 shipyard
            02=any oil refineries in game
            03=kill attack peasants,build castle,
               destroy enemy
            04=never used
             05=free mages and peasants,destroy
               castle
            06=destroy transports,oil platforms and
                 shipyards
            07=never used
            08=destroy dark portal
            09=destroy castle,have runestone at end
            0A=build shipyard and fortress by circle
               of power
            0B=destroy death knights and their
               temple , Grom must survive
            0C=get violet player units,destory green,
               rescue white and have all heroes
            0D=destroy all,Teron must survive
            0E=capture dragons,capture dragon roost
            0F=destroy all enemy ships,have
               5 shipyards
            10=kill daemon
            11=destroy human buildings,rescue mage,
               return him to circle of power
            12=destroy all mage towers,destroy
               violet player
            13=destroy all humans,capture dark portal
            14=rescue X units , Alleria , Danath ,
               Turalyon must survive
            15=destroy all,Danath must survive
            16=destroy all strongholds and fortresses,
               Turalyon must survive,rescue X units
            17=destroy enemy,have castle
            18=destroy enemy shipyards , have 3 owns
            19=destroy orange,bring Turalyon and
               Danath to circle
            1A=Kill Deathwing,Khadgar , Alleria ,
               Kurdran must survive
            1B=destroy black fortress,raze altar
            1C=play until retreat,heroes must survive
            1D=destroy enemy,heroes must survive
            1E=destroy dark prtal,only Khadgar can
               do this,must survive

        01 B      1=kill all
            2=rescue by contitions below
        02 W      Always set to 0000 ???

So far I have been able to freeze the victory conditions for human1 Build 4 farms, Build 1 barrack. When I played with cpu in a map with 4 farms and 1 barracks I won instantly.

Trying to narrow down the 1000s to find the ones we need.
Title: Re: Victory Conditions
Post by: iL on February 22, 2016, 06:38:55 PM
That's interesting how you plan to find an address for that victory conditions.
Jump between missions and try to find that values? Looks like values are not equal to mission number?
Also the question is if these values are still actual for war2bne 2.02.
Title: Re: Victory Conditions
Post by: Delete mine too on February 22, 2016, 06:47:40 PM
That's interesting how you plan to find an address for that victory conditions.
Jump between missions and try to find that values? Looks like values are not equal to mission number?
Also the question is if these values are still actual for war2bne 2.02.
Some of them are still matching up. But I got it to work not sure address yet froze many on them as 00 then build in a custom map and won instantly because map gave me 4 farm and 1 barrack.

Edit
Done got the game to play the changes.
Next need to find values for the description in window i know i'm around the area.
Title: Re: Victory Conditions
Post by: shesycompany on February 24, 2016, 10:44:37 AM
the one like say dark portal ends game,would work great for a war2 heroes of the storm type custom..good work man~!

Title: Re: Victory Conditions
Post by: Delete mine too on February 26, 2016, 10:17:09 PM
(http://s12.postimg.org/79gqdy1e5/works.png)

Works see i won i built 4 farms and a barracks. I won on the campaign map of ships and oil......

@iL try to freeze value 1E you should lose any campaign map at beginning.
Title: Re: Victory Conditions
Post by: Erenussocrates on May 14, 2016, 10:01:10 PM
Oh please work on this.
Title: Re: Victory Conditions
Post by: Delete mine too on May 16, 2016, 11:33:31 AM
Oh please work on this.
When I return I plan to find the last switch I need to make this multiplayer. If all goes well it will change customs forever! New game modes, etc.

I plan to combine this with my bot that also mods the game lobby with these two combined I feel I have created warcraft 2 trigger system.

Features -
Give gold
Give lumber
Give oil
God mode
Hatchet
On screen
Inf MANA
Make it so
Level 255 units
Plus all the victory conditions above

This is very powerful !

Well I need another 5 and half months before I can be active again.

Title: Re: Victory Conditions
Post by: EviL~Ryu on May 16, 2016, 12:16:44 PM
Oh please work on this.
When I return ...

You never left [emoji6]
Title: Re: Victory Conditions
Post by: Delete mine too on May 16, 2016, 02:51:16 PM
Oh please work on this.
When I return ...

You never left [emoji6]

Ohh I haven't touched the client or laptop in over a week now. If I had my vacation ban like I asked for we would not have this conversation. But ehh Im doing good on my own. Getting alot accomplished in my life and glance on forums when it's necessary.
Title: Re: Victory Conditions
Post by: EviL~Ryu on May 16, 2016, 02:52:16 PM
Oh please work on this.
When I return ...

You never left [emoji6]

...glance on forums when it's necessary.

Your on almost everyday [emoji54]
Title: Re: Victory Conditions
Post by: shesycompany on May 16, 2016, 08:14:36 PM
Ryu who u taljing to a ghost..there's noone here....
Title: Re: Victory Conditions
Post by: Delete mine too on May 29, 2016, 05:49:24 PM
Well I would like to update my progress on this thread. I have a totally new idea on how to approach this. Now easycompany you said when I left the game with the map with circle of power and dark portal. The circle of power started flashing like it should. It seems when there is no other human players some trigger is hit and enables singlenplayer conditions. Let's reverse it out and see if the victory conditions work multiplayer ;)
Title: Re: Victory Conditions
Post by: shesycompany on May 29, 2016, 07:41:21 PM
fixing to start back. 8) yeah when u left it went back flashing.

single player seems to have a .pal that is different than online...weird as that sounds.

circle is just 1 drawing.
Title: Re: Victory Conditions
Post by: Delete mine too on May 29, 2016, 08:57:18 PM
fixing to start back. 8) yeah when u left it went back flashing.

single player seems to have a .pal that is different than online...weird as that sounds.

circle is just 1 drawing.
Well we can reverse it out on that custom map. I'll harvest everything that is triggered when a player leaves. If we find this and it works awesome!!
Title: Re: Victory Conditions
Post by: shesycompany on May 29, 2016, 09:08:20 PM
kk i got other uses for it maybe  :P
Title: Re: Victory Conditions
Post by: Delete mine too on May 29, 2016, 09:12:35 PM
kk i got other uses for it maybe  :P
I knew you was gonna do that hahaha
Title: Re: Victory Conditions
Post by: shesycompany on May 29, 2016, 09:39:10 PM
lol yeah but the mini map ... sigh. tileset looks like the only way.
Title: Re: Victory Conditions
Post by: Erenussocrates on August 01, 2016, 09:13:21 AM
So any updates? :P
Title: Re: Victory Conditions
Post by: shesycompany on August 01, 2016, 10:17:43 AM
tilesets yes ..vc idk.
Title: Re: Victory Conditions
Post by: Delete mine too on August 01, 2016, 10:21:53 AM
Almost got the functionality working just haven't worked on this project in awhile it's still the top of my list.
Title: Re: Victory Conditions
Post by: Delete mine too on December 19, 2016, 01:47:43 PM
Bump

Here use the address that has the check box checked.

(http://s12.postimg.org/79gqdy1e5/works.png)

Works see i won i built 4 farms and a barracks. I won on the campaign map of ships and oil......

@iL try to freeze value 1E you should lose any campaign map at beginning.


Title: Re: Victory Conditions
Post by: salvadorc17 on December 19, 2016, 03:35:09 PM
What are you looking for adress to trigger victory?? or objectives, seems this is for cheaters xD
Title: Re: Victory Conditions
Post by: Delete mine too on December 19, 2016, 03:51:09 PM
That's the victory address for objectives for human ;)
Title: Re: Victory Conditions
Post by: Certified MENSA Genius Brain (smart) on December 19, 2016, 04:08:49 PM
What are you looking for adress to trigger victory?? or objectives, seems this is for cheaters xD
It's to be able to make your own campaigns
Title: Re: Victory Conditions
Post by: shesycompany on December 19, 2016, 05:29:42 PM
it will crash,supposely long ago in dos days warhack had units popping out of farms etc,but i belive me and tupac was using 1.0 but it still dropped.

so its not gonna be a cheat unless both parties are in sync.

does anyone remember it? it was "supposely" wide spread in kali.
Title: Re: Victory Conditions
Post by: Lambchops on December 20, 2016, 12:38:05 AM
This is a cool idea, but you're going to have to test it using a multiplayer game. Single player games use almost an entirely different engine. i.e. my build hack detector does't work in single player games.

Idk if other victory conditions are internally available in multiplayer games. It could be that that they are, but I suspect the "no units left = dead", "no enemies left = victory" conditions may be hard coded. I really don't know, and I'd be very happy to be wrong.

But I am sure that testing anything in single player/campaign mode is no guarantee that it will work in a multiplayer game (server games with only computer opponents are still multiplayer games).

So test stuff via the server with "use map settings" and you will know.


Title: Re: Victory Conditions
Post by: Lambchops on December 20, 2016, 12:40:38 AM
it will crash,supposely long ago in dos days warhack had units popping out of farms etc,but i belive me and tupac was using 1.0 but it still dropped.

so its not gonna be a cheat unless both parties are in sync.

does anyone remember it? it was "supposely" wide spread in kali.

Yeah I remember that stuff. Fortunately they patched it before it destroyed the game.
Title: Re: Victory Conditions
Post by: salvadorc17 on December 20, 2016, 02:49:38 PM
But I am sure that testing anything in single player/campaign mode is no guarantee that it will work in a multiplayer game (server games with only computer opponents are still multiplayer games).

So test stuff via the server with "use map settings" and you will know.


That will not change stuff, the objectives is not saved in map files, you need to change executable or, do victory conditions changes with save editing or ram editing like tupac doing here..