<Nexus>
Traveler of the Multiverse
Okay, here's what I found for the bug above:
The code I received from Vokarya is no longer working but breaks Revolution entirely (CTRL-SHIFT-X doesn't work, Rev index doesn't even appear in city screen).
If I comment out th3 first lines
than the game works fine... until settling the first cities 
I also tried this code:
But that didn't work either 
Any ideas? Hints?
I'm testing with the regular 50civs dll if that matters.
The code I received from Vokarya is no longer working but breaks Revolution entirely (CTRL-SHIFT-X doesn't work, Rev index doesn't even appear in city screen).
If I comment out th3 first lines
Code:
# if( pPlayer.getCapitalCity().isNone()):
# city.setRevolutionIndex( int(.35*RevOpt.getInstigateRevolutionThreshold()) )
# else :
if( not city.area().getID() == pPlayer.getCapitalCity().area().getID() ) :
city.setRevolutionIndex( int(.35*RevOpt.getInstigateRevolutionThreshold()) )
else :
city.setRevolutionIndex( int(.25*RevOpt.getInstigateRevolutionThreshold()) )
city.setRevIndexAverage(city.getRevolutionIndex())

I also tried this code:
Code:
capital = pPlayer.getCapitalCity()
if( capital == None or capital.isNone() ) :
city.setRevolutionIndex( int(.35*RevOpt.getInstigateRevolutionThreshold()) )
else :
if( not city.area().getID() == pPlayer.getCapitalCity().area().getID() ) :
city.setRevolutionIndex( int(.35*RevOpt.getInstigateRevolutionThreshold()) )
else :
city.setRevolutionIndex( int(.25*RevOpt.getInstigateRevolutionThreshold()) )
city.setRevIndexAverage(city.getRevolutionIndex())

Any ideas? Hints?
I'm testing with the regular 50civs dll if that matters.