Promi 2.11

Upload your latest creations here.
Please note that by posting comments to posts in this forum you forfeit your personal copyright on whatever you post. AI Scripters reserves the right to re-use objective comments in script reviews without requiring the posting author's permission. Credit, where appropriate will be given in such cases.
Locked
User avatar
Promiskuitiv
Waheguru
Posts: 1364
Joined: Thu Nov 10, 2011 1:07 pm

Promi 2.11

Post by Promiskuitiv »

Plays all settings, except for civilizations released after the Dawn of the Dukes expansion.

Code: Select all

Responds to standard taunts, special taunts:

22: tells Promi to cancel the 222 taunt.
32: stops Promi from booming without military (if it's doing that).
33: asks Promi to perform a full boom or just stop slinging if it was doing that before.
34: allows Promi to train navy.
35: forbids Promi to train navy.
35: asks Promi to cancel its strategy.
40: taunt this, flare a point on the map where you want Promi to build a market and it will attempt to do so.
60: tells Promi you want to sling it.
61-68: chat 230+[enemy player number] to ask Promi to target this enemy for 10 minutes.
147: asks Promi to delete his oldest market.
222: taunt this, flare a point on the map where you need Promi's help and it will attempt to send its army there to help you out (lasts for several minutes).
249: tells you how many resources it has at the moment.
250: declares the current strategy.
Attachments
Promi_2.11.rar
30th June 2021.
(276.2 KiB) Downloaded 694 times
Promi_2.10.rar
23rd August 2020.
(243.64 KiB) Downloaded 1095 times
Promi_1.55c.rar
20th April 2018.
(179.05 KiB) Downloaded 845 times
Promi_1.4eNoUP.rar
Last version that works without the userpatch enabled.
(37.26 KiB) Downloaded 703 times
Last edited by Promiskuitiv on Sun Mar 05, 2017 4:35 am, edited 179 times in total.

User avatar
kram1138
Guru
Posts: 815
Joined: Sun Jun 26, 2011 11:54 am
Location: Winnipeg, Canada

Re: Promi 0.9

Post by kram1138 »

Well....

I tested it and it did very well. It Fuedaled at a good time (around 14'). It then built 2 mining camps, a lumber camp and a market. ??????? What? 2 mining camps and a market? It didnt mine stone and didnt need the market yet. Although i am no expert, IMO you shouldnt build a market and an extra mining camp unless you need them. You could have used that wood to build a barracks or archery range. You did build an archery range but never used it. If dont train any archers or skirms you should get a blacksmith instead. Then it built a large army of militia, but even though it had well over enough resources, didnt upgrade them until most were dead from an enemy attack.


Another thing was that it didnt get enough farms in the dark age to sustain it.

Even though it doesnt sound like it, it did really well, and could have maybe won if if it had got men at arm upgrade sooner.
PostCount.Add(1);

User avatar
Promiskuitiv
Waheguru
Posts: 1364
Joined: Thu Nov 10, 2011 1:07 pm

Re: Promi 0.9

Post by Promiskuitiv »

Pressing F5 since i uploaded my AI and i'm very glad that someone tested it that fast!

So to get to the point, yeah as i said i'm a bad player and i build everything (like the stone camp) in advance so i didn't really think about it when i created the AI. ^^ My AI should have sent someone mining stone though, gonna look into that. Maybe i'll just leave beginning mine stone to when i advance to castle (and build the camp at that point too).
I built the market cause the AI could cease my mistakes in gatherer-percentages with that, but since it's gotten quite balanced i think i can leave the market out and build it later. ^^

The AI should've trained some archers but maybe it couldn't meet my requirements for training them. Gonna look into that too. Just btw: I also use this early archery range as a flush defense (even if it doesn't train units in feudal, it would if the enemy would try to flush). So should i get an archery range and a blacksmith for castling?

Argh that "late-personnel-upgrade" is well-known to me, already tweaked some numbers but it seems like i have to take an other look into that.


Now then... Thank you very much for your feedback, i really appreciate it! I will fix these things (and maybe even more if someone or myself discovers anything else) and add a few more counters and then in a few days i think i might release version 1.0 of my AI (and put it into the AoKH AI Scripting Ladder (even if it loses to everyone at first, i like competition)). :)

I'd be happy to get your feedback again when i release the next version! :)
And i won't do a new version for slight adjustments one can't recognize so it won't get too boring. ^^

Good day!

PS: I'm going to test your AI, too! :)

User avatar
kram1138
Guru
Posts: 815
Joined: Sun Jun 26, 2011 11:54 am
Location: Winnipeg, Canada

Re: Promi 0.9

Post by kram1138 »

now that i think about it, it may have had stone miners, and it never used any of ut, which would be even worse because you would be using villagers that coukd be doing something else.
PostCount.Add(1);

User avatar
jdstankosky
Guru
Posts: 911
Joined: Thu Nov 25, 2010 12:30 pm
Location: Florida, USA
Contact:

Re: Promi 0.9

Post by jdstankosky »

Just a question, why do you use "less-than" and "greater-than" instead of < and > ?

Also, you can save a line or two (or three, lol) and do
(current-age >= castle-age)

instead of
(or
(current-age == castle-age)
(current-age == imperial-age)
)
Do not try to script a counter for everything. That is reactionary, and always slower than taking the initiative in battle. Decide from the start what you are going to do, and do not waiver from it. Own it.

User avatar
Promiskuitiv
Waheguru
Posts: 1364
Joined: Thu Nov 10, 2011 1:07 pm

Re: Promi 0.9

Post by Promiskuitiv »

@kram: I just disabled stone mining until castle and am working on a faster castle time. :) And what do you mean with "never used any of ut"?

@jdstankosky: Well this was from the very beginning of my AI scripting when i just wanted everything to be working and wrote everything as understandable as possible. ^^ Everything's a bit messy. ^^


As i said i'm already working on a faster castle-age time etc., but it's more difficult than i've thought it would be. :O Old castle age time was around 21:XX if i'm right.
Thank you for the responses :)
Edit: Now my feudal age time is slower but my castle age time is faster. :>
Edit2: Fastest castle-age until now: 19:59 :D

User avatar
Campeador
Waheguru
Posts: 1340
Joined: Mon Nov 01, 2010 8:11 am
Location: Spain

Re: Promi 0.9

Post by Campeador »

Instead of count your number of houses, it's usally better consider the population-headroom and the housing-headroom facts. They say better if you need houses or not. An example could be your lumber camp, which is built if a minimal number of houses. I've read it after to see what happens when you play Huns.

Things to study.

You can find interesting strategy articles in AoKH, in its University and here:
http://aok.heavengames.com/cgi-bin/aokc ... 34740,0,30

Then you are prepared to understand why expert human players do waht they do in their games. So you'll be able to learn watching their recorded games:
http://aoczone.net/viewforum.php?f=22

Finally, download the Training AI, by Bear The Great. It's in the Blacksmith and it will result very useful to you to get your own ideas, give a personality to your AI, etc.

I could give your more "homework", but for the moment you'll have more than enough with this.

User avatar
kram1138
Guru
Posts: 815
Joined: Sun Jun 26, 2011 11:54 am
Location: Winnipeg, Canada

Re: Promi 0.9

Post by kram1138 »

Promiskuitiv wrote:And what do you mean with "never used any of ut"?
Sorry, i meant "it".

Another thing you could do is start mining gold sooner. It only started after it had advanced, then it didnt have enough to advance when it wanted to. You could start mining before advancing then as soon as you advance build two feudal age buildings, research wheelbarrow. Then, if you dont have enough resources top advance, just wait until you do. Dont train any villagers in the feudal age if going for a fast castle. Also dont build any military if you hope to have a very fast castle time.
PostCount.Add(1);

User avatar
Promiskuitiv
Waheguru
Posts: 1364
Joined: Thu Nov 10, 2011 1:07 pm

Re: Promi 0.9

Post by Promiskuitiv »

Working on it. ;)

Is there a better way of attacking than with a pure TSA? Sometimes my units sometimes stand still for quite some time (on the way to the enemy or even when getting attacked).

Specialization for byzantines incoming. :) But i only start working on it now and it might even be worse than the standard version. :D I'll try my best. :)
Last edited by Promiskuitiv on Sat Dec 03, 2011 6:04 pm, edited 1 time in total.

User avatar
marathon
Waheguru
Posts: 1984
Joined: Fri May 14, 2010 2:30 pm

Re: Promi 0.9

Post by marathon »

search for attack-groups and attack-now.
Also, study the TSA in Horde and... Strongbow. Phyrexx too.

Locked