Missing Civs

1morey

Warlord
Joined
Sep 6, 2008
Messages
112
Location
Jersey Shore, PA
Ok...so I added another civ. It doesn't appear, and I am missing every civ from Malinese to Zulus. But if I go to the leaders page, I can access the "missing" leaders and even play as them.

The missing one has no civilopedia entry, and if I try to play as it, the game crashes

I deleted what I had typed up, and everything came back. I went and redid what I did, making sure I was not missing anything. Well. They disappeared again.


What gives?

Attached in the file that seems to be giving me problems.
The top Civ (The one that is called Land of Wrath and Angels), is the one giving me trouble.


I turned on error reporting and this is what I get:

This was what I got when I go to the Civilizations main screen in the Civilopedia:

Traceback (most recent call last):

File "CvScreensInterface", line 206, in pediaMain
File "CvPediaMain", line 873 in pediaJump
File "CvPediaMain", line 244 in ShowScreen
File "CvPediaMain", line 517 in placeCivs

Runtimeerror: Unidentifiable C++ exception

And then when I clicked on one of the leaders of the "missing" civ:

Traceback (most recent call last):

File "CvScreensInterface", line 251, in pediaJumpToLeader
File "CvPediaMain", line 897, in PediaJump
File "CvPediaLeader", line 90, in InterfaceScreen
File "CvPediaLeader", line 99 in PlaceCiv

Runetimeerror: Unidentifiable C++ exception

If I go to the Civilization list and click on my "missing" civ this is the error report:

Traceback (most recent call last):

File "CvScreensInterface", line 248, in PediaJumptoCiv
File "CvPediaMain", line 895, in PediaJump
File "CvPediaCivilization", line 88, in InterfaceScreen

Attribute Error: 'Nonetype' object has no attribute "Get Button"


So what exactly do I need to do to fix this, so my custom civ is in the game properly. I can't find any of these files, and I am just a basic modder, so I am going to need simple directions.
 

Attachments

It looks like you have a problem with a button, if not for the Civilization, then for the Leader (maybe both).

Check your two files located in the XML\Art folder: CIV4ArtDefines_Civilization.xml and CIV4ArtDefines_Leaderhead.xml, specifically the buttons, their paths.

If you can't find anything wrong, post the files.
 
What have you done with ART_DEF_LEADER_BARBARIAN?

But most importantly, I don't think that you can have a non-capital letter in <Type>ART_DEF_CIVILIZATION_LAND_OF_WRATH_AND_ANGELs</Type>.
 
What have you done with ART_DEF_LEADER_BARBARIAN?

But most importantly, I don't think that you can have a non-capital letter in <Type>ART_DEF_CIVILIZATION_LAND_OF_WRATH_AND_ANGELs</Type>.

Well, I capitalized the "s", added in the Barbarian Leader (I don't know why he disappeared)..

And it turns out, that the ?XML 1.0 ? line, was moved down one, so at the very top of the page, there was a space.

Moved it up, and now everything is back. Don't know how that happened though.


Thank you very much!
 
Good!

Didn't notice the "?XML 1.0 ?" thing but when I tried it by inserting a blank line in my mod the whole file didn't load at all: error while loading XML and all Civs completely missing from Civilopedia.
 
Back
Top Bottom