bool CyTeam::isHasMet(int eIndex)
{
[B]if (eIndex == -1)
{
throw new exception();
}[/B]
...do stuff
}
// Field bombard case. If bombarding from a city, odds of success are reduced
// For the sake of game balance by default.
int odds = 100;
if (plot()->getPlotCity() != NULL)
{
odds = modified_accuracy;
}
// standard odds made worse if greater than one tile out
int shotDistance = plotDistance(plot()->getX_INLINE(), plot()->getY_INLINE(), pPlot->getX_INLINE(), pPlot->getY_INLINE());
[B]odds += (shotDistance - 1) * 50[/B];
Not a bug as such, but...
From bool CvUnit::bombardRanged(int iX, int iY, bool sAttack)
Code:// Field bombard case. If bombarding from a city, odds of success are reduced // For the sake of game balance by default. int odds = 100; if (plot()->getPlotCity() != NULL) { odds = modified_accuracy; } // standard odds made worse if greater than one tile out int shotDistance = plotDistance(plot()->getX_INLINE(), plot()->getY_INLINE(), pPlot->getX_INLINE(), pPlot->getY_INLINE()); [B]odds += (shotDistance - 1) * 50[/B];
Doesn't the bolded line actually INCREASE the odds, rather than decrease it? I think it should be -=, not +=?
for (iI = 0; iI < GC.getNumTechInfos(); iI++)
{
if (GET_TEAM(eTeam).getResearchProgress((TechTypes)iI) > getResearchProgress((TechTypes)iI))
{
setResearchProgress(((TechTypes)iI), GET_TEAM(eTeam).getResearchProgress((TechTypes)iI), getLeaderID());
}
}
def onFirstContact( self, argsList, bVerbose = True ) :
...
[B]playerX = gc.getPlayer(teamX.getLeaderID())[/B]
if( playerX == None or playerY == None ) :
#if( self.LOG_DEBUG ) : CvUtil.pyPrint(" BC - Error: didn't find any players")
return
Hi Phongus420
I know I've mentioned it before, rival cities are flipping over to my empire without getting the pop-up asking if to abandon or to install a new governor, much like capturing a city.
I've verified this game that NO Revolutions is checked, Cities flipping peacfully is unchecked.
I've checked my ini file:
GameOptions = 0000001000000000000000010001011011 just to verify
I've also disabled IDW in the file Definesalt.xml, the line reads:
<Define>
<DefineName>IDW_ENABLED</DefineName>
<iDefineIntVal>0</iDefineIntVal>
</Define>
And yet just around now while playing, a rivals city (no war with him) filled with black smoke, flipped over to me without any notice at all, the log just said:
"The city of xxxxx revolted and joined our empire", what is going on?!
As I once mentioned, playing BTS alone or with other mods never caused a city to flip without the option to abandon it, I know I've been asking a lot about that subject but it's very annoying to have an unwanted city right in the middle of a carefully planed teritory.
Is there a way to avoid it completely?
I wish there was an option to completely avoid a city to flip over without at least giving the options screen if to abandon it or to install a governor.