News:

MFG's Character of the Month: October 2026 Voting

Main Menu

Errors on chars by Kaz

Started by Arkillo1985, November 24, 2013, 06:34:45 PM

Previous topic - Next topic

Arkillo1985

Hi guys,

I've downloaded several chars from Kaz page (Magneto, Storm, Wolverine, etc), but I'm receiving errors when selecting chars on the select screen.
First message was regarding Mugen version, so I deleted that line from the main def. After that, this is the message that comes up after selecting the character and before starting the fight:

Error message: Invalid format specifier in "%n"
Error parsing [State -2]
Error in [StateDef -2]
Error in Cns/-2.cns
Error loading chars/Wolverine_COTA/Wolverine_COTA.def
Error loading p1

I deleted the line that recognizes the cns file from the def, but I think that makes the char somewhat unstable.
Unfortunately, this same issue happens with every char made by Kaz. Up to what I could see, his chars are really good and they have quite the production over them (intro, ending, sounds).
Is there any way to solve this without having to edit a lot?

Thanx!

EDIT: Just in case you wonder, I checked Kaz's website and all of its creations were made initially for Winmugen, but all of them were updated to work under 1.0

AlexSin

Deleting those %n won't make the char unstable because they are used in "DisplayToClipBoard" (for debug purposes, pressing Ctrl + D).
So you can delete them without worrying for bugs.

I'm curious about that too; what does that %n stand for?

Arkillo1985

Ok... so I tried deleting %n lines and now I receive the following:

Error message: Message text not quote-delimited.
Error parsing [State -2]
Error in [StateDef -2]
Error in Cns/-2.cns
Error loading chars/Wolverine_COTA/Wolverine_COTA.def
Error loading p1

I wonder what the "%n" stands for, Alex. And what's weirder of all is that he updated all chars to run under Mugen 1.0 by request, but still keeps on failing.

AlexSin

Just comment the DisplayToClipBoards and you're done.

Hmmm... in the docs there's nothing about it.

Arkillo1985

#4
Well... after deleting %n lines and adding comments for the text not to be empty and to receive error message, once again comes up with this:

Error message:
Error parsing [State -2]
Error in [StateDef -2]
Error in Cns/-2.cns
Error loading chars/Wolverine_COTA/Wolverine_COTA.def
Error while precaching
Error parsing [State -2]
Error in [StateDef -2]
Error in Cns/-2.cns
Error loading chars/Wolverine_COTA/Wolverine_COTA.def
Error while precaching
Error parsing [State -2]
Error in [StateDef -2]
Error in Cns/-2.cns
Error loading chars/Wolverine_COTA/Wolverine_COTA.def
Error loading p1

Funny thing is, if I take out the -2.cns line from the main def, character works on 1.0, but as I said before: deleting a cns that is part of the char coding might turn it unstable as not all the lines are DisplayToClipboard.

EDIT: Kaz posted the patches separately on its Skydrive profile. I didn't see them at a first glance as everything's in japanese. After applying them properly, everything works wonderful. Thanx for your help though, Alex :)