HELP new civ problems(logfilesattached)

bwahl85

Chieftain
Joined
Sep 7, 2011
Messages
29
I have seen a few posts on this topic but still cant seem to find an answer, after the fourth day of just trying to do this myself i am seeking help, i cant get my custom civilization to work. It says it builds fine and shows up in the mod section of the game but then there is no hint of my Mayans...ill include my files if anyone can take a look and help me out it would be greatly appreciated. too much time went in to this to yield no results! thanks civers

Moderator Action: Moved to the main forum.
Because the tutorials subforum is only for tutorials, not for questions about them ;).
 

Attachments

haven't looked through it all yet,
but found one error your buildings.xml file

you have
<BuildingFlavors>

and it should spelled
<Building_Flavors>
 
Ill check out any and all suggestions. I'm new to this and I'm sure its almost always common spelling hoping an experienced set of eyes will catch my goofs. Thanks for your time inadvance
 
All you need to do is check your logfiles, it'll spot those sorts of errors automatically. Mainly in the xml.log and Database.log files, although a couple others (like Lua.log) catch some specific ones.

All you have to do is go into your config.ini file and enable logging.
 
I have already done that. I understood one log about food not being in the buildings column and I'll fix that asap. But I didn't understand anything else anddont want to mess with anything that is fine. This is why I attached the files. Hopefully someone can point me in the right direction.
 
The problem is that a new civ requires such a large amount of content that it'll be nearly impossible to spot most of the errors. It's just too much to sift through, so attaching your mod just won't help enough; chances are, there'll still be an error hidden in there somewhere no matter how many times we look at it.

So what you need to do, then, is post your logs. Just copy them into a post, and we can TELL you which ones are nothing and which ones actually refer to your mod (and what they mean).
 
i have attached the log files. these were run after making a few corrections. civ still isnt showing up. if you need any info let me know ill respond right away as im messing with it now :confused:
 
Okay, the log files didn't help, because it looks like you never actually got to the point where it'd try to load them. Some of the things I've spotted directly SHOULD have given errors in those files, so either you never turned on the logging in your config.ini file (most are off by default), or something else is seriously wrong with your installation. For instance, the Lua.log should have had a TON of startup information in it when you try to begin a game, and you had almost nothing.

Looking at the files, I can see a few obvious bits. For instance, take this:
Code:
  <BuildingFlavors>
    <Row>
      <BuildingType>BUILDING_BLOOD_TEMPLE</BuildingType>
      <FlavorType>FLAVOR_CULTURE</FlavorType>
      <Flavor>20</Flavor>
      <FlavorType>FLAVOR_GROWTH</FlavorType>
     <Flavor>40></Flavor>
    </Row>
  </BuildingFlavors>

Besides the fact that, as a previous poster told you, it has to be written as Building_Flavors, there's also the simple fact that you can't do XML this way. You MUST write it as
Code:
  <BuildingFlavors>
    <Row>
      <BuildingType>BUILDING_BLOOD_TEMPLE</BuildingType>
      <FlavorType>FLAVOR_CULTURE</FlavorType>
      <Flavor>20</Flavor>
    </Row>
    <Row>
      <BuildingType>BUILDING_BLOOD_TEMPLE</BuildingType>
      <FlavorType>FLAVOR_GROWTH</FlavorType>
      <Flavor>40></Flavor>
    </Row>
  </BuildingFlavors>

It's just how the system works.

But there's an even bigger problem. In MayaCiv.xml, there's this:
Code:
-<GameData>
	-<Civilizations>
		-<Row>

See those minus signs? Those can't be there. What happened was, you opened the old XML in a web browser (like IE), and when you did the cut-and-paste, it brought along the minus signs IE uses to collapse a level. You have to delete those for anything to work, because it's no longer an XML syntax. Many of your files are like this. Easy way to tell: try to open up your own XML files (double-click on them). If you get a blank page, it means you had invalid XML like this.

So fix all of that, go turn on all of the logging, and see what happens. Then get back to us.
 
I actually figured all this out just about 15 mins ago lol. Its up and running and now I'm just tweaking to get everything right. Thanks a ton foe your help youwould have hit the nail on the head if I didn't just figure it out. All someone had to say was there's a shoe errors button right in modbuddy. That's what showed the minus signs
 
Ill let you guys know if I run into anything else I get stumped on. And if the mods a success :)
 
Back
Top Bottom