v20 bugs and crashes

I've apparently lost resources again. One turn I was able to build maglevs with my workers and on the next turn nothing. I suddenly can't build railroads, tunnels or maglevs.
 
I've apparently lost resources again. One turn I was able to build maglevs with my workers and on the next turn nothing. I suddenly can't build railroads, tunnels or maglevs.
Just to make sure: There is not a blockade by barbarians or anything that splits your trade network?
If not, then best provide a save game showing the behavior.
 
Well, anyway, I'm getting too many random (i.e., non-repeatable) crashes at this point in my game (I'm in the mid-300s on Normal speed), so probably abandon this one and start a new game. Now I at least know that even a unit with the Medic I promotion isn't enough to protect your units against a well-defended city, will need units with at least Medic II, preferably Medic III. Live and learn.
Getting a lot of random crashes is nearly always caused by the building graphics issue. There is a workaround on the SVN version where you can switch off a part of the normal building graphics which usually fixes the issue.
 
I've apparently lost resources again. One turn I was able to build maglevs with my workers and on the next turn nothing. I suddenly can't build railroads, tunnels or maglevs.

To ALL concerned:


When stuff like this happens you need to provide us with a Max Saved game of the turn before it happens, thx.
 
Just got these two errors:

1. Txt not given (pic 1)

2. Python Error with LAST SVN (pic 2)

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 565, in handle
File "BugUtil", line 643, in getFunction
File "BugUtil", line 632, in lookupFunction
ConfigError: Module 'PlatyPingWonders' must define function or class 'onNukeExplosion'
 
Just got these two errors:

1. Txt not given (pic 1)

2. Python Error with LAST SVN (pic 2)

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 565, in handle
File "BugUtil", line 643, in getFunction
File "BugUtil", line 632, in lookupFunction
ConfigError: Module 'PlatyPingWonders' must define function or class 'onNukeExplosion'
Sounds like an incomplete removal of a Python wonder.
 
Just got these two errors:

1. Txt not given (pic 1)

2. Python Error with LAST SVN (pic 2)

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 565, in handle
File "BugUtil", line 643, in getFunction
File "BugUtil", line 632, in lookupFunction
ConfigError: Module 'PlatyPingWonders' must define function or class 'onNukeExplosion'

Strange onNukeExplosion is defined. Naturally I have not managed to test it fully. I am doing a cut and paste of the name to see if that fixes the problem. Just in case my dyslexia is playing up;)
 
svn 1704
i got these running pitboss:

Spoiler :
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 652, in callFunction
File "ScreenResolutionSize", line 44, in __init__
File "ScreenResolutionSize", line 29, in setValues
NameError: global name 'CyGInterfaceScreen' is not defined
we dont have graphics here so no CyGInterfaceScreen is defined..to avoid error it need to be defined in case if started as pitboss ? i think so

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 565, in handle
File "BugUtil", line 643, in getFunction
File "BugUtil", line 632, in lookupFunction
ConfigError: Module 'PlatyPingWonders' must define function or class 'onNukeExplosion'

Traceback (most recent call last):
File "BugInit", line 93, in callInits
File "Scoreboard", line 106, in init
File "Scoreboard", line 160, in __init__
RuntimeError: unidentifiable C++ exception

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "ScreenResolutionSize", line 58, in onLoadGame
File "ScreenResolutionSize", line 29, in setValues
NameError: global name 'CyGInterfaceScreen' is not defined
again becouse of no graphic?

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "autologEventManager", line 321, in onLoadGame
File "autologEventManager", line 59, in StartLogger
AttributeError: 'NoneType' object has no attribute 'getName'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 176, in onLoadGame
File "Civ4lerts", line 237, in _reset
File "Civ4lerts", line 299, in reset
File "PlayerUtil", line 545, in playerCities
AttributeError: 'NoneType' object has no attribute 'firstCity'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 176, in onLoadGame
File "Civ4lerts", line 237, in _reset
File "Civ4lerts", line 299, in reset
File "PlayerUtil", line 545, in playerCities
AttributeError: 'NoneType' object has no attribute 'firstCity'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "ANewDawnSettings", line 28, in onLoadGame
File "ANewDawnSettings", line 39, in optionUpdate
File "ANewDawnSettings", line 260, in setXMLOptionsfromIniFile
File "ANewDawnSettings", line 119, in changedFlexibleDifficultyTurnIncrements
AttributeError: 'NoneType' object has no attribute 'setModderOption'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "AutomatedSettings", line 26, in onLoadGame
File "AutomatedSettings", line 37, in optionUpdate
File "AutomatedSettings", line 192, in setXMLOptionsfromIniFile
File "BugOptions", line 815, in doDirties
File "BugOptions", line 827, in callDirtyFunctions
File "AutomatedSettings", line 69, in changedAvoidEnemyUnits
AttributeError: 'NoneType' object has no attribute 'setModderOption'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 260, in onBeginActivePlayerTurn
File "Civ4lerts", line 225, in checkAllActivePlayerCities
File "PlayerUtil", line 545, in playerCities
AttributeError: 'NoneType' object has no attribute 'firstCity'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 746, in onBeginActivePlayerTurn
File "TradeUtil", line 153, in getGoldTradePartners
File "TradeUtil", line 303, in getTradePartnersByTeam
AttributeError: 'NoneType' object has no attribute 'getTeam'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 784, in onBeginActivePlayerTurn
File "TradeUtil", line 153, in getGoldTradePartners
File "TradeUtil", line 303, in getTradePartnersByTeam
AttributeError: 'NoneType' object has no attribute 'getTeam'

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 829, in onBeginActivePlayerTurn
File "Civ4lerts", line 865, in check
KeyError: -1

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Civ4lerts", line 908, in onBeginActivePlayerTurn
File "Civ4lerts", line 946, in check
KeyError: -1

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "MoreCiv4lerts", line 140, in onBeginActivePlayerTurn
File "PyHelpers", line 46, in getTeam
File "PyHelpers", line 42, in getTeamID
AttributeError: 'NoneType' object has no attribute 'getTeam'


i dont tryed to connect to pitboss yet.. so please lets try hunt this errors down)

update
TRACE: BugConfig - failure parsing C:\Games\civ4eng\Beyond the Sword\mods\Caveman2Cosmossvn\Assets\Config\init.xml at line 116
TRACE: global name 'CyGInterfaceScreen' is not defined

TRACE: BugConfig - failure parsing C:\Games\civ4eng\Beyond the Sword\mods\Caveman2Cosmossvn\Assets\Config\PlatyPingWonders.xml at line 12
TRACE: Module 'PlatyPingWonders' must define function or class 'onNukeExplosion'
 
@AIAndy

So the Ski Patrol unit requires the Ski Resort building. Yet in the game it shows up requiring the Graveyard building. Why is it doing this?
Maybe C2C has become sentient and wants to tell you that skiing is too dangerous so you better have a graveyard handy :P

@masaykh: The majority of those are because a lot of the code in there expects that there is an active player and a screen but on the Pitboss you have neither. I'll deal with those when I find the time.
 
Maybe C2C has become sentient

We can only hope. ;)

On a serious note also will show the Ancient Embalmer and Modern Embalmer. Which require the graveyard.

I am wondering if it has to do with the old AND setting where Graveyard was part of the "Early Building" and could be disabled. Also the Ski Resort is dependent upon of the "Useable Mountains" setting.

Do you think either of those things are causing the error?
 
We can only hope. ;)

On a serious note also will show the Ancient Embalmer and Modern Embalmer. Which require the graveyard.

I am wondering if it has to do with the old AND setting where Graveyard was part of the "Early Building" and could be disabled. Also the Ski Resort is dependent upon of the "Useable Mountains" setting.

Do you think either of those things are causing the error?

If it is dependent on a a Custom Game setting then it should not appear at all if that option is selected. I don't see anything to do with Advanced Economics for example, although they may appear in the pedia.
 
If it is dependent on a a Custom Game setting then it should not appear at all if that option is selected. I don't see anything to do with Advanced Economics for example, although they may appear in the pedia.

Well this is in civpedia before a game is even started. And when its in game with Usable Mountains selected it is the same.
 
you cant build ironsmith, goldsmith and etc if you upgrade your forge to foundry (?).
should it be working like that?

barbarians raze cities too often. i think they should never raze except you pick "barbarians always raze" option.
 
you cant build ironsmith, goldsmith and etc if you upgrade your forge to foundry (?).
should it be working like that?

barbarians raze cities too often. i think they should never raze except you pick "barbarians always raze" option.

Yeah, i do agree here, thats why i changed my settings to cant raze at all, plus the barbarians cities hardly NEVER build over pop 1:mad: is also a good reason for the not raze option.
 
SVN Revision 1668

In the attached savegame, if I switch from Slavery to Coinage I can still sacrifice population.

View attachment 313222

Sorry it's taken me so long to get around to this one. Anyway - turns out its another bug in the class of 'modifier not zeroed out correctly on recaculation of modifiers' bugs. Basically each time you recalculate modifiers while in a civic that provides a hurry ability (slavery providing hurry-by-population in this case) it doesn't zero the counts before reapplying all the correct ones, so the count of civics providing population-hurry goes up by one for each recaclc done while in slavery.

Fix will be pushed to SVN later today (watch the SVN thread if you need to know when it's been done). Once that's done just do a recalculation of modifiers (or accept the prompt if prompted to anyway) and it should be set correctly.
 
In the late renaissance I am getting a significant pause happening in the graphics at the beginning of a turn. I thought it was due to one of the new platyping wonders so removed the wonder. It helped but I a still getting the "lock". It appears that BtS has stopped or hung but wait long enough and it comes back fine. It is particularly noticeable when the diplomacy screen opens since you can't select any option.
 
Yeah, i do agree here, thats why i changed my settings to cant raze at all, plus the barbarians cities hardly NEVER build over pop 1:mad: is also a good reason for the not raze option.
The barbarian city size issue is something we still need to investigate further.
I have exempted them from civic unhealthiness so they should be in good enough health. I guess they should be exempted from civic unhappiness as well.
Maybe they should also need less food for growing (given the high growth penalty of the civics barbarians use).
 
Back
Top Bottom