Error Message Annoyance

Joined
Sep 8, 2007
Messages
375
Location
Canada
So I'm in the process of doing the modding my new scenario (which, by the way should be up here for everyone soon enough if all goes well), and when I open up the Mod an error message comes up saying: (see attachment)

The curious thing is that it isn't telling me that CLASS_MACHINE_GUN is wrong for example, but just the file is wrong somehow.

Has anyone run into this who knows how to get rid of it?
It isn't affecting the Mod loading, and it doesn't affect gameplay, it's just annoying to have to click it away every single time.

thanks.
 
Is that the very first error message you get?

cause that look like an error message i get after i get another one.

for example i get a error messege unexpect tag in file xxx line yyy

then get a bunch of error message afterward if i don't follow the format by mistake
 
Yeah, that's the only one, which is odd, right because normally the mistakes that get made will actually say something, like Tag: in fileX blah blah, but this just has a blank where it should say what the problem line is.
 
The only thing i could think of was that there was no problem with any lines, but something had been left blank, and that's why there's a blank in the error message, but it appears to all be in order, as I've looked over all my XML files in reasonable detail 2 or three times each.
 
ALRIGHT!
So I caught the error, thanks SerriaFox for your input.

For anyone who gets this error, here's where to look:
If you edit the units, and you remove any default bonuses. for example: removing the amphibious bonus from marines, or removing the +50 vs. Machineguns.
do NOT change
<FreePromotions>Blah blah blah</FreePromotions>
to <FreePromotions></FreePromotions>
but instead change it to
<FreePromotions/>
that's it.
:)
 
Back
Top Bottom