Bug Reports and Technical Issues

I started a Canada game from the 600AD scenario. 1870 AD, Wonderstrand flips to me, and I fail the UHV because the city acts as if I conquered it.
Can you upload the initial save from before the flip?
 
Bug in RFC Utils.
Code:
	def isMortalUnit(self, unit):
		if unit.getUpgradeDiscount() >= 100: return False
		
		[B]if unit.isMechUnit(): return False[/B]
		
		if not unit.canFight(): return False
		
		return True

Doc returns a python error which says CyUnit doesn't contain isMechUnit.
 
Bug in RFC Utils.
Code:
	def isMortalUnit(self, unit):
		if unit.getUpgradeDiscount() >= 100: return False
		
		[B]if unit.isMechUnit(): return False[/B]
		
		if not unit.canFight(): return False
		
		return True

Doc returns a python error which says CyUnit doesn't contain isMechUnit.

I'm preparing to update my current PR, which includes a fix for this.
(And with some additional updates ;))
 
Ugh, sorry, I fixed this locally but then forgot to commit.
 
Okay, will push it somewhere this evening.
 
Code:
def onCityAcquired(city, iNewOwner):

	sOldName = city.getName()
	sNewName = None
	
	if sOldName == 'Inbhir Nis' and iNewOwner != iCeltia: sNewName = 'Inverness'
	elif sOldName == 'Dùn Èideann' and iNewOwner != iCelta: sNewName = 'Edinburgh'
	elif sOldName in ['Aquincum', 'Ak Ink'] and iNewOwner not in [iRome, iTurkey]: sNewName = 'Buda'
	elif sOldName in ['Takao', 'Gaoxiong'] and iNewOwner >= iNumPlayers: sNewName = 'Kaohsiung'
	elif sOldName == 'Mombaça' and iNewOwner != iPortugal: sNewName = 'Mombasa'
	elif sOldName == 'Moçambique' and iNewOwner != iPortugal: sNewName = 'Mozambique'
[B]	elif sOldName == 'Toranaro' and iNewOwner not in [iJapan, iFrance]: sNewName = 'Tolanaro'[/B]
	elif sOldName == 'Kerimane' and iNewOwner != iJapan: sNewName = 'Quelimane'
[B]	elif sOldName == 'Sofara' and iNewOwner != iJapan: sNewName = 'Sofala'[/B]
	elif sOldName == 'Singidunon' and iNewOwner != iByzantium: sNewName = 'Belgrad'
	elif sOldName == 'York' and iNewOwner == iCanada and city.getRegionID() == rCanada: sNewName = 'Toronto'
	elif sOldName == 'Prey Nokor': sNewName = 'Saigon'

While there's nothing wrong about it, I feel that these bolded-line could be cleaned up. It looks to me like a haunting remnant from Rhye's old citynamemanager.py that's no longer suited DoC's flavor.
There's also entries like Kotamobagu - which is no longer needed since we have separate Indonesian civ now. This little town was founded and given city status at the time of Rhye's writing the original RFC.
 
The Floating Gardens wonder is just a giant red blob, at least in the Civilopedia.

Also you can't see what a unit upgrades to anymore on a unit's Civilopedia page.
 
The Floating Gardens wonder is just a giant red blob, at least in the Civilopedia.

Also you can't see what a unit upgrades to anymore on a unit's Civilopedia page.

Oops, my bad. I forgot to upload the art itself. :blush:

Made a PR with the fix.
 
I know the Vikings were renowned for their naval abilities, but don't you think it's a bit much to let a longbow and a settler start in the water without any ships in the 600AD scenario? :lol:
 
Auto-Play seems broken, I have tried with Greece and India in 3000BC and for both the game seems stuck upon starting a game. Hitting escape triggers the "You have been defeated" message.
 
Auto-Play seems broken, I have tried with Greece and India in 3000BC and for both the game seems stuck upon starting a game. Hitting escape triggers the "You have been defeated" message.
Caught this too, fix will be up soon.
 
Works for me.

I can't. I use the latest commit and play in heir. Found Jewdaism again, but can't found buddhism (by building a hindu temple, the mechanism is the same, right?).
 
Yes. Give me a save to reproduce the issue.
 
The cultural expansion is not working properly.

I am playing version 1.13 with your modules, but not any modules that were not included in the installer.

Started a game on Marathon/Heir as China, founded Ch'angan on the first turn. My first 2 border expansions did not happen, instead when the third happened, the first 2 happened with it. Variations of that same problem happened throughout the entire game.
 
Back
Top Bottom