Rehoboam

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.
Post Reply
TheNightPanda
Forumer
Posts: 93
Joined: Sun May 27, 2018 3:22 am

Rehoboam

Post by TheNightPanda »

Created by The_Night_Panda - 2020-2021 - Also available on DE as a mod

Strength: Between 1000-1250 1v1 DE elo when playing on the optimal settings without exploits. Does not yet support playing against walls or forward buildings. Can beat the DE extreme AI and the Barbarian ai on the supported settings.
Game versions: DE only
DE Benchmark score needed: >1100. (Lower benchmark or speed > 2,0 will make the ai micro bug out.)
Settings (standard): Conquest, 200 pop, ressources low, dark age start, any team setup, 1,7 or 2,0 speed prefered.
Map: Arabia (should do fine on similar land maps with normal ressource spawns)
Civilisations: 1v1/2v2/pocket in 3v3/4v4 - Franks
Civilasations: flank in 3v3 or 4v4 - Mayans
Difficulty: Extreme. (Use 1.61c for lower difficulties)
Style in 1v1/2v2: Flush into knights.
Style in 3v3/4v4: Flanks go flush into archer-line. Pockets go fc into knights-line.

It is likely that support for more civs, settings and more maps will be added at some point but is not the focus at the moment. Support for userpatch will likely be added in the next update.

Feel free to share any thoughts and ideas for this AI :)
Attachments
Rehoboam 1.70b.rar
Reuploaded - removed an anoying debug chat
(169.98 KiB) Downloaded 153 times
Rehoboam - old versions.rar
(1016.97 KiB) Downloaded 72 times
Last edited by TheNightPanda on Mon Oct 04, 2021 2:09 pm, edited 48 times in total.

TheNightPanda
Forumer
Posts: 93
Joined: Sun May 27, 2018 3:22 am

Update: Rehoboam 1.60

Post by TheNightPanda »

Happy New Year everybody 😊
I’m happy to share my first update for Rehoboam with you!

Changelog from Reboboam 1.51:
-Dark age and feudal age now have 100% DUC controlled economy. Rehoboam now plays fairly similar to how a human might manage its economy in the early game if not harassed. If Rehoboam faces a bug or a situation the DUC eco is not suited for it will go back to the old 1.51 system.
-Castle age and Imperial age has had minor build order adjustments to take advantage of the faster castle age time.
-Major structural changes to the way the code is organized to make editing and future updates easier to script. (No effect on gameplay)
-Now plays on full strength without cheating on both hardest and extreme. Taunt 200 will now turn off new DUC behavior making Rehoboam play like version 1.51. Difficulties below hard will also play without the new DUC behavior. Taunt 201 will turn on ressource cheats. Taunt 202 will turn off ressource cheats. Default is no cheating.
-Win rate vs. Rehoboam 1.51: >95% in both 1v1 and team games.


All comments and advice are welcome. Note that the only focus for this update was early game eco and that other bugs, weaknesses and missing features will be looked at in future updates. The comming update will likely focus on late game eco.

Many thanks to Esty, Marathon, Promiskuitiv, Aleph, Rubberman, Wildbeast, OffTwo and anyone else i might have forgotten for your contenueus guidance and welcoming community.
A special thanks to CheeseOnToast and Leif Ericson. This update would have been impossible without your guys, especially your help with DUC-commands. Also Leif's awesome encyclopedia has been invaluable.
Last edited by TheNightPanda on Mon Jan 04, 2021 1:56 pm, edited 1 time in total.

lolasik43
Forumer
Posts: 23
Joined: Sat Nov 25, 2017 4:05 am

Re: Rehoboam

Post by lolasik43 »

Thank you for AI ;)

FireBall37
Forumer
Posts: 59
Joined: Sat Aug 22, 2020 10:49 pm

Re: Rehoboam

Post by FireBall37 »

Hi NightPanda! Your ai looks pretty advanced for having started so soon. I'm looking forward to hearing more about it! :D

TheNightPanda
Forumer
Posts: 93
Joined: Sun May 27, 2018 3:22 am

Re: Rehoboam

Post by TheNightPanda »

Feel free to ask anything you wish to know about. I’m also on the discord forum :)

TheNightPanda
Forumer
Posts: 93
Joined: Sun May 27, 2018 3:22 am

Updated to 1.60a

Post by TheNightPanda »

Updated to 1.60a.

Various bug fixes. Most notably fixed some bugs introduced with the latest DE patches which made 1.60 stop playing in feudal age by sending all vills to corners. Might still happend on very rare occations.

This is the version that will be used for the DE AI Ladder. I'm hoping to have 1.61 ready within a month or so :)

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

Re: Rehoboam

Post by jdstankosky »

I have you playing as 1.60a Mayans on Hardest in a 1v1 vs random AI. I noticed an issue with Deer luring/pushing. Once the deer got close to TC the vills would spam garrison into TC and come out non-stop until deer ran away. They never fired arrows at it.

Same game, after a point in Castle Age, as I write this, you have 3500+ Wood, 6400+ Food, 3200+ Gold, and only 400 Stone... Only 2 stone miners and no mining camps near stone. I wonder if you will eventually build a castle... You don't even have a Stable.

(some time later) You were defeated with no change to your AI's behavior.
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.

TheNightPanda
Forumer
Posts: 93
Joined: Sun May 27, 2018 3:22 am

Re: Rehoboam

Post by TheNightPanda »

jdstankosky wrote:
Mon Apr 12, 2021 12:51 am
I have you playing as 1.60a Mayans on Hardest in a 1v1 vs random AI. I noticed an issue with Deer luring/pushing. Once the deer got close to TC the vills would spam garrison into TC and come out non-stop until deer ran away. They never fired arrows at it.

Same game, after a point in Castle Age, as I write this, you have 3500+ Wood, 6400+ Food, 3200+ Gold, and only 400 Stone... Only 2 stone miners and no mining camps near stone. I wonder if you will eventually build a castle... You don't even have a Stable.

(some time later) You were defeated with no change to your AI's behavior.
First issue sounds a known bug that mainly happends in MP games due to the vills getting re-garrisoned before having time to fire the arrows. May also happen more on high end pc's with a higher number of passes every second. I'll get around to fixing it eventually, shouldnt be hard.

Second one is because rehoboam cannot yet play mayans in 1v1. If you check the preffered settings you will see that it can only play mayans as flank in 3v3 or 4v4 games :) Rehoboam should tell you at the start of the game if it is not playing on i'ts preffered settings. Maybe I should just make Rehoboam resign if it's being made to play on settings that is likely to lead to major bugs?

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

Re: Rehoboam

Post by marathon »

Don't resign. Players hate it. Better just inform.

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

Re: Rehoboam

Post by jdstankosky »

i did see that Mayans were a flank position in the code, but i was almost certain it included Mayans, even as it's preference, for 1v1 in the chat. i will double check later. i work too much 😭

also, the high-end PC thing might be true. i have a very powerful computer. if it makes a difference, i was on Casual speed, no speed hack
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.

Post Reply