ono-neko
Prince
This is another series of my attempt to merge BUG properly to TAM. Apperantly DotMap strategic layer is not working. When pressing ALT-X, the following error is given in the pythonerr.log file:
From what I can tell, that line 177 is:
Since I am not sure what to make of this, aside of it's using "color" variable which is called from CvStrategyOverlay.COLOR_KEYS (if I understand correctly), I did a test by changing the code line to:
That works, though the funny thing is the layer is pink color, not exactly white, regardless of what is the color for the civ.
So, anyone has any idea what is possibly causing this line not working, and why the COLOR_WHITE isn't white? Thanks.
EDIT: TAM has custom CIV4ColorVals.xml, which the file size basically double the default one. Does that makes any difference?
Code:
Traceback (most recent call last):
File "BugEventManager", line 376, in _handleConsumableEvent
File "BugEventManager", line 464, in onKbdEvent
File "BugUtil", line 607, in __call__
File "BugUtil", line 604, in call
File "CvStrategyOverlay", line 238, in toggleDotMapEditMode
File "CvStrategyOverlay", line 163, in toggleEditing
File "CvStrategyOverlay", line 342, in edit
File "CvOverlayScreenUtils", line 30, in showOverlayScreen
File "CvDotMapOverlayScreen", line 144, in interfaceScreen
File "CvDotMapOverlayScreen", line 177, in createColorPanel
RuntimeError: unidentifiable C++ exception
From what I can tell, that line 177 is:
Code:
screen.setStackedBarColors(szBar, 0, gc.getInfoTypeForString(color))
Since I am not sure what to make of this, aside of it's using "color" variable which is called from CvStrategyOverlay.COLOR_KEYS (if I understand correctly), I did a test by changing the code line to:
Code:
screen.setStackedBarColors(szBar, 0, gc.getInfoTypeForString("COLOR_WHITE"))
That works, though the funny thing is the layer is pink color, not exactly white, regardless of what is the color for the civ.
So, anyone has any idea what is possibly causing this line not working, and why the COLOR_WHITE isn't white? Thanks.
EDIT: TAM has custom CIV4ColorVals.xml, which the file size basically double the default one. Does that makes any difference?