Please, tell me what that means

hrochland

Prince
Joined
Apr 9, 2006
Messages
2,512
Location
Czech Kingdom
Please, tell me what that means
(I tested some national styles. Now When I start game with grecco_roman nation, is game without interface and civ write this...)
hlaska.JPG
 
It is probably a problem with the button art for a new unit.

Assuming the regular BtS CvTechChooser.py file, line 205 is the highlighted one here:
Code:
			# Unlockable units...
			for j in range( gc.getNumUnitClassInfos() ):
				eLoopUnit = gc.getCivilizationInfo(gc.getGame().getActiveCivilizationType()).getCivilizationUnits(j)
				if (eLoopUnit != -1):
					if (gc.getUnitInfo(eLoopUnit).getPrereqAndTech() == i):
						szUnitButton = "Unit" + str(j)
						[COLOR="DarkRed"][B]screen.addDDSGFCAt( szUnitButton, szTechRecord, gc.getPlayer(gc.getGame().getActivePlayer()).getUnitButton(eLoopUnit), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_UNIT, eLoopUnit, 1, True )[/B][/COLOR]
						fX += X_INCREMENT
Since that is trying to place a button for a unit onto the tech panel for the tech that enables it, that is probably what the problem is: a bad button specification or missing art or that sort of thing.

Unless you are using a mod that changed that file so it is doing something else at line 205.
 
It is probably a problem with the button art for a new unit.

Assuming the regular BtS CvTechChooser.py file, line 205 is the highlighted one here:
Code:
			# Unlockable units...
			for j in range( gc.getNumUnitClassInfos() ):
				eLoopUnit = gc.getCivilizationInfo(gc.getGame().getActiveCivilizationType()).getCivilizationUnits(j)
				if (eLoopUnit != -1):
					if (gc.getUnitInfo(eLoopUnit).getPrereqAndTech() == i):
						szUnitButton = "Unit" + str(j)
						[COLOR="DarkRed"][B]screen.addDDSGFCAt( szUnitButton, szTechRecord, gc.getPlayer(gc.getGame().getActivePlayer()).getUnitButton(eLoopUnit), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_UNIT, eLoopUnit, 1, True )[/B][/COLOR]
						fX += X_INCREMENT
Since that is trying to place a button for a unit onto the tech panel for the tech that enables it, that is probably what the problem is: a bad button specification or missing art or that sort of thing.

Unless you are using a mod that changed that file so it is doing something else at line 205.

I checked it. Units and buttons are OK. This message and NO interface is only when I start game with grecco_roman civ...
Any idea, please?
 
Maybe it is so big, that I can´t see it :(
I am looking for it already a number months :(
I think: Civ style(cityset), Grecco_roman buildings, Grecco_roman improvements, Grecco_roman units, yes - it is where I can find error but I can not find it.
I will seek more :)


EDIT: link repaired
 
Maybe it is so big, that I can´t see it :(
I am looking for it already a number months :(
I think: Civ style(cityset), Grecco_roman buildings, Grecco_roman improvements, Grecco_roman units, yes - it is where I can find error but I can not find it.
I will seek more :)

First step: Split it.
One civ with other city style, but greco roman unit style.
Anoter civ, greco roman city style, but other unit style.

EDIT: link repaired

I still get the same error message.
 
Yes, thanks. Test way is better than my long file check :thumbsup:
___________________________________________________________
Quote:
Originally Posted by hrochland View Post
EDIT: link repaired
I still get the same error message.
___________________________________________________________

right mouse button and: save as on link :) (file is not packed)
 
OK. Error found. Thanks. For new mod version release now I must find somebody who can repair restrict list from MercenariesMod.
Thanks for mental support :)
 
Back
Top Bottom