DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Scripts => Topic started by: ptanhkhoa on April 18, 2010, 09:11:53 PM

Title: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: ptanhkhoa on April 18, 2010, 09:11:53 PM
(http://1.2.hidemyass.com/encrypted/L1RFcllyYUNpVlNOYUVPK3A4VHZmWmpvMk5KeUdFOExkWVh1UFpPM2VVbENScjJDN3dETGw2S2U2bEl3b1VQSGNjQWpXQ0pReWtpRld1V1c4S0poTmtlZFVZWnk%3D)(http://i328.photobucket.com/albums/l344/ptanhkhoa/th_StarCraftIIBeta.jpg) (http://s328.photobucket.com/albums/l344/ptanhkhoa/?action=view&current=StarCraftIIBeta.jpg)

Link mediafire:
GT AI Arena (http://www.mediafire.com/?nzljz3inomw)

With the inspiration of Suxue AI, I made it first for testing purpose only, but I see that they are quite interesting, so I would like to share it to the public.
At the title say, it can let each AI fighting with each other, for example, Starcrack AI 0.72 Protoss vs Strategy AI Terran 0.4
It hard to solve the conflict between AI when putting all in the same folder, I had to read every code lines and function of every AI Script.
Anyway, I'm  finish with it
It can be quite useful for the player if you want to select the best Ai for each race to play with, or want to test the strength of each
For the developer, it can be quite useful for testing your AI among these strong AI.

_ The first version will include these AI  ( all of these are semi-noncheat , only cheat vision )

Starcrack AI 7.02 by Turdburger & Starcrack Team
Strategy AI 0.4 by XPL
Ghost AI 1.1 by harlowmoo.
Poulet AI 2.0 by Poulet
Aiur 2.0 alpha 3 by Suxue
Dozerg AI by Chriamon
and my Green Tea 0.4


I would like to give my credits to all the AI author above.

The first thing you must do is using Zocx Launcher, ( this can only work by replacing file in Trigger Libs, so Zocx Launcher is neccesary.Copy entire folder to the Mod folder of Starlauncher, it should include 2 folder GameData and Trigger Libs . You should use clean map, if the AI don't repair that mean you are not using clean map
Zocx Launcher (http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-launcher/)

How to run, in the Trigger Libs folder it has the folder AI Package, each of these content the Package AI for you to select. Copy and replace the Zerg.galaxy, Protoss.galaxy and Terran.galaxy in which AI you like with the current one.


(http://1.2.hidemyass.com/encrypted/L1RFcllyYUNpVlNOYUVPK3A4VHZmWmpvMk5KeUdFOExkWVh1UFpPM2VVbENScjJDN3dETGw2S2U2bEl3b1VQSGNjQWtYaXBGN2wrV2NQaTl5dEVxS0ZiVQ%3D%3D)(http://i328.photobucket.com/albums/l344/ptanhkhoa/th_TriggerLibs1.jpg) (http://s328.photobucket.com/albums/l344/ptanhkhoa/?action=view&current=TriggerLibs1.jpg)
Select the AI Package folder

(http://1.2.hidemyass.com/encrypted/L1RFcllyYUNpVlNOYUVPK3A4VHZmWmpvMk5KeUdFOExkWVh1UFpPM2VVbENScjJDN3dETGw2S2U2bEl3b1VQSGNjQWpXREZEL1YrRFJkQ1dpODV1TWtFPQ%3D%3D)(http://i328.photobucket.com/albums/l344/ptanhkhoa/th_StrategyAI2.jpg) (http://s328.photobucket.com/albums/l344/ptanhkhoa/?action=view&current=StrategyAI2.jpg)
Select galaxy file in each folder Package

For example, you want to select Strategy Protoss 0.4,Terran Green Tea 0.4 and Dozerg AI 0.2, just copy the Protoss.galaxy in Strategy AI folder, Terran.galaxy in Green Tea AI folder and Dozerg 0.2 in Dozerg AI folder and replace with the current Terran, Protoss and Zerg.galaxy file outside.
When you play, it will appear like this "Activate Strategy 0.4 AI by XPL, Activer Terran AI by Green Tea 0.4 AI
If you see that the AI seems weaker when they stay in this version, report to me, so I can correct it.

Enjoy and have fun playing  :thumbsup:

Ptanhkhoa

This is Chriamon Updated Zerg, you should replace it with the current  Zerg.galaxy in Chriamon folder. It stronger than the old ones
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: ev- on April 19, 2010, 04:03:30 AM
nice stuff, but i have a question. (just for understanding - im  a noob)

MeeleAI is the same in every AI?
Or is this just for comparing macro managment?

Im looking through the codes, and im having trouble finding the executioning parts  :'(

Thank you for sharing!  :thumbsup:

EDIT: Thx for the anwer! helped me alot!
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: SuXue on April 19, 2010, 04:29:44 AM
ghost AI is by harlowmoo.


Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: ptanhkhoa on April 19, 2010, 04:33:50 AM
@ev: You can compare the Melee AI in each orginal AI, it mostly the same, just changing some variable, some Melee AI has it own function but I sort out to their AI folder.  You should see the Micro Control of Strategy AI in The FeignAttack.galaxy & AIAlMeleeMain.galaxy while Ghost AI in their ghost.galaxy, also in the GameData folder, they changing some variable yet. The Tactical AI now have the most functional ones, include Disruptor   Guardian Field.

You can see the different  attack style between 2 AI quite well.

@Suxue : thanks
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: whoamI on April 19, 2010, 07:57:29 AM
Strategy 0.4 by far the best ATM
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: SuXue on April 19, 2010, 08:16:51 AM
Quote from: whoamI on April 19, 2010, 07:57:29 AM
Strategy 0.4 by far the best ATM

Try running them on different maps, such as "Steppes of War"
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: Chriamon on April 19, 2010, 03:32:17 PM
Wow, you put my AI in there :D I'm flattered, although tbh that version is very rudimentary.

I've updated it quite a bit, it no longer has dependencies, and it is much much stronger. I'll attach the updated version.
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: SuXue on April 20, 2010, 11:35:31 AM
Quote from: Chriamon on April 19, 2010, 03:32:17 PM
Wow, you put my AI in there :D I'm flattered, although tbh that version is very rudimentary.

I've updated it quite a bit, it no longer has dependencies, and it is much much stronger. I'll attach the updated version.

I like your AI's style... which is challenging for other AIs  :D
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: esshy on April 20, 2010, 03:26:59 PM
Hi, nice job on GT AI Arena, I love it. :thumbsup:
Theres 1 problem im having though. When I put Strategy AI against either Ghost AI or DoZerg, it wont run. Its only Strategy AI that wont run against those 2, but everything else runs when put against all the other AIs.
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: Chriamon on April 20, 2010, 07:51:39 PM
Quote from: esshy on April 20, 2010, 03:26:59 PM
Hi,   nice job on GT AI Arena, I love it. :thumbsup:
Theres 1 problem im having   though. When I put Strategy AI against either Ghost AI or DoZerg, it   wont run. Its only Strategy AI that wont run against those 2, but   everything else runs when put against all the other AIs.

  Its probably that strategy AI and ghost AI have a function with the same   name somewhere or something similar. The ver of DoZerg packaged with GT AI Arena is older and still depends on Ghost (I build DoZerg with ghost as a framework). If you download the ver of DoZerg I posted earler up, it should work fine against strategy AI (can't say the same for ghost).

After a quick look-thru the code, there is a AIRetreat and a defendRush (and possibly more)function defined in both the strategy main and the ghost main. These functions and all places where they are called will have to be renamed in one of the AIs for compatability.
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: ptanhkhoa on April 20, 2010, 11:44:11 PM
@esshy : Like chriamon said, this is the main conflict when putting AI in the same folder, It take time to look through their code. I will fix and update it when I have time, thx for report.
@Chriamon : Thanks Chriamon, your AI is current the strongest Zerg now, and thanks again for the update, I will included it in the next version.
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: darka on May 11, 2010, 03:16:42 PM
@Chriamon: Thanks for you great previous job, can you release a DoZerg Patch 10 capability or this project is stall?
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: ptanhkhoa on May 11, 2010, 08:23:11 PM
Try GreenTea 0.43 Zerg AI, I learn a bit from him :P with a faster opening. It can win even Aiur 12 of suxue or Strategy AI 0.42.
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: jerrytouille on May 12, 2010, 07:29:38 PM
I have an "Access violation of "SFmpq.dll" error" using Zoxc launcher. Already run as Admin   in windows 7. Delete all files in Plugins folder. currently running patch 11. tried patch 9 and still same   error :|
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: ptanhkhoa on May 13, 2010, 01:56:29 PM
This GT AI Arena still developed for patch 9 only, play Green Tea AI 0.43 instead and it also support other AI as well.
  SC2 Launcher not support on new map, maybe you can try SC2AllInOne to play all new Blizzard official map.
Title: Re: GT AI Arena 0.1 (Where the strongest AI will shine, include all non-cheat AI)
Post by: SoulAce on June 12, 2010, 08:49:16 AM
I really did not understand the steps for i am a NOOB ...


Where do I put the .galaxy files?? What do you mean replace the files OUTSIDE ...
I really did not understand so if you would answer my question then that would be good if not, thanks for your advice though...