Few days ago I downloaded BUG's SVN version (30th january probably) and did some testing with it and I managed to get couple errors with it:
When pressing alt+x in city screen and placing few red dots to city plots:
Traceback (most recent call last):
File "CvScreensInterface", line 901, in mouseOverPlot
File "CvOverlayScreenUtils", line 128, in mouseOverPlot
File "CvDotMapOverlayScreen", line 267, in onMouseOverPlot
File "CvStrategyOverlay", line 370, in highlightCity
File "CvStrategyOverlay", line 472, in eraseDot
RuntimeError: unidentifiable C++ exception
ERR: Python function mouseOverPlot failed, module CvScreensInterface
After strategy map has been set in main screen and then pressing alt+x:
Traceback (most recent call last):
File "CvEventInterface", line 30, in onEvent
File "BugEventManager", line 289, in handleEvent
File "BugEventManager", line 294, in _dispatchEvent
File "BugEventManager", line 318, in _handleConsumableEvent
File "BugEventManager", line 368, in onKbdEvent
File "BugUtil", line 479, in __call__
File "BugUtil", line 476, in call
File "CvStrategyOverlay", line 165, in toggleDotMapEditMode
File "CvStrategyOverlay", line 100, in toggleEditing
File "CvStrategyOverlay", line 269, in edit
File "CvOverlayScreenUtils", line 33, in showOverlayScreen
File "CvDotMapOverlayScreen", line 198, in interfaceScreen
File "CvDotMapOverlayScreen", line 267, in onMouseOverPlot
File "CvStrategyOverlay", line 370, in highlightCity
File "CvStrategyOverlay", line 472, in eraseDot
RuntimeError: unidentifiable C++ exception
ERR: Python function onEvent failed, module CvEventInterface
Also in CvMainscreen.py file (BUG 3.51) there was small "typo" in plotlist code for getRow, getCol and in GetI functions. It might be of course intentional as after I had changed it to use correct value, then all the unit + plot list images weren't aligned correctly.
The code block:
Code:
def getRow(self, i):
return i / self.getMaxCol()
Shouldn't it be self.getMaxRow?
and
Code:
def getI(self, nRow, nCol):
return ( nRow * self.getMaxCol() ) + ( nCol % self.getMaxCol() )
Shouldn't it be nRow * self.getMaxRow?
One last thing from Mainscreen.py. I've managed it to cause couple times now divide by zero error and the python error log said it was this code block:
Code:
def getMaxRow(self):
return ((self.yResolution - 160) / PleOpt.getVerticalSpacing())
I didn't write down what I was doing in game just at the moment when this error happened, so I can't give more details this time.