HOW TO USE:
1) Use SC2Launcher 2.3.1
2) Delete everything inside \Plugins\
3) Copy AI to \Mods\AI Name\TriggerLibs\
4) Select AI as Mod in the launcher
Remember to change maps when you see bugs. AIs will often behave differently (and come with different strengths) on different maps.
================================================================================================
Alpha 12 is out. Compatible with patch 10.
DO NOT mix it with any other AIs. Because all other AIs are NOT compatible with patch 10.
One issue: in patch 10 the new API won't move peons to expansions in many cases, which is terrible. I don't know any easy fixes.
================================================================================================
Alpha 9 is out. Better than ever. Comments are welcome.
================================================================================================
Alpha 7 is out, with earlier and more effective attacks.
Fixed many issues, including the "never attack" bug.
I suggest using the 1.26x resources cheating version for best simulation of real-life players.
================================================================================================
Alpha 4 is out, with new DT / HT / 4 Gateway openings, and many issues fixed.
Writing the HT opening is particularly tough, because AIs can't use HT very effectively.
================================================================================================
Alpha 3 is out.
Much, much stronger, with 4 deadly openings.
Now the only thing that can easily stop it is extreme rush... I will try to deal with it later.
================================================================================================
Alpha 2 is more like a benchmark AI for AI authors, nevertheless I think it's already fairly strong at current stage.
Protoss only, hence the name. Non-cheating, but with full-map vision for debugging issues.
There are 11 (yes, eleven) openings at the moment. All the timings and building orders are quite okay.
If you can survive the first wave then most likely you will win. On the other hand, the first wave will be quite interesting, as you will see ;)
================================================================================================
Very good job, it sure is much harder than 0.32
I played 2 games, 1st game I lost and second I won but I was struggling. Here is the replay if you want to check
http://www.mediafire.com/?yoxx21myftz (http://www.mediafire.com/?yoxx21myftz)
my comments:
-Since it has full vision why does it make an observer first and then an immortal?
-At 11.53 a zealot attacks my main force and in front I have a marauder heavily wounded, the zealot chooses to attack the healthy one that was nearby and gets killed without killing my wounded marauder. Could you fix that?
-Sentries never used force field or guardian shield.
Quote from: klaretos on April 13, 2010, 06:52:45 AM
-Since it has full vision why does it make an observer first and then an immortal?
-At 11.53 a zealot attacks my main force and in front I have a marauder heavily wounded, the zealot chooses to attack the healthy one that was nearby and gets killed without killing my wounded marauder. Could you fix that?
-Sentries never used force field or guardian shield.
Thanks for the feedback!
-because it won't be cheating in the future
-it's fixable, but the efforts won't worth it at the moment. basically one have to rewrite one whole routine
-make sure that you replace strategy ai's protoss.galaxy and then use the resulting ai. The guardian shield is really essential for that build and can make ground troops much stronger.
The alpha 2 version is still very buggy. Stay tuned! Hopefully alpha 3 will be 20% stronger.
Great AI :thumbsup: , and the most is it can compatible for most AI, even my AI ^^. Eitherway, it still lose my Terran AI for most of the time. ( It can use Guardian Force & Forcefield in my AI ) because of these reason:
_ Don't product probe frequently, sometimes it stop
_ Some of the build aim for Tech so much that don't spend money for buying soldier, so easy to being rush.
Maybe your AI does not fully compatible with my AI. You can check it to see the result. I'm attached the file below that contain your file in my AI, compare to you my Terran Ai only have 2 build style: Mech & Soldier ( it not using for versus protoss though because it only build Ghost in very late late game. )
Quote from: ptanhkhoa on April 13, 2010, 10:11:19 AM
Great AI :thumbsup: , and the most is it can compatible for most AI, even my AI ^^. Eitherway, it still lose my Terran AI for most of the time. ( It can use Guardian Force & Forcefield in my AI ) :
_ Don't product probe frequently, sometimes it stop
_ Some of the build aim for Tech so much that don't spend money for buying soldier, so easy to being rush.
Maybe your AI does not fully compatible with my AI. You can check it to see the result. I'm attached the file below, compare to you my Terran Ai only have 2 build style: Mech & Soldier ( it not using for versus protoss though because it only build Ghost in very late late game. )
Thanks! My target is to beat every single semi-cheating AI at 70+% probability in beta 1 on both PvT and PvZ, and I do have GreenTea in mind ;)
You can use it to fix your AI's flaws, and that is the beauty of the single-file approach. The only drawback is one can't put ability code in it.
Nice release. One question, why obfuscate the code? I know there are those who would "steal" your code and use it as their own, but it would really help people learn if it were open source.
carrier rush awesome. /s
Very well done. I suprisingly lost to the mixed army build(zealot,centries,stalker,immortal). It did not blindly expand like other AI, insteadly it built a large army that fend of my timing push, and crushed my army. The carrier rush isn't effective but it did freaked me out quiet a bit.
Starcrack 7.02 (terran) wins this ai easily.
Quote from: logo on April 14, 2010, 07:06:32 AM
Starcrack 7.02 (terran) wins this ai easily.
Have u tried this AI at all? Yes, starcrack is well known, but from my experience it is not as good as strategy and greentea. Plz keep in mind that this AI have 11 opening, if u are playing with a AI that is doing carrier rush then u are just lucky. This AI's ground force build is far more advance than any other AI i had played so far.
QuoteHave u tried this AI at all? Yes, starcrack is well known, but from my experience it is not as good as strategy and greentea. Plz keep in mind that this AI have 11 opening, if u are playing with a AI that is doing carrier rush then u are just lucky. This AI's ground force build is far more advance than any other AI i had played so far.
I set 2 computer players Protoss (Aiur) vs Terran (Starcrack) and Starcrack wins . Aiur build a combination of zealots, sentry and stalker. He even upgraded armor... still starcrack was more agressive and wins in 15min. Try it yourself if you don't believe me.
Just tested it, like you said, starcrack 7.02 terran vs Auir, Toss won extremely quickly, went 2 fast collossi and won with first major push, starcrack had only marines. I left starcrack settings untouched, so starcrack likely didn't have vision, but still, your claims are likely false, and/or you incorrectly implemented auir AI.
(Note: I am talking about the alpha 2 build btw)
EDIT: Tried starcrack terran vs alpha 3 build, and it seems your claims are true. alpha 3 build appears to do the same build, and lose to mass marines w/ shield timing push.
EDIT2: changed map, starcrack STILL does mass marines w/ shield, wins vs carrier build.
Granted, this is an alpha build, and it isn't even really finished, but its nice to see an AI that does different BOs.
Note: when playing against this AI, most builds are simple to defeat, just defend until first push, and then counter push, and knowing that carrier cheese is a possibility, I never lack the AA to combat it. I haven't seen Auir expand, does it currently lack expansion logic?
Well, the function to expand is in there (taken from starcrack! yay :p). Don't know how well it is used... Looking through the code is a pain in the ass. If anyone wants to take a look, here it is with better indentation:
http://pastie.org/920124 (http://pastie.org/920124)
replaced all the initial function names with cryptic names XD, hence to protect their codes :P
Quote from: Chriamon on April 14, 2010, 02:41:48 PM
Just tested it, like you said, starcrack 7.02 terran vs Auir, Toss won extremely quickly, went 2 fast collossi and won with first major push, starcrack had only marines. I left starcrack settings untouched, so starcrack likely didn't have vision, but still, your claims are likely false, and/or you incorrectly implemented auir AI.
(Note: I am talking about the alpha 2 build btw)
EDIT: Tried starcrack terran vs alpha 3 build, and it seems your claims are true. alpha 3 build appears to do the same build, and lose to mass marines w/ shield timing push.
EDIT2: changed map, starcrack STILL does mass marines w/ shield, wins vs carrier build.
Granted, this is an alpha build, and it isn't even really finished, but its nice to see an AI that does different BOs.
Note: when playing against this AI, most builds are simple to defeat, just defend until first push, and then counter push, and knowing that carrier cheese is a possibility, I never lack the AA to combat it. I haven't seen Auir expand, does it currently lack expansion logic?
Yea, the AI that don't expand will lose to player who counter attack after its 1st wave. But an AI that expand will lose to agressive player that attack right when it was expanding and take advantage of its weak army.
This needs to be balanced out.
Quote from: AlsoKnownAs on April 14, 2010, 04:47:27 PM
replaced all the initial function names with cryptic names XD, hence to protect their codes :P
no. just for giving u more fun guessing the logic :)
Quote from: Chriamon on April 14, 2010, 02:41:48 PM
I haven't seen Auir expand, does it currently lack expansion logic?
Alpha 3 will always expand as soon as it sends out its first wave. I have never seen it not doing this...
Quote from: logo on April 14, 2010, 02:28:09 PM
I set 2 computer players Protoss (Aiur) vs Terran (Starcrack) and Starcrack wins . Aiur build a combination of zealots, sentry and stalker. He even upgraded armor... still starcrack was more agressive and wins in 15min. Try it yourself if you don't believe me.
Did the sentry open shields? Otherwise the combination lost 50% of its effectiveness.
QuoteDid the sentry open shields? Otherwise the combination lost 50% of its effectiveness.
Yes that's the problem sentry didn't use shields just shooting at marines. If he used shields i think AIUR would survive that attack, and later probably win. Micro management should be improved in next version.
Quote from: logo on April 15, 2010, 04:08:29 AM
QuoteDid the sentry open shields? Otherwise the combination lost 50% of its effectiveness.
Yes that's the problem sentry didn't use shields just shooting at marines. If he used shields i think AIUR would survive that attack, and later probably win. Micro management should be improved in next version.
It is not Aiur AI's problem, Starcrack didn't have sentry shield write into it
QuoteIt is not Aiur AI's problem, Starcrack didn't have sentry shield write into it
I am not following you. Are you trying to say that Aiur depends on starcrack script. If that's the case, then how can i play against fully working Aiur AI?
Starcrack AI and all other AI are open source since you can easly access to the code.
Most AI are developed starting with starcrack scripts, the sentry dont use shield in starcrack AI, so they dont in AIur AI, since both share some code.
Quote from: Bedervet on April 16, 2010, 11:53:40 AM
Starcrack AI and all other AI are open source since you can easly access to the code.
Most AI are developed starting with starcrack scripts, the sentry dont use shield in starcrack AI, so they dont in AIur AI, since both share some code.
Thats not what hes saying at all. What hes saying, is that the AI's "micro" isn't handled by the protoss.galaxy file. The micro is handled within other files. Since Auir AI is only the "macro" portion (that is, just the protoss.galaxy file.), it will only use shield if the AI is programmed to use shield with sentries in another file. As far as I know, it is not possible to make sentries use shield without overwriting an additional file beyond protoss.galaxy.
My mistake, you certainly must be right, but on an other hand, I didn't see any use of shield whatever Ai I used. So there is no big difference, this modification must be done to make it working...
QuoteQuote from: Bedervet on Today at 11:53:40 AM (http://darkblizz.org/Forum2/../msg16100/#msg16100)QuoteStarcrack AI and all other AI are open source since you can easly access to the code.
Most AI are developed starting with starcrack scripts, the sentry dont use shield in starcrack AI, so they dont in AIur AI, since both share some code.
Thats not what hes saying at all. What hes saying, is that the AI's "micro" isn't handled by the protoss.galaxy file. The micro is handled within other files. Since Auir AI is only the "macro" portion (that is, just the protoss.galaxy file.), it will only use shield if the AI is programmed to use shield with sentries in another file. As far as I know, it is not possible to make sentries use shield without overwriting an additional file beyond protoss.galaxy.
Sorry to spoil the party :D , it's possible to fit everything in one .galaxy file. Provided he re-write the entire routine and not use the default AIThinkDisruptor as pre-written in the XML file.
QuoteQuote QuoteQuote from: Bedervet on Today at 11:53:40 AM (http://darkblizz.org/Forum2/../../../../msg16100/#msg16100)QuoteQuoteStarcrack AI and all other AI are open source since you can easly access to the code.
Most AI are developed starting with starcrack scripts, the sentry dont use shield in starcrack AI, so they dont in AIur AI, since both share some code.
Thats not what hes saying at all. What hes saying, is that the AI's "micro" isn't handled by the protoss.galaxy file. The micro is handled within other files. Since Auir AI is only the "macro" portion (that is, just the protoss.galaxy file.), it will only use shield if the AI is programmed to use shield with sentries in another file. As far as I know, it is not possible to make sentries use shield without overwriting an additional file beyond protoss.galaxy.
Sorry to spoil the party (http://darkblizz.org/Forum2/../../../Smileys/DarkB/cheesy.gif) , it's possible to fit everything in one .galaxy file. Provided he re-write the entire routine and not use the default AIThinkDisruptor as pre-written in the XML file.
That could be done for a later version, I bet this is not his priority for now, anyway the problem was the use of shield by sentry any idea?? :
- Is it possible?
- If it is, how?
QuoteThat could be done for a later version, I bet this is not his priority for now, anyway the problem was the use of shield by sentry any idea?? :
- Is it possible?
- If it is, how?
It is posible , just overwrite protoss.galaxy in strategy 0.31 folder and then launch strategy AI. I have tested it, and sentry uses shield. But what is sad about Aiur AI is the fact that he is not defending his first expansion at all.
He did make a large army of zealots, stalkers, couple immortals, 3 colossus and sentry. But they were just standing in entrance to his main base. When i attacked his expansion he didn't move at all, and he was meters away.
Quote from: AlsoKnownAs on April 16, 2010, 01:57:16 PM
QuoteQuote from: Bedervet on Today at 11:53:40 AM (http://darkblizz.org/Forum2/../msg16100/#msg16100)QuoteStarcrack AI and all other AI are open source since you can easly access to the code.
Most AI are developed starting with starcrack scripts, the sentry dont use shield in starcrack AI, so they dont in AIur AI, since both share some code.
Thats not what hes saying at all. What hes saying, is that the AI's "micro" isn't handled by the protoss.galaxy file. The micro is handled within other files. Since Auir AI is only the "macro" portion (that is, just the protoss.galaxy file.), it will only use shield if the AI is programmed to use shield with sentries in another file. As far as I know, it is not possible to make sentries use shield without overwriting an additional file beyond protoss.galaxy.
Sorry to spoil the party :D , it's possible to fit everything in one .galaxy file. Provided he re-write the entire routine and not use the default AIThinkDisruptor as pre-written in the XML file.
Yea my mistake, I know you cannot overwrite the original AIThinkDisruptor without overwriting the tactical file, but I guess you can call it from somewhere else
Quote from: AlsoKnownAs on April 16, 2010, 01:57:16 PM
Sorry to spoil the party :D , it's possible to fit everything in one .galaxy file. Provided he re-write the entire routine and not use the default AIThinkDisruptor as pre-written in the XML file.
Please let me know where does AIThinkDisruptor get called, so that I can overwrite it....
p.s. I have finished DT opening and HT opening with good AI vs AI results
The HT opening is particularly nice... feels like watching real human replays! Just beautiful
If one day the AI can use force fields effectively as well then it will be even stronger
Quote from: logo on April 16, 2010, 02:42:44 PM
But what is sad about Aiur AI is the fact that he is not defending his first expansion at all.
He did make a large army of zealots, stalkers, couple immortals, 3 colossus and sentry. But they were just standing in entrance to his main base. When i attacked his expansion he didn't move at all, and he was meters away.
I have never seen this happening, so I have no idea what is wrong.
Probably I fixed it in alpha 4...
^ same goes for me.. it seems that he is trying to stack all his forces and this is preventing from moving at all...
Quote from: whoamI on April 16, 2010, 07:15:02 PM
^ same goes for me.. it seems that he is trying to stack all his forces and this is preventing from moving at all...
Ah... got it. will try to relax the "stacking radius" a bit.
SuXue, since you ain't going to overwrite what is written in the UnitData.xml (AIThinkDisruptor is located somewhere there - <TacticalAIThink value="AIThinkDisruptor"/>), I would advise you to write a routine of your own and have it called from your own module :thumbsup: .
Same problem in 2.0 alpha 4. Here's a replay using strategy AI as a main.
http://www.mediafire.com/?uzmjzjtrmox (http://www.mediafire.com/?uzmjzjtrmox)
I played vs alpha4 and the AI did build high templars but he never used storm, they were just running around doing nothing. Same goes with sentries which never used guardian shield. I was also getting an error all the time on the left of my screen: error.enemy not found
Quote from: klaretos on April 17, 2010, 04:19:46 AM
I played vs alpha4 and the AI did build high templars but he never used storm, they were just running around doing nothing. Same goes with sentries which never used guardian shield. I was also getting an error all the time on the left of my screen: error.enemy not found
Remember to mix it with strategy ai and clean any non-original GameData, Base.SC2DATA etc.
Quote from: logo on April 17, 2010, 03:58:42 AM
Same problem in 2.0 alpha 4. Here's a replay using strategy AI as a main.
http://www.mediafire.com/?uzmjzjtrmox (http://www.mediafire.com/?uzmjzjtrmox)
Unfortunately I have never seen it happening myself, and I don't know how to watch AI replays.
One thing, I notice the replay is 35m28s?!
I should have made it clearer: the AI is broken in later stages, that's why it is a "NON-FULLY FUNCTIONAL PREVIEW VERSION". And no, solving that won't be my priority at the moment. Most competitive SC2 games finished in 15minutes.
QuoteAlpha 6 is out, with earlier and more effective attacks.
Have you tested your AI, and when i say tested i don't mean setting two computers and then watching. Have you actually played against your AI? The reason I am asking you this is because Aiur isn't attacking at all. I am using zoxc launcher and played against him on map Metropolis with latest Strategy AI 0.4.
And SuXue, i am trying to help here not to criticize.
Quote from: logo on April 18, 2010, 09:22:18 AM
QuoteAlpha 6 is out, with earlier and more effective attacks.
Have you tested your AI, and when i say tested i don't mean setting two computers and then watching. Have you actually played against your AI? The reason I am asking you this is because Aiur isn't attacking at all. I am using zoxc launcher and played against him on map Metropolis with latest Strategy AI 0.4.
And SuXue, i am trying to help here not to criticize.
Please check whether this is fixed in alpha 7.
Most people do not have this problem, while some have. I believe this is due to the bug of some launchers. Please use SC2Launcher v1.34d.
QuotePlease check whether this is fixed in alpha 7.
Most people do not have this problem, while some have. I believe this is due to the bug of some launchers. Please use SC2Launcher v1.34d.
It seems that problem is solved using SC2Launcher 1.34d. He doesn't rush with zealots but waits till he builds a good mixture of units, and then he attacks which is in my opinion very good tactic. I was very close to loosing against this AI. He actually almost destroy all of my buildings, i had to pull up barracks and main base in order to survive his attack. Good thing i destroyed his buildings first. Great AI Suxue, and i hope when you finish protoss you could develop terran, and zerg also. :thumbsup:
Thanks Suxue , your AI is great, it given me a hard time and make my AI improve more ^^. It also give me the inspiration by making all other AI work by just replacing one galaxy file in my GT Arena version. But I have an strategy for the Terran AI that can win all your Protoss strategy 99% if the Enemy Close , ( It easily done by measuring the distance between the start location ) : 6 Barracks - Reaper ^.<
I like to play starcraft, but I enjoy making AI more because it have something that at my level, I can't do : do many tasks as the same time ^^. Maybe we should create a tournament between AI.
Quote from: ptanhkhoa on April 19, 2010, 03:48:40 AM
Thanks Suxue , your AI is great, it given me a hard time and make my AI improve more ^^. It also give me the inspiration by making all other AI work by just replacing one galaxy file in my GT Arena version. But I have an strategy for the Terran AI that can win all your Protoss strategy 99% if the Enemy Close , ( It easily done by measuring the distance between the start location ) : 6 Barracks - Reaper ^.<
Gonna add a "reaction" system for this....
*) only build gateway units if enemy rush
*) fast expand if enemy turtle (unfortunately I can't find any turtle AI... hope you can write one)
new version released.
2 games tested with alpha 9.
Against DoZerg AI.
When using zealot rush against zerg with zergling, the zealots go alone and die after killing just one or two zergling. I think you'll have to make your AI retreat when its enemy is zergling rushing (certain amount of zergling at early game).
Does alpha 9 cheat at 1.26x?
ur ai is rly good. it owned me by high templar psi storm rush. damn i wasnt expecting that.
aiur ai 2.0 alpha 9 doesnt work with ghost ai. u have to implement it only in strategy 0.4 ai.
updated.
I thought i had to copy your file into another Ai (fe Strategy). Does it matter which one ill use or will it work with everyone in patch 10?
Greez
Quote from: ev- on April 29, 2010, 12:39:41 AM
I thought i had to copy your file into another Ai (fe Strategy). Does it matter which one ill use or will it work with everyone in patch 10?
Greez
You shall not do this. Because all other AIs are not compatible with patch 10.
Thanks for the update dude.
just played 3 games with this ai.. its too strong!!! i only won 1 game! nice ai! does this cheat(mine extra or has maphack)? anyways great job suxue!!! =p
is this obfuscated or something?
this format in the script is very unfriendly.... :-[
can you use this with starcrack allinone launcher?? pls answer... because you can't play .sc2map files with this...
Tested your AI, it very good, it keeps a distance from the enemy base but it keep dancing too much, can you fix that problem ? :). Also I included your AI to Green Tea for testing, hope you don't mind.