davidlallen
Deity
Well, I do not have a smoking gun, but I have something which makes my mod ""much less likely"" to crash. In my mod, I have a super-quick mode, for testing purposes only, which almost always causes a crash within 10 turns if the AI starts on the coast. If the AI is not on the coast, there is usually a crash within 40 turns, which is usually when the AI founds a new city on the coast.
After long sessions of different experiments, which I won't bore you with the details of, I added a lighthouse and great lighthouse to my list of buildings. The crash is not "gone", but it never crashes in the first 10 turns and only seems to crash after the great lighthouse is built.
I notice your mod doesn't seem to have anything with the lighthouse effect either. Could you please try adding a lighthouse and great lighthouse to your mod. At first just copy them out of the original BTS files and set the prereq technologies to "none" or something appropriate in your tech tree. Please let me know if that makes your crash happen ""less"".
I don't have any idea why lack of lighthouse/great lighthouse is important; I guess an AI city on the coast may have some interest in building it, and maybe the AI devs forgot some kind of check in the case where there are no buildings to improve water yield.
I will keep testing; if it also improves your stability, I will put out a new thread to see if somebody with SDK knowledge can investigate why this crash would be happening.
After long sessions of different experiments, which I won't bore you with the details of, I added a lighthouse and great lighthouse to my list of buildings. The crash is not "gone", but it never crashes in the first 10 turns and only seems to crash after the great lighthouse is built.
I notice your mod doesn't seem to have anything with the lighthouse effect either. Could you please try adding a lighthouse and great lighthouse to your mod. At first just copy them out of the original BTS files and set the prereq technologies to "none" or something appropriate in your tech tree. Please let me know if that makes your crash happen ""less"".
I don't have any idea why lack of lighthouse/great lighthouse is important; I guess an AI city on the coast may have some interest in building it, and maybe the AI devs forgot some kind of check in the case where there are no buildings to improve water yield.
I will keep testing; if it also improves your stability, I will put out a new thread to see if somebody with SDK knowledge can investigate why this crash would be happening.