Git Product home page Git Product logo

kiara's Introduction

Kiara

AI for 0ad test

kiara's People

Contributors

lenathewolfess avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

kiara's Issues

status

What's the current status of this mod? Playable, ready for testing, need feedback?

JavaScript error simulation/ai/common-api/gamestate.js line 165 str is undefined

version 64fa277

<p class="error">ERROR: JavaScript error: simulation/ai/common-api/gamestate.js line 165
str is undefined
  API3&lt;/m.GameState.prototype.applyCiv@simulation/ai/common-api/gamestate.js:165:2
  KIARA.QueuePlan@simulation/ai/Kiara/queueplan.js:7:24
  KIARA.ConstructionPlan@simulation/ai/Kiara/queueplanBuilding.js:8:23
  KIARA.HQ.prototype.constructTrainingBuildings@simulation/ai/Kiara/headquarters.js:2626:36
  KIARA.HQ.prototype.update@simulation/ai/Kiara/headquarters.js:3580:8
  KIARA.KiaraBot.prototype.OnUpdate@simulation/ai/Kiara/_kiarabot.js:300:11
  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:64:7</p>
<p class="error">ERROR: JavaScript error: simulation/ai/common-api/gamestate.js line 165

interestinglog.html.tar.gz

replay 2021-09-25_0011.tar.gz

let me know is there is more info that can help

Glorious expansion isn't researched

I just tried 64fa277 on two matches and let the game run after Kiara's victory and even after a while having a wonder, it doesn't research glorious expansion. While Petra does.

Thanks for making this, it's fun watching AI fights ^^

Lone rams manage to destroy fortress because Kiara garrisoned and retreated

At bit after 31 min, two rams attack Kiara's (bleu) fortress. Without any support units. And it works because:

  • minor thing: Kiara leaves garrisoned 6 javelin soldiers, they don't have a lot of hack but it's better than making 1 additional arrow for the fort which is only pierce. But that's minor. But since arrow damage is near 0 (tried in map editor, need 12k archer arrows to destroy ram), it's always better to send non-archer units directly againts an undefended ram.
  • major: after killing half of a ram with lancers, Kiara retreated 2/3 of them elsewere. And garrisoned the other 1/3 in the fortress where they do significantly less damage to the rams via arrows.
    So in the end we see the fortress going down from unprotected rams.

There weren't much lancers so the fortress might still have gone down although it looked to have big chances of making it. Worst case one of the rams would be destroyed, the other damaged a lot. And the lancers + javelin soldiers would have finished it. And instead the rams could destroy the arsenal and a few houses!

screenshot0055-2

version: yesterday's main: ccaedb0
same replay as #9 (comment) #14 #15 #16 #17 #18
2022-11-06_0004.zip

errors and crash after starting network game

At commit 6f3a6fa, we got some errors at the top after starting a network game with 2 players.

ERROR: PlayerID 3 |   bad path from 2 to 57 ??? (void 0)
ERROR: PlayerID 3 |    regionLinks start []
ERROR: PlayerID 3 |    regionLinks end   []
ERROR: PlayerID 4 |   bad path from 2 to 57 ??? (void 0)
ERROR: PlayerID 4 |    regionLinks start []
ERROR: PlayerID 4 |    regionLinks end   []

And then a crash

ERROR: Cannot serialize NaN values.
terminate called after throwing an instance of 'PSERROR_Serialize_InvalidScriptValue'
  what():  Serialize_InvalidScriptValue
Aborted (core dumped)

Kiara can give up too early in capturing a tower

After around 21 min, Kiara (blue) starts capturing a tower. And it succeeded at 75% but then pulls some units from the capture and it fails.
It's hard to balance that because sometime they try too hard and sacrifice a lot of units. Here the capture reached 75% and capture rate was very positive. So no matter the threat that comes, it's worth continuing 5 seconds to finish and get a tower.
So dropping can be decided by the capture rate and the remaining percentage. Hopefully it's easy to get that data.

screenshot0054

version: yesterday's main: ccaedb0
same replay as #9 (comment) #14 #15 #16 #17 #18
2022-11-06_0004.zip

A lot of woodcutters sacrified on a tower

It starts there with an attack that fails to capture and it seems Kiara pulls back at the right moment before starting to loose too much, good!
But immediately after, a small group comes back to attack the tower and is slaughtered.

Screenshot_2022-11-06_06-02-04

A bit after, woodcutters are dragged into fighting again the tower. Maybe the 1st group that came back was also woodcutters

screenshot0061

version: yesterday's main: ccaedb0
same replay as #9 (comment) #14 #15 #16 #17 #18
2022-11-06_0004.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.