For Koshling/AIAndy - AI early development

Okay BBAI log now appearing along with a bunch of others. One question: there are five labeled RandomLogger Player 0 Set 26 (through 30) of varying sizes up to 50,000 kb. Are there suppose to be 5, or is that supposed to be one file being overwritten? I'm concerned because that's just since this morning and is likely to add up in a hurry (Dell gave me a huge hard drive, but identified it in sections as if it were multiple drives and there's only 10gb of space available on the drive the logs and saves get written to).
 
Okay BBAI log now appearing along with a bunch of others. One question: there are five labeled RandomLogger Player 0 Set 26 (through 30) of varying sizes up to 50,000 kb. Are there suppose to be 5, or is that supposed to be one file being overwritten? I'm concerned because that's just since this morning and is likely to add up in a hurry (Dell gave me a huge hard drive, but identified it in sections as if it were multiple drives and there's only 10gb of space available on the drive the logs and saves get written to).
I think it does overwrite that on new sessions but I would deactivate the random log anyway unless you are playing multiplayer as its main use is finding the root causes of sync errors in multiplayer.
 
I don't know how common this is because I just noticed it, but it might help explain why the AIs are lagging in tech rate. This wasn't an issue in either Deity or Immortal, Increasing Difficulty games I started recently, but I don't know what/how many free techs they get. In my current game (Emperor, Increasing Difficulty) 900+ turns in, I just checked the scoreboard and the top AI player by score is just now researching Cultural Identity, which means he's been making do without the Elder Council all this time.
View attachment 327384
View attachment 327385
 
I don't know how common this is because I just noticed it, but it might help explain why the AIs are lagging in tech rate. This wasn't an issue in either Deity or Immortal, Increasing Difficulty games I started recently, but I don't know what/how many free techs they get. In my current game (Emperor, Increasing Difficulty) 900+ turns in, I just checked the scoreboard and the top AI player by score is just now researching Cultural Identity, which means he's been making do without the Elder Council all this time.
View attachment 327384
View attachment 327385

All evaluation (of civics, buildings, etc.) is necessarily generic (i.e. - it knows nothing about specific buildings or civics at the code level - only what it reads as their properties), so it may be hat it undervalues buildings enabled by techs. I'll perhaps consider tweaking that up a bit.

Edit - I just had a quick look at the building evaluation code in the tech evaluation (i.e. - evaluation of buildings the tech enables), as it's not code I was familiar with (it's quite separate from the building evaluation code that cities use, which seems a bit weird in itself!). Anyway, it turns out that it only does a VERY cursorary job of evaluating buildings in that context, and science bonuses are totally ignored!

This definately needs changing, and I intend to scrap the current routine entirely and use the city building evaluator (the capital city can act as a proxy for most purposes), which is FAR more complete. However, this is a fairly major renovation, so it will wait until after the next release, as it might have unintended side effects until bedded in.
 
All evaluation (of civics, buildings, etc.) is necessarily generic (i.e. - it knows nothing about specific buildings or civics at the code level - only what it reads as their properties), so it may be hat it undervalues buildings enabled by techs. I'll perhaps consider tweaking that up a bit.

Edit - I just had a quick look at the building evaluation code in the tech evaluation (i.e. - evaluation of buildings the tech enables), as it's not code I was familiar with (it's quite separate from the building evaluation code that cities use, which seems a bit weird in itself!). Anyway, it turns out that it only does a VERY cursorary job of evaluating buildings in that context, and science bonuses are totally ignored!

This definately needs changing, and I intend to scrap the current routine entirely and use the city building evaluator (the capital city can act as a proxy for most purposes), which is FAR more complete. However, this is a fairly major renovation, so it will wait until after the next release, as it might have unintended side effects until bedded in.
Excellent thinking. There seems to be a number of inefficient applications like this where AI is concerned, where they like to reinvent the wheel numerous times rather than refer to one source, and then other times it seems to work nicely just like it should. Seems some times the left hand didn't know what the right was up to during development at Firaxis. This would likely help the AI quite a bit.
 
Back
Top Bottom