collapse

Author Topic: Mugen 1.0 error  (Read 3940 times)

0 Members and 1 Guest are viewing this topic.

Offline Tazwomante

  • New Member
  • *
  • Posts: 1
  • Country: France fr
  • Last Login:May 26, 2016, 03:02:29 PM
  • Hi! I'm new!!
Mugen 1.0 error
« on: May 17, 2014, 02:50:32 PM »
Hi everyone i'm new here ^^

I want use the character M-Reimu in Mugen 1.0 and  that not work and that show me this message :


Error message: Invalid format specifier in "%n %n"
Error parsing [State D]
Error in [Statedef-2]
Error in OPTION.txt
Error lading chars/M-Reimu/M-Reimu.def
Error loading p1

Please help me



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Mugen 1.0 error
« Reply #1 on: June 15, 2014, 05:14:40 AM »
Looking at that, someone has stuffed up a text string in a displaytoclipboard.

Open up options.txt. If it's not too long, post here, otherwise please post the whole %n %n portion of it, i'd like to see if they were trying for new lines or just using utterly incorrect code.

Offline Flandre5carlet

  • New Member
  • *
  • Posts: 3
  • Country: Antarctica aq
  • Last Login:June 26, 2014, 04:51:55 PM
  • Hi! I'm new!!
Re: Mugen 1.0 error
« Reply #2 on: June 15, 2014, 10:07:58 AM »
Hey, I literally just stumbled upon this thread because I had the exact same problem as OP.

Searching for "%n %n" in OPTION.txt leads to the following states:

[State ‰Ð]
Type=DisplayToClipboard
trigger1=ishelper
trigger1=!PlayerIDExist(Root,ID)
text="%n %n"
params=4938056,4938060
ignorehitpause=1

-lower down the file-

[State ‰Ð]
type=displaytoclipboard
triggerall=roundstate>2
trigger1=!ishelper&&(floor(fvar(2))&4096)&&fvar(6)<60
trigger1=(((floor(fvar(39))&960)/64)!=[1,9])
trigger2=ishelper
trigger2=root,fvar(6)<60
trigger2=((floor(root,fvar(39))&960)/64)!=[1,9]
trigger2=root,numprojid(461349000+helper,id)
text="%n %n"
params=4938056,4938060

-lower down the file-

[State ‰Ð]
type=DisplayToClipboard
triggerall=roundstate=4
trigger1=!ishelper&&((sysvar(0)&2047)<2||fvar(6)=60)
trigger2=ishelper
trigger2=(root,sysvar(0)&2047)<2||root,fvar(6)=60
text="%n %n"
params=4938056,4938060
ignorehitpause=1

Here's a link to the full file: https://www.dropbox.com/s/6spiw333nn7dh8m/OPTION.txt

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Mugen 1.0 error
« Reply #3 on: June 16, 2014, 01:37:54 AM »
OK, every single one of those is totally useless, you can actually delete the lot.

If you don't feel comfortable deleting them make the %n into %d everywhere. %n is not valid.

You may have more bugs after this too if that's an example of coding.

Offline Flandre5carlet

  • New Member
  • *
  • Posts: 3
  • Country: Antarctica aq
  • Last Login:June 26, 2014, 04:51:55 PM
  • Hi! I'm new!!
Re: Mugen 1.0 error
« Reply #4 on: June 18, 2014, 07:54:52 AM »
I did what you've advised and it gives me further errors with similar states, just different parameters ("%*d%n%d"). Fixing those, it gives more afterwards, with "%.*d%n%d"...

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Mugen 1.0 error
« Reply #5 on: June 21, 2014, 04:22:04 AM »
%n
Is invalid completely within mugen. It is used nowhere
%d
is valid. But it's not the correct option at all times. Sometimes you should use %f if the number is a float.

I need a completely accurate description of the error (what you've written is too broad as mugen doesn't error exactly like that) and examples of code when and as the errors occur.

Offline RollClone99

  • nothing bro nothing .3.
  • New Member
  • *
  • Posts: 5
  • Country: Mexico mx
  • Last Login:November 07, 2020, 08:43:22 PM
  • lm sexy bros l like anime and yuri ;3;
    • nop.MKV
    • Skype - multihackerchatlol98
    • multin00bhackerines98666
    • Email
Re: Mugen 1.0 error
« Reply #6 on: June 21, 2014, 03:59:02 PM »
is error sexual XD
in 3..2..1
lol


Offline Flandre5carlet

  • New Member
  • *
  • Posts: 3
  • Country: Antarctica aq
  • Last Login:June 26, 2014, 04:51:55 PM
  • Hi! I'm new!!
Re: Mugen 1.0 error
« Reply #7 on: June 26, 2014, 04:51:55 PM »
%n
Is invalid completely within mugen. It is used nowhere
%d
is valid. But it's not the correct option at all times. Sometimes you should use %f if the number is a float.

I need a completely accurate description of the error (what you've written is too broad as mugen doesn't error exactly like that) and examples of code when and as the errors occur.

The error is always, unless I'm mistaken, the one in the original post.

For example:
Error message: Invalid format specifier in "%.*d%n%d"
Error parsing [State ‰Ð]
Error in [Statedef -2]
Error in OPTION.txt
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/M-Reimu/M-Reimu.def
Error loading p1

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Mugen 1.0 error
« Reply #8 on: June 27, 2014, 01:43:27 AM »
That's not QUITE the same as the one in the original post

Original which we've fixed
Quote
Error message: Invalid format specifier in "%n %n"
New one
Quote
Error message: Invalid format specifier in "%.*d%n%d"
As you can see, removing %n from this won't fix anything because they've stuffed up the other one, the next should be %d. %.*d is not valid. These are still all displaytoclipboards though and you could honestly just delete them. Post the contents of option.txt here or upload it to pastebin, i can look at the lot and tell you what you can delete.

Tags: yepis 
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

SPIDER-VERSE THE AMAZING MUGENSTORY©EPISODE 10 "THE OTHERVERSE" 1080P BY REB3LTV by Rage
[March 27, 2024, 02:44:21 PM]


D2TD VS Showcase Thread by D2TD
[March 24, 2024, 11:09:37 AM]


Tree Of Erebus Stage 1.1 & 1.0 by MatreroG
[March 22, 2024, 08:13:48 AM]


.Batzarro's. Sprite Edits by MatreroG
[March 20, 2024, 07:58:08 AM]


World Heroes 2 Shura Stage by Vegaz by LightFlare
[March 19, 2024, 12:44:28 PM]


MOVED: Prepare your ****! ***** Soldier gets his **** ready in MUGEN! by Rage
[March 18, 2024, 11:08:23 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[March 14, 2024, 01:34:08 PM]


R.I.P. Akira Toriyama "Dragonball Legend" by Rage
[March 12, 2024, 03:01:39 PM]


DBFZ Rocky Field (noon) by jafar
[March 10, 2024, 11:59:23 PM]


World Heroes 2 Neo Geegus Stage by Vegaz by LightFlare
[March 09, 2024, 11:04:56 AM]

* IMT Calendar

March 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 [28] 29 30
31

SimplePortal 2.3.5 © 2008-2012, SimplePortal