With 3.17, after completing the "Doctrine Overwhelm" event (build several battleships, destroyers, carriers and fighters) I always could choose the first reward (free combat 1 promotion for battleships, destroyers, carriers and fighters). With 3.19, option 1 is grayed and can't be selected.
I have tracked the bug and is easy fixable:
- Open CIV4EventInfos.xml
- Search EventInfo EVENT_OVERWHELM_DONE_1
- Substitute the following lines:
<PythonCallback>applyOverwhelmDone1</PythonCallback>
<PythonExpireCheck/>
<PythonCanDo>canApplyOverwhelmDone1</PythonCanDo>
<PythonHelp>getHelpOverwhelmDone1</PythonHelp>
with:
<PythonCallback/>
<PythonExpireCheck/>
<PythonCanDo/>
<PythonHelp/>
The reason is that in CvRandomEventInterface.py those functions don't exist, and I suppose 3.19 may have introduced an additional check for non-existance.
Funtions for reward 3, EVENT_OVERWHELM_DONE_3 (applyOverwhelmDone3, canApplyOverwhelmDone3, getHelpOverwhelmDone3), do exist and they are working properly.
I have tracked the bug and is easy fixable:
- Open CIV4EventInfos.xml
- Search EventInfo EVENT_OVERWHELM_DONE_1
- Substitute the following lines:
<PythonCallback>applyOverwhelmDone1</PythonCallback>
<PythonExpireCheck/>
<PythonCanDo>canApplyOverwhelmDone1</PythonCanDo>
<PythonHelp>getHelpOverwhelmDone1</PythonHelp>
with:
<PythonCallback/>
<PythonExpireCheck/>
<PythonCanDo/>
<PythonHelp/>
The reason is that in CvRandomEventInterface.py those functions don't exist, and I suppose 3.19 may have introduced an additional check for non-existance.
Funtions for reward 3, EVENT_OVERWHELM_DONE_3 (applyOverwhelmDone3, canApplyOverwhelmDone3, getHelpOverwhelmDone3), do exist and they are working properly.