Could someone please check if their CvTechChooser.py in the Civ4\Assets\Python\Screens directory is the same as mine starting on line 576
I'm almost certain I didn't change it since I never modify files there but I'm getting an error message:
Traceback (most recent call last):
File "CvScreensInterface", line 67, in showTechChooser
File "CvTechChooser", line 69, in interfaceScreen
File "CvTechChooser", line 582, in updateTechRecords
IndexError: list index out of range
My tech screen isn't showing a change in color when a tech is researched. Also, sometimes when I go in to a city screen all of the build buttons and the "spend gold to finish" button are gone.
Roger Bacon
Code:
# Go through all the techs for i in range(gc.getNumTechInfos()): bChanged = 0 if ( gc.getTeam(gc.getPlayer(g_civSelected).getTeam()).isHasTech(i) ): if ( g_iCurrentState[i] != CIV_HAS_TECH ): g_iCurrentState[i] = CIV_HAS_TECH bChanged = 1;
Traceback (most recent call last):
File "CvScreensInterface", line 67, in showTechChooser
File "CvTechChooser", line 69, in interfaceScreen
File "CvTechChooser", line 582, in updateTechRecords
IndexError: list index out of range
My tech screen isn't showing a change in color when a tech is researched. Also, sometimes when I go in to a city screen all of the build buttons and the "spend gold to finish" button are gone.
Roger Bacon
Comment