Single Player bugs and crashes - After the 24th of February 2014

i got new such error and - it from one unit without stack.
i will try debug dll with it so maybe i will got better output.
and one thing that i noticed: most times it is animals with little heatlh (this time it is viper with 0.02 hp) if my memory correct almost all times it is 0.02 hp
upd - attacking same unit then it healed some (to 0.49 hp) cleared error.

Well then I do suspect it's something I'll need to look into - your previous save captures this I presume?
 
yes but you will need to wait for animal to heal.
 
This error caused my game to crash. Not sure what SVN, but I updated late last night.
 

Attachments

  • Artdefineerror.JPG
    Artdefineerror.JPG
    16.1 KB · Views: 72
This error caused my game to crash. Not sure what SVN, but I updated late last night.

Actually you should be getting alot more errors than that in the Brave_ area. The Cherokee's were deleted from the Custom Civ folder.

Everyone was WARNED over twice that this would happen
 
This is a game that is still running on the same SVN version it started on (which was updated after your removal). So what must be happening is the art is still being called for somewhere but is no longer available. I haven't looked deeply into it because I'm not too familiar with the art files on units.

EDIT: Here it is:
Code:
				<StyleUnit>
					<UnitType>UNIT_HORSEMAN</UnitType>
					<UnitMeshGroup>
						<EarlyArtDefineTag>ART_DEF_UNIT_BRAVE_HORSE_CHEROKEE</EarlyArtDefineTag>
						<LateArtDefineTag>ART_DEF_UNIT_BRAVE_HORSE_CHEROKEE</LateArtDefineTag>
						<MiddleArtDefineTag>ART_DEF_UNIT_BRAVE_HORSE_CHEROKEE</MiddleArtDefineTag>
					</UnitMeshGroup>
				</StyleUnit>
Under:
Code:
		<UnitArtStyleTypeInfo>
			<Type>UNIT_ARTSTYLE_IROQUOIS</Type>
in
CIV4UnitArtStyleTypeInfos.xml in the core.

So the art is simply missing.

EDIT2: Anyhow I've updated a quickfix - review my notes on the subject in the SVN thread.
 
Actually you should be getting alot more errors than that in the Brave_ area. The Cherokee's were deleted from the Custom Civ folder.

Everyone was WARNED over twice that this would happen

Sorry I should have mentioned that I started a new game after updating the SVN. I did lose a game, that I was enjoying, due to deletions.
 
This is a game that is still running on the same SVN version it started on (which was updated after your removal). So what must be happening is the art is still being called for somewhere but is no longer available. I haven't looked deeply into it because I'm not too familiar with the art files on units.

Spoiler :
EDIT: Here it is:
Code:
				<StyleUnit>
					<UnitType>UNIT_HORSEMAN</UnitType>
					<UnitMeshGroup>
						<EarlyArtDefineTag>ART_DEF_UNIT_BRAVE_HORSE_CHEROKEE</EarlyArtDefineTag>
						<LateArtDefineTag>ART_DEF_UNIT_BRAVE_HORSE_CHEROKEE</LateArtDefineTag>
						<MiddleArtDefineTag>ART_DEF_UNIT_BRAVE_HORSE_CHEROKEE</MiddleArtDefineTag>
					</UnitMeshGroup>
				</StyleUnit>
Under:
Code:
		<UnitArtStyleTypeInfo>
			<Type>UNIT_ARTSTYLE_IROQUOIS</Type>
in
CIV4UnitArtStyleTypeInfos.xml in the core.

So the art is simply missing.

Dang, my Bad, i just looked and your correct, i "again" forgot to get rid of those darn modular XML , i will fix this, thx, i have been working on NEW handicaps, and its not so easy trying to get more, and again thx.
 
I have found a way to find missing Artinfos from UnitArtStyleTypes.

Assert Failed

File: CvGlobals.cpp
Line: 5215
SVN-Rev: 7320
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type ART_DEF_UNIT_B25_BOMBER_MEXICO not found, Current XML file is: xml\Civilizations\CIV4UnitArtStyleTypeInfos.xml

----------------------------------------------------------
Assert Failed

File: CvGlobals.cpp
Line: 5215
SVN-Rev: 7320
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type ART_DEF_UNIT_GENERAL_MODERN_MEAST not found, Current XML file is: xml\Civilizations\CIV4UnitArtStyleTypeInfos.xml

----------------------------------------------------------
Assert Failed

File: CvGlobals.cpp
Line: 5215
SVN-Rev: 7320
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type ART_DEF_UNIT_SVWARLORD_INDUSTRIAL_INDIA not found, Current XML file is: xml\Civilizations\CIV4UnitArtStyleTypeInfos.xml

----------------------------------------------------------
Assert Failed

File: CvGlobals.cpp
Line: 5215
SVN-Rev: 7320
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type ART_DEF_UNIT_VWARLORD_RENAISSANCE_INDIA not found, Current XML file is: xml\Civilizations\CIV4UnitArtStyleTypeInfos.xml

----------------------------------------------------------
Assert Failed

File: CvGlobals.cpp
Line: 5215
SVN-Rev: 7320
Expression: stricmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type ART_DEF_UNIT_SWORDSMAN_APACHE not found, Current XML file is: xml\Civilizations\CIV4UnitArtStyleTypeInfos.xml

----------------------------------------------------------

Those are missing at the moment.
 
Buffalo Hump hero unit is a red blob (7295 I think - and no fix in the log that I can see).
 
I'm not sure why, but I don't seem to be able to build any sea animal myth (or Myth of Sea). I've several Tales animals in my capital, but none ever got the option to build anything (moving them to other cities doesn't help).

I don't remember having any issues with this in previous games.

Attached is a savegame, if that helps.
 

Attachments

Thunderbrd what about my save?

I'll be looking into that later today. When in the middle of projects I need to often clear that plate in my file set before I can address other things. Particularly where a deep code evaluation of what's taking place at a particular point are concerned.
 
You can set the Exceptions causing the Debugger to Break maybe the Integer Divide by Zero Exception is not set. It is listed under Win32 Exceptions.

How to: Break When an Exception is Thrown

Wow... all this time I thought it was set this way... this may really help from here on out - thanks for opening my eyes here even if it took me a scenario like this combat bug I'm working on to see a situation where I SHOULD'VE been getting a break point but wasn't. I thought divide by 0 errors would ALWAYS crash the game but apparently not... this one processed through just fine somehow and I needed the above advice to figure out where it was happening so I'm very thankful Al!
 
Wow... all this time I thought it was set this way... this may really help from here on out - thanks for opening my eyes here even if it took me a scenario like this combat bug I'm working on to see a situation where I SHOULD'VE been getting a break point but wasn't. I thought divide by 0 errors would ALWAYS crash the game but apparently not... this one processed through just fine somehow and I needed the above advice to figure out where it was happening so I'm very thankful Al!

No Problem!!!!
 
I just had this Python error.

Traceback (most recent call last):

File "CvRandomEventInterface", line 170, in getHelpHolyMountain1

AttributeError: 'NoneType' object has no attribute 'getTextKey'
ERR: Python function getHelpHolyMountain1 failed, module CvRandomEventInterface
 
I'm not sure why, but I don't seem to be able to build any sea animal myth (or Myth of Sea). I've several Tales animals in my capital, but none ever got the option to build anything (moving them to other cities doesn't help).

I don't remember having any issues with this in previous games.

Attached is a savegame, if that helps.

the reason you can't build them is because they require the Song of the Sea which is free from the Myth of the Sea which you don't have. The next question is why don't you and why don't those tales let you build it.

I just had this Python error.

That is calling the dll. I have only just woken up, I'll check the code format after I ave some coffee. :D

edit that line of code is identical to the line in BtS so I expect it is something happening before when getting the value for the building as that is the only variable.
 
Back
Top Bottom