The Capo
godless Heathen
And I looked in the debug files that you described, and here's what I found. First from PythonErr.log:
The Dbg file didn't seem to have anything pertaining to this in it. But to make it a bit easier on you, here is the python code from the section referred to in this, lines 289 through 303, with line 300 hilighted:
EDIT: I bumped my last post, check the last page for the files (I think) you asked me to post.
Code:
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 "BugConfig", line 547, in handle
File "BugUtil", line 622, in callFunction
File "BugUtil", line 599, in lookupFunction
File "<string>", line 35, in load_module
File "<string>", line 13, in _get_code
File "DiplomacyEventManager", line 300
if ( iXLoop != iXPeak or iYLoop != iYPeak ):
^
SyntaxError: invalid syntax
The Dbg file didn't seem to have anything pertaining to this in it. But to make it a bit easier on you, here is the python code from the section referred to in this, lines 289 through 303, with line 300 hilighted:
Code:
### set additional bonus for peaks in the wonder city radius ###
for iXLoop in range(iX - 2, iX + 3, 1):
for iYLoop in range(iY - 2, iY + 3, 1):
pPlot = CyMap().plot(iXLoop, iYLoop)
if ( pPlot.isPlayerCityRadius(iPID)==true ):
if ( pPlot.getTeam()==iTID ):
if(pPlot.getTerrainType() != -1):
if ( pPlot.isPeak()==true ):
CyGame().setPlotExtraYield(iXLoop, iYLoop, YieldTypes.YIELD_COMMERCE, 1)
### ausgabe ###
[COLOR="Red"] if ( iXLoop != iXPeak or iYLoop != iYPeak ):[/COLOR]
CyInterface().addMessage(iPID,True,0," ",'0',1,'Art/Interface/Buttons/MachuPicchu_Python/MachuPicchu_Python_212.dds',ColorTypes(5), iXLoop, iYLoop,True,True)
else:
CyInterface().addMessage(iPID,True,0," ",'0',1,'Art/Interface/Buttons/MachuPicchu_Python/MachuPicchu_Python_218.dds',ColorTypes(5), iXLoop, iYLoop,True,True)
EDIT: I bumped my last post, check the last page for the files (I think) you asked me to post.