Discussion in 'Civ5 - Creation & Customization' started by Aidence, Nov 24, 2013.
Please help, I don't know what to do. And please be detailed.
You want <GameData> at the beginning and </GameData> at the end, with no additional <GameData/> in between.
Whenever I do that it says 'Did not expect </GameData>.
And you're sure you only have One <GameData> and ONE </GameData> and if you are 110% then check if you spelled it wrong and with the right cases (As it is case sensitive, remember that!)
I got it to not say 'Did not expect </GameData>', but I still haven't fixed the multiple roots part. And I'm sure that I only have one <GameData> and one </GameData>.
*EDIT* I also have 4 multiple root errors.
Trying to guess what you may or may not have done based on your descriptions is nigh on impossible. Please zip your mod (the one in the MODS sub-directory, not the ModBuddy project) and attach it to your post so we can read the actual files.
Uhhh.... How? I know the MODS sub-directory, but how do I attach the file?
"Go Advanced" and "Manage Attachments"
And not one file, but the zip of the entire mod (at a minimum TWO files, the .modinfo file and the .xml file)
I have 5 .xml files, so I'll just post the mod info.
No, zip ALL 6 files and attach them. That is, the complete mod, not just parts of it.
There. I hope this helps.
I don't think I need to fix the errors, I'm pretty flipping sure I need .Lua.
Most errors in XML files causes the entire file to fail to load. Lua will not solve that. If you have XML errors that are caused by your mod you must fix them for your mod to work. Some errors in the logs are not caused by your mod, see the enable logging link in whoward69's signature above on how to know which ones are and which ones aren't.
Okay, and I can't find out how the heck to post files. So I guess I'm kinda screwed.
2nd link in my sig
You know you can zip them all into 1 .zip folder, right?
A couple of notes:
In KoJText - for the spy names, if the spy is masculine you don't need <Gender>masculine</Gender>, since the game assumes that all names are masculine. So you do need that for feminine names, but not masculine.
In LeaderBaldwinIV - There's absolutely nothing, so we don't need to look at this...
In Units - Looks good on first glance...
also nothing in baldwinmusic...
nothing in CivKoJ (maybe the code just isn't rendering or something?)...
We don't need to see empty files. I assume you were doing this in ModBuddy? The program tells you not only what error it found, but what file it's in and even which line of coding.
It says XML cannot contain multiple root level elements. Would that make the mod not work?
Yeah, the game would crash. But what file does it say the error is in?
To be clear, this is what the bottom left corner of ModBuddy should say if you have this error:
Separate names with a comma.