Looks like I accidentally pushed a debug DLL, sorry.Just to affirm some recent posts, I'm getting "DLL attaching" also.
Recently I switched to map, loaded into one game to make some map changes, then accidentally loaded a save, then back to develop, which is when I started getting the issue.
Turn times are REALLY long on 1700, like unreasonably long (from ~5 seconds to over 30).
Could be that more cities are affected, it's just that I could pinpoint it to Ninua at least. I assume Iol Caesarea is also independent?[Overflow bug]
No, I don't have an earlier save, sorry.
But Ninua? Really? Because when I load the save (I checked again before replying here) the overflow is in Iol Caesarea.
The issue with the bug is that when it is noticed, it is already too late. There is a discrepancy between the actual properties of the city and what the game keeps track of what their commerce rate is (either insanely high or insanely negative), so at some point some calculation must go wrong and introduce the error, which then never goes away. My current suspicion is that it is related to city flips, likely during collapse, where the new city of the new owner (strangely always independents so far) has the error.
I encourage you to enable autosaves with a generous retention rate so that the last 20 turns are covered at least (doesn't have to be every turn). If you suspect a city is affected, please submit a save from before it flipped to independent right along with it.
I think I may also temporarily force the game to create a save before a civilisation collapses outside of the autosave system, so that we are guaranteed to have saves of all those situations. That should help having the right situation on hand to look into.
Alright, I will look into it.How about two more to look at? Both are development version of DoC.
The straightforward one is a CtD in an India game. Attached is the turn before it crashes (155), and the two turns before that. Three times in a row it CtDed on me, even when backing up to Turn 153. I finally got around it by reloading the Autosave on Turn 152 and playing forward from there. The crash seems related to Rome's collapse.
Spoiler :That was a viciously mean game that I eventually resigned, btw, so I offer the CtDs only as research; I never want to see that particular game again. The eastern Mediterranean powers never built roads, and China never opened its borders, so for the early game I could trade only with Persia. The barb spawn rate was thru the roof, sometimes three turns in a row, and never less than every other turn, a stack of them spawned. Byzantium never spawned, leaving me in AD 600 on with only the Turkmen for trading partners after conquering Chola. That's no place to try running a 10-city empire, even with two shrines to help support the economy.
Yeah, the spawn mechanism is sometimes irregular like that. I plan to rewrite it in 1.17, the new implementation should behave more logically and reliably.Then there's the goofy one, which might just be random roll thing and not a bug. Background: If you don't settle on the spot when you spawn as India, Indraprastha should flip to you the next turn, founding Hinduism there.
But in this one, if you delay, Indraprastha doesn't flip until the turn after that. Moreover, you can move the Chariot into Indraprastha while it is still an Independent city. I've attached Turn 54, which is the turn where you spawn. Move the Chariot west to find Indraprastha and observe the behavior.
I had another India game where Indraprastha flipped on me at the proper time, but Hinduism didn't found. I don't have a save of that one, because I didn't think to save the game on launching it. But I'll mention that weirdness in case it is relevant to the above case.
EDIT: I'm starting to think the goofy one is random happenstance and not a bug, because it's happened to me several times this evening on launching and relaunching an India game. (But it never happened in 1.16 to me, so would it be a change introduced in the development version?) I'll also note that on those goofy launches, Indraprastha will generate three Workers, but only sometimes will it generate an Archer to go with it.