Single Player bugs and crashes v35 plus (SVN) - After the 18th of August 2014

I get frequent CTDs during AI's turn which apparently have to do with air combat and in particular "pDefender" being "NULL" in CvGameCoreDLL.dll!CvUnit::airCombatDamage

> CvGameCoreDLL.dll!CvUnit::plotExternal() Line 18463 C++
CvGameCoreDLL.dll!CvUnit::airCombatDamage(const CvUnit * pDefender) Line 16052 C++
CvGameCoreDLL.dll!CvUnitAI::AI_defensiveAirStrike() Line 28292 C++
CvGameCoreDLL.dll!CvUnitAI::AI_defenseAirMove() Line 11262 C++
CvGameCoreDLL.dll!CvUnitAI::AI_update() Line 419 C++
CvGameCoreDLL.dll!CvSelectionGroupAI::AI_update() Line 316 C++
CvGameCoreDLL.dll!CvPlayerAI::AI_unitUpdate() Line 1931 C++

I "solve" it by enforcing peace in World Builder.
I use latest SVN build: 8496

View attachment 393753

EDIT: Actually same crash occasionally happens when you automate your airplanes; so not just during AI's turn.

Should be fixed in the SVN.
 
So i got a blue screen while updating through tortoise svn, and that completely screwed things up for me.

The folder was locked and took me a while to figure out how to unlock it and re-update, but now everytime i load my game i get a "XML parsing SAX error" and "invalid document structure at line 1" and other XML related issues which loads the game then CTDs immediately.

how can i fix this? any help appreciated.
 
So i got a blue screen while updating through tortoise svn, and that completely screwed things up for me.

The folder was locked and took me a while to figure out how to unlock it and re-update, but now everytime i load my game i get a "XML parsing SAX error" and "invalid document structure at line 1" and other XML related issues which loads the game then CTDs immediately.

how can i fix this? any help appreciated.

I'm no expert but it sounds very much like you need a whole new download (is it called a checkout?) of the SVN version to a brand-new location.
 
I read in the SVN thread:

7807

CIV4BuildingInfos.xml
Added building only active in Anarchism: 2x National (for AI with 2 starting Tribes) giving -75% Maintenance.
Chiefs Hut changed to give -10% Maintenance.
Village Hall to -5% Maintenance, Town Hall to -10%, City Council to -20%, Metro to -40%, Capital to -50%.

However it's currently not implemented that way: <iMaintenanceModifier> is in positive for Village Hall, etc. meaning that those building actually increase maintenance cost. It should be negative to work the way it is described here.

That said, balance-wise I find that there are too many buildings lowering maintenance, but that's another topic.
 
Ok thanks guys.

Just 2 more questions before i bolt down the doors and get started.

1) What are the chances that my save games will run without error?

2) Can I go ahead and just delete the current SVN folder?
 
repeatable crash on end of turn using build 8468

Revision 8496 CTD at end turn

Those two and another CTD look identical. I wasn't able to fix it because that one is hard to track down and requires lots of time.


Early prehistoric EoT CTD; non repeatable but happened twice at different turns before this report.

Edit: Almost all the prehistoric wonders have text errors now.

and the CTD always happened when barb attacked my tribal guardian before any animations.

Can you upload a save if you have one, it might help even if it is non repeatable.
 
---------------------------
XML Load Error
---------------------------
LoadXML call failed for modules\boonkie\mapinguari\mapinguari_civ4gametext.xml.
Current XML file is: modules\animals\ecological_animals\bears\redpanda_civ4gametext.xml

So i keep getting this error after re-downloading the SVN version.
 
Another interesting thing with my neanderthal warrior is that I cannot move him into a space occupied by a thief, rogue, or spy (and I'm assuming this holds true for ambusher) of my opponent when not at war (may hold true when at war as well but not sure). I can't see them, but they effectively block my progress.
 
Another interesting thing with my neanderthal warrior is that I cannot move him into a space occupied by a thief, rogue, or spy (and I'm assuming this holds true for ambusher) of my opponent when not at war (may hold true when at war as well but not sure). I can't see them, but they effectively block my progress.
Yes, no unit with hidden nationality (HN) can move to a tile occupied by a foreign invisible unit. This was not the case some months ago and it will will probably be fixed soon (1-6 moths) by those with the knowhow.
 
I found this while playing a hot seat game and Thunderbrd replied, "Sounds like it still needs to be set to bAlwaysHostile."
I went to
Caveman2Cosmos\Assets\XML\Units
then found
<UnitInfo>
<Class>UNITCLASS_NEANDERTHAL_WARRIOR</Class>
went to
<bAlwaysHostile>1</bAlwaysHostile>
and changed it to
<bAlwaysHostile>0</bAlwaysHostile>
and now my neanderthal warrior can move into a space with an invisible enemy unit. I do not know how this will affect AI neanderthal warriors, but for now I can use mine more logically.
 
I found this while playing a hot seat game and Thunderbrd replied, "Sounds like it still needs to be set to bAlwaysHostile."
I went to
Caveman2Cosmos\Assets\XML\Units
then found
<UnitInfo>
<Class>UNITCLASS_NEANDERTHAL_WARRIOR</Class>
went to
<bAlwaysHostile>1</bAlwaysHostile>
and changed it to
<bAlwaysHostile>0</bAlwaysHostile>
and now my neanderthal warrior can move into a space with an invisible enemy unit. I do not know how this will affect AI neanderthal warriors, but for now I can use mine more logically.

Yeah but the bug is still there, in that Always Hostile should not have that effect. After all, other units who are hostile to the HN but can't see it, can move into the tile no problem (at least I hope that remains the case otherwise makes it a much bigger and more embarrassing bug)

Also now your Neanderthals will be unable to attack or be attacked by anyone unless you're at war with them...
 
---------------------------
XML Load Error
---------------------------
LoadXML call failed for modules\boonkie\mapinguari\mapinguari_civ4gametext.xml.
Current XML file is: modules\animals\ecological_animals\bears\redpanda_civ4gametext.xml

So i keep getting this error after re-downloading the SVN version.

The Boonkie folder should be empty now. I merged the Mapinguari stuff into the Megafauna stuff awhile ago.. It sounds like your SVN is out of sync somehow or that you copied from the SVN over the top of an existing C2C folder. I am doing a lot of merging at the moment which removes files as well as updates others.
 
Back
Top Bottom