Autumn Leaf
Since 1992
VS 2010 is recommended actually. See my guide here for setting up the DLL in the easiest way possible.
Thanks. (I could've just tried compiling but then I'd not be sure if rookie errors were version issues.)
VS 2010 is recommended actually. See my guide here for setting up the DLL in the easiest way possible.
Traceback (most recent call last):
File "CvScreensInterface", line 693, in forceScreenRedraw
File "CvMainInterface", line 1320, in redraw
File "CvMainInterface", line 5327, in updateScoreStrings
File "Scoreboard", line 369, in draw
File "Scoreboard", line 347, in sort
File "Scoreboard", line 347, in <lambda>
File "Scoreboard", line 580, in sortKey
File "Scoreboard", line 521, in rank
AttributeError: 'NoneType' object has no attribute 'rank'
ERR: Python function forceScreenRedraw failed, module CvScreensInterface
def rank(self):
if self.isVassal():
return self._master.rank()
else:
return self._rank
It's likely that this is because you can contact the vassal and not the master, or vice versa.In my mod, I get the following exception during autoplay:
Line 521 is the 3rd line in the following code:Code:Traceback (most recent call last): File "CvScreensInterface", line 693, in forceScreenRedraw File "CvMainInterface", line 1320, in redraw File "CvMainInterface", line 5327, in updateScoreStrings File "Scoreboard", line 369, in draw File "Scoreboard", line 347, in sort File "Scoreboard", line 347, in <lambda> File "Scoreboard", line 580, in sortKey File "Scoreboard", line 521, in rank AttributeError: 'NoneType' object has no attribute 'rank' ERR: Python function forceScreenRedraw failed, module CvScreensInterface
The error seems that when computing the score of a vassal, the game can't find the master, so the variable has NoneType and causes a cascade of mistakes. The exception happens dozens if not hundreds of times. It doesn't seem directly related to any changes I made (though I'm sure it is).Code:def rank(self): if self.isVassal(): return self._master.rank() else: return self._rank
I saw the problem mentioned ion the forums, but didn't find a solution. Is anyone familiar with the problem?
Have you enabled Python exceptions? Looks like the Archer is equivalent to the Catapult in RFC.I'm getting a really weird error.
Any civ spawning is creating 1 archer which appears in the bottom left hand part of the map. This error does not effect civs which are present at the start of the game.
Changes I have made recently:
-Changed the start date
-Changed the order of the civs
-Changed which civ is the first to spawn after the original starting civs.
I'm stumped at the moment.![]()
Have you enabled Python exceptions? Looks like the Archer is equivalent to the Catapult in RFC.
Forgot to say that this happens during autoplay (for Israel, and it usually starts happening in the late 1800s). What you're saying makes sense, maybe it's related to the fact that some civs appear to be contacted during autoplay? I.e. sometimes it says something like "Netherlands is willing to open borders" during autoplay for some reason.It's likely that this is because you can contact the vassal and not the master, or vice versa.
Working on something?Question: Where can I adjust the tendency of each civ to use the culture slider?
Traceback (most recent call last):
File "BugConfig", line 110, in unknown_endtag
File "BugConfig", line 334, in endChild
File "BugConfig", line 337, in end
File "BugConfig", line 318, in process
File "BugOptions", line 1482, in handle
File "BugUtil", line 642, in getFunction
File "BugUtil", line 629, in lookupFunction
File "BugUtil", line 623, in lookupModule
ConfigError: No such module 'BugUpdateChecker'
Traceback (most recent call last):
File "BugConfig", line 110, in unknown_endtag
File "BugConfig", line 334, in endChild
File "BugConfig", line 337, in end
File "BugConfig", line 318, in process
File "BugOptions", line 1482, in handle
File "BugUtil", line 642, in getFunction
File "BugUtil", line 631, in lookupFunction
ConfigError: Module 'BugUpdateChecker' must define function or class 'onLocalRootChanged'
Traceback (most recent call last):
File "BugConfig", line 110, in unknown_endtag
File "BugConfig", line 334, in endChild
File "BugConfig", line 337, in end
File "BugConfig", line 318, in process
File "BugOptions", line 1482, in handle
File "BugUtil", line 642, in getFunction
File "BugUtil", line 631, in lookupFunction
ConfigError: Module 'BugUpdateChecker' must define function or class 'onRepositoryUrlChanged'
No I did not.Did you edit anything in its vicinity? It seems that BugUpdateChecker needs to implement some sort of interface that requires these functions.
Working on something?