Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: Raizou on July 10, 2012, 03:07:50 AM

Title: How to fix character error
Post by: Raizou on July 10, 2012, 03:07:50 AM
Error message: Invalid format specifier in "p2bodydist X:%lf,p2bodydist Y:%lf,AI:%d,Var:%d,Var:%d"
Error parsing [state -2]
Error in [Statedef -2]
Error in override.cns
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/DEATH/DEATH.def
Error loading p1
Title: Re: How to fix character error
Post by: Cyanide on July 10, 2012, 03:54:02 AM
p2bodydist X:%lf,p2bodydist Y:%lf

Those %lf are invalid. It's %f And that's just a displaytoclipboard, so you could wipe the whole controller out.
Title: Re: How to fix character error
Post by: Raizou on July 10, 2012, 09:27:58 AM
p2bodydist X:%lf,p2bodydist Y:%lf

Those %lf are invalid. It's %f And that's just a displaytoclipboard, so you could wipe the whole controller out.

I don't know how to do that  :-??
Title: Re: How to fix character error
Post by: Cyanide on July 10, 2012, 04:25:10 PM
Ok, stepping back a bit

Search through ANY cns file for the line you have copied into that post

p2bodydist X:%lf,p2bodydist Y:%lf,AI:%d,Var:%d,Var:%d

When you find it, replace %lf with %f

That will fix the problem. Alternatively, delete the entire state controller that has that line in it,

[state]
type
trigger
params
text

The whole thing, it's not providing any gameplay elements, just a graphical display of certain values in debug.
SimplePortal 2.3.5 © 2008-2012, SimplePortal