Bug reports and technical issues

Prussia spawn sometimes never flip anything, so they collapse right away.

non-SVN so not sure if it's fixed.
 
aaand that Poland/Mali fix seems to have fixed my independent problem, weird
 
Ah, I forgot to report this reformation Phytex from the game...

Am sorry, photobucket was kinda down then I forgot to upload the phytex.

Civ4ScreenShot0374.jpg


This is from the 1 SVN before Kongo is in. Have it been fixed yet?

By the way, I still see "Malinese" in-game instead of "Malian". I think it's in the Mercenaries section but I'm not sure.
 
Blue Marble.
 
Blue Marble Gold from here.
 
After about 1200, Worldbuilder starts getting unstable. About 70% of the time, when I open it, the game crashes before Worldbuilder actually opens. I'm on SVN.
 
Yes, the reformation bug has already been fixed.
 
I get a crash the turn following this save. Probably related to the rest.
 

Attachments

I've just lost at least a cup full of brain cells trying to track down the crash, to no avail so far. The worst part of it is that it seems to be non-deterministic, i.e. if I load a save and play one turn, then reveal the whole map, sometimes it crashes and sometimes it doesn't. How am I supposed to identify what's wrong then?

This, unfortunately, points to the conclusion that the state of the game is not the sole reason for crash and it might be a memory issue.

I think I'll seek the help of other modders in the general modding forum to get ideas on how to verify that.
 
Thanks for the saves, the more I have the easier it is to test my assumptions.

I've read about 40+ civs DLLs and now I suspect that the problem might be related to the leader switch mechanic. Apparently leader names use a shared memory cache of fixed size for all civilizations in the game, which means the more civs there are, the shorter the names can be on average.

This explains both why revealing the map / opening WB causes a crash (the game tries to load leader names of civs you haven't met yet into the cache) and why it seems to happen randomly during the game (you either meet a new civ that doesn't fit anymore, or the leader of a civ you already know changes and exceeds the limit). The latter is especially problematic because a previous leader might free less space than the new one needs so there isn't a continuous "block" even though the overall memory is still sufficient.

As a temporary solution, I've disabled the switch mechanic. I couldn't exhaustively test it, but my one test did produce an America start that didn't crash on WB at least. I'll commit that soon so you can test for yourself.

I've also reworked the civ switch mechanic so that it is able to decide on its own if you should be able to switch (you mustn't be a neighbor of that civ or spawn at least 25 turns later).
 
So, if I understand correctly, you will get the new civs in, then figure out how to truly fix this so that there can still be dynamic leaders.

Also, will Iran still be special? Netherlands is the best way to play as them.
 
Yes, Iran is still available from the Netherlands.

My recent test runs unfortunately shot down my leader name theory.
 
Yes, Iran is still available from the Netherlands.

My recent test runs unfortunately shot down my leader name theory.

So are you going to put them back? By the way, I'm quite sure Peter the Great didn't appear in my game, as Russia was lead by Yaroslav until Catherine (1700s or so). (Peter is a leader, right?)
 
Peter should be leader at Divine Right, Catherine at Military Tradition in my opinion.

UI is user interface.
 
Back
Top Bottom