Help with an XML log

varus

Prince
Joined
Nov 3, 2005
Messages
130
Ok, I've been following Kael's guide almost to the letter to create a new civ.

I tested it a couple times after a few of the early steps and i was happy to see that things were working. yay.

At this point, however, I have almost finished following his examples, but I fired up the mod and it didn't work at all. The celts weren't even listed as a civ.

Now, they used to be there. That means something went wrong but I don't know how to troubleshoot the mod.

Here's the xml log:
Spoiler :

Code:
[183378.863] **** Validating Game Database *****
[183378.894] Performing Localization Checks
[183378.894] Checking Tag Format...
[183378.894] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
[183378.910] Validating UnitGameplay
[183378.910] Number of selection sounds doesn't match number of units.
[183378.910] Validating Notifications
[183378.910] Number of notification xml entries does not match enum size
[183378.910] **** VALIDATION FAILED *****
[183378.910] Validation Took 0.053825 seconds
[183379.190] **** Validating Prefetch Process *****
[183379.190] **** Validation Success *****
[183379.190] SetGlobalActionInfo
[183379.190] 
-- SQLite Memory Statistics --
Memory Usage:
		[Cur]		[Max]
Malloc:		258312		2231464
PageCache:	2447		3422
LookAside:	26		1763
Scratch:	0		1

Static Buffer Overflows:
		[TooLarge]	[NoSpace]
PageCache:	0		0
Scratch:	0		0

Largest Allocations:
Malloc:		65280
PageCache:	1160
Scratch:	4984

Prepared Statements:
Current:		3
------------------------------

Does this make sense to anyone? Can anyone help me figure out where the error might be?
 
Go through your mod line by line and look for the things that the report tells you is wrong. Somewhere there is at least one mis-labelled TXT_KEY entry, follow the paths that you have created in your xml to see why the report thinks there is the wrong amount of sounds compared to units.

If you can, go back to an earlier version of your mod and add one small thing at a time and that should tell you what's broken.
 
I caught a bunch of illegal characters in my TXT_KEY entries, and something was broken with my new leader (never did figure out what it was exactly). It's working like a charm now though. I'm very excited to get rolling on the rest of my mod plans! :D Thank you both!
 
I caught a bunch of illegal characters in my TXT_KEY entries, and something was broken with my new leader (never did figure out what it was exactly). It's working like a charm now though. I'm very excited to get rolling on the rest of my mod plans! :D Thank you both!

The best thing to do in that case is to go into the game xml files (programs(x86)>Seam>Steamapps>CivV>etc. and pull up a leader that resembles yours. Or one at random, It doesn't really matter. Compare the two line-by-line and that should help. Or you can just copypasty into your project and edit from there :D
 
Back
Top Bottom