LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
285 stars 158 forks source link

Puppet AI #2657

Closed Enrico-Swagolo closed 7 years ago

Enrico-Swagolo commented 7 years ago

1. Mod version (i.e Date - 4/23):

Current, 12th Ocrtrober 2. Mod list (if using Vox Populi only, leave blank):

3. Error description:

Puppet a city.

After a few buildings, it'll stop making more and go Farming (25% Prod to Food) despite there being possible to raise many buildings. It omits important buildings such as Barracks, Libraries, etc.

LoneGazebo commented 7 years ago

I need logz.

LoneGazebo commented 7 years ago

BuildingProductionAI log, please.

Enrico-Swagolo commented 7 years ago

Oh. I had them turned on some time ago, buuuuuuut... After Steam made Civ 5 impossible to open for a day, I've reinstalled it (didn't even help, as it was a Steam server problem) then and the setting is now off.

Wouldst thou care to remind me what and where should be changed to 1/0 etc? Because I remember the information on what should be changed was spread all over civfanatics.

LoneGazebo commented 7 years ago

enable AI logging in the config ini

Enrico-Swagolo commented 7 years ago

Found it! Does the thing, like, work for turns that logging wasn't turned on?

LoneGazebo commented 7 years ago

nope

Enrico-Swagolo commented 7 years ago

Oh well, gotta puppet some cities then. I bet Pedro will help me with this.

Enrico-Swagolo commented 7 years ago

Started another game with EnableAILogging = 1. Where can the files be found so I can upload them? Orleans did it, others were about to. Conquered lots with Songhai.

I've noticed that the AI just doesn't want to build Barracks. When it has built every other building, it just remains on No Production (doesn't even go into Farming~!) for X turns, then usually goes to Farming and bugs out, never building anything else.

It's built every other available building, but once Barracks were all that remained to finish - it stopped.

BTW Mandekalu Cavalry is BROKEN OP. I haven't had an easier game in my lifetime. Convenient, as I've needed to puppet cities in a short timespan. Songhai are now better than the Zulu at fighting because Mandek is so strong, it just can't be countered if used by the player. Amphibious + Canoe + 18CS in Ancient + 4 Movement + Raider (100% flanking! lots of Gold!) + no city penalty is just too strong and needs some heavy toning down, especially considering Tabya is also pretty OP even without rivers. I puppeted more than half of my continent in way less than 100 turns - and if I cared more, I'd have all the 6 civs here under my thrall now.

Cataphract on the other hand is rubbish, but those are my off-topic thoughts.

Enrico-Swagolo commented 7 years ago

I've found a logs folder in Documents/My Games/Sid Meier's, but it doesn't contain the file?

I think you've told me wrong how to enable logging

LoneGazebo commented 7 years ago

; Enable message logging MessageLog = 1

; Rand event logging bitfield. bit 0 = on/off, bit 1 = log callstacks, bit 2 = log pregame calls, bit 3 = log asynchronous RNGs RandLog = 1

; Enable AI logging AILog = 1

; Enable AI performance logging AIPerfLog = 1

If you load the save and progress a few turns with bad puppets that should do it.

Enrico-Swagolo commented 7 years ago

Okay! Will do.

On Sun, Oct 16, 2016 at 9:24 PM, LoneGazebo notifications@github.com wrote:

; Enable message logging MessageLog = 1

; Rand event logging bitfield. bit 0 = on/off, bit 1 = log callstacks, bit 2 = log pregame calls, bit 3 = log asynchronous RNGs RandLog = 1

; Enable AI logging AILog = 1

; Enable AI performance logging AIPerfLog = 1

If you load the save and progress a few turns with bad puppets that should do it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LoneGazebo/Community-Patch-DLL/issues/2657#issuecomment-254068161, or mute the thread https://github.com/notifications/unsubscribe-auth/AQMrKKO27BeeDEOeq0tiPQyyGXWByv_Cks5q0nn4gaJpZM4KX-tU .

Enrico-Swagolo commented 7 years ago

Okay, I've done it, loaded the save, progressed a few turns but the log folder still doesn't have the file. It's almost empty, aside from 1KB stuff. Is it the logs folder in my documents/my games/sid meier's civ 5?

I've noticed something weird though, even if logging ultimately fails. The Puppet cities will sometimes just go Farming to a few turns, then suddenly decide to build some other building that was unlocked for them for eons, like Granary or Herbalist. Never Barracks.

Enrico-Swagolo commented 7 years ago

; Enable the logging system LoggingEnabled = 1

Found that and you didn't mention it, will try again

Enrico-Swagolo commented 7 years ago

YEAH now I HAVE MANY FILES, like citybuildingstrategy

But there's no BuildingProductionAi log. There's lots of others. I think if I turn Builder AI logging to 1, I'd get the buildingproductionai.

; Enable Builder AI logging BuilderAILog = 0

to 1?

Enrico-Swagolo commented 7 years ago

Update your advice with the fact it has contain that the following, which is much, much below in the config file

; Enable the logging system LoggingEnabled = 1

Just enabling AI logging ddoesn't work because regular logging isn't there

I have ALL THE LOGS. Take them all, because BuildingProductionAI doesn't exist. There's CityStrategyAIProduction which seems to be the one you've mean. It shows that Orleans was... considering choosing Granary, Herbalist, Settler, Food. NEVER Barracks. Puppets hate Barracks line which is weird, considering Barracks/Armory are some really great buildings.

The cities to look out for is Orleans. And IIRC Troyes? Some French city that appears around the same time. Only those two apply out of all my puppets, because I've acquired them early and they have lots, lots of buildings. LogsForGooseby.zip

LoneGazebo commented 7 years ago

Barracks is discouraged because they can't train units, thus the XP is wasted.

Enrico-Swagolo commented 7 years ago

Barracks gives +2Science though, +2 Production (with Arena) as well as lower Danger.