LoneGazebo / Community-Patch-DLL

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

(5-24) Modded civs no longer seem to make peace or do vassal calculations. #7961

Closed AnemoneMeer closed 3 years ago

AnemoneMeer commented 3 years ago

5-24

Mods Used: Vox Populi. Various modded civs included but not limited to creations by TariscoCM, Surkitract, the Neptunia modded civs. Fire Emblem modded civs, Konosuba modded civs (downloaded just for testing). Ran individually and in groups. Ingame editor used for testing extremes, but also tested without.

The AI for civs not native to Civ V no longer calculates peace deals or vassalage. They will simply refuse peace outright all of the time (Tested with a 100 turn war where I spawned mechanized infantry swarms, as well as deliberately botching a war, and deliberately creating an unfightable stalemate war. Curiously, in a few cases, they were able to be bribed out of wars by other AIs, but would NEVER make peace on their own accord. Vassal trades simply read as impossible in both directions at all times.

Debugging attempts concluded modifying the XMLs to force them to have an AI personality did not fix, but did change their behavior.

Reproduction steps: Just use a modded civ.

LoneGazebo commented 3 years ago

@RecursiveVision thoughts?

RecursiveVision commented 3 years ago

My best guess is that a flavor is being set to 0 or -1, even though that should be impossible. Will investigate.

RecursiveVision commented 3 years ago

@AnemoneMeer

I just ran @pineappledan's Israel civ and peace logic worked just fine, with the flavors loading as normal (GetMeanness() returned 4).

So it must be a compatibility problem with the custom civs you're using. Could you zip the folders for the civs that you can't make peace with and post them here?

RecursiveVision commented 3 years ago

I tried the Fire Emblem civs modpack myself, no issues. You must have a mod conflict somewhere. Or try the most recent version.