MagisterCultuum
Great Sage
I'm not getting any errors showing up in the game anymore, but the reference to CIVILIZATION_MINOR has returned in the error log at the start of the game, plus one more issue that appears after a turn.
The actual error log is a lot longer than that, but is is obvious that it is just the same issue repeated for each technology that founds a religion. The issue is with the code that Kael used to stop an AI leader from founding a religion thematically inappropriate religion (so good guys don't found the demon-worshiping religion, for example).
I'm not sure what the problem here is though. I don't get that error in Tholal's mod. )His instead mentioned some trouble importing various map scripts.) I did add 3 new religions, but
I don't see any TRACE or ERROR messages in the debug log. I do see that the import of CvAltRoot failed.
Edit: I just checked and it seems that Tholal removed the offending lines from his mod. He probably moved such AI decisions into the dll, and felt it unnecessary to leave that function exposed to python. I guess I should just delete those myself.
That got rid of the getReligionWeightModifier issue, but I still haven't figured out the cause of "Can't find type enum for type tag CIVILIZATION_MINOR".
Code:
Can't find type enum for type tag CIVILIZATION_MINOR
Traceback (most recent call last):
File "CvGameInterface", line 130, in cannotResearch
File "CvGameUtils", line 202, in cannotResearch
AttributeError: 'CvLeaderHeadInfo' object has no attribute 'getReligionWeightModifier'
ERR: Python function cannotResearch failed, module CvGameInterface
I'm not sure what the problem here is though. I don't get that error in Tholal's mod. )His instead mentioned some trouble importing various map scripts.) I did add 3 new religions, but
I don't see any TRACE or ERROR messages in the debug log. I do see that the import of CvAltRoot failed.
Edit: I just checked and it seems that Tholal removed the offending lines from his mod. He probably moved such AI decisions into the dll, and felt it unnecessary to leave that function exposed to python. I guess I should just delete those myself.
That got rid of the getReligionWeightModifier issue, but I still haven't figured out the cause of "Can't find type enum for type tag CIVILIZATION_MINOR".