collapse

Author Topic: Error in common1.cns file for Ryuuken  (Read 1151 times)

0 Members and 1 Guest are viewing this topic.

Offline Muten Roshi

  • New Member
  • *
  • Posts: 3
  • Country: United States us
  • Last Login:April 02, 2017, 12:12:06 PM
  • Hi! I'm new!!
    • Email
Error in common1.cns file for Ryuuken
« on: May 03, 2014, 05:17:31 PM »
Hello, I'm new to this forum, and I need some assistance.

See, I downloaded a custom character named Ryuuken (I added him in properly, since he shows up to the point of being on the versus screen). Unfortunately, a strange error in his common1.cns file is preventing me from using him. Here's the error that keeps popping up and closing MUGEN for me:

Error message: Invalid trigger: v
Error parsing trigger1, 1
Error parsing [State 20, 1]
Error in [Statedef 20]
Error in chars/ryuuken/common1.cns
Error loading chars/ryuuken/ryuuken.def
Error loading p1

Library error message: Died parsing command = "holdfwd" && v(30) = 1


And here's the section in the common1.cns file in which part of the error is supposedly coming from:

[Statedef 20]
type    = S
physics = S
sprpriority = 0

[State 20, 1]
type = VelSet
triggerall = stateno = 0 && v(30) = 1
trigger1 = command = "holdfwd" && v(30) = 1
x = const(velocity.walk.fwd.x)


I've tried fixing it by replacing the 0 in sprpriority to 1, but that did nothing. I even tried replacing the term "fwd" wherever it was with "forward", but it said that such a command didn't exist (So I changed it back, and now I'm back to square one).

If there is anything I can do to edit the file accordingly so I can get the character working for once, I would greatly appreciate it.



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Error in common1.cns file for Ryuuken
« Reply #1 on: May 03, 2014, 07:50:49 PM »
that looks like ancient winmugen's crappy parser to me, that should never have worked

change it to var(30) = 1

Or remove it altogether is the other option as it's obvious winmugen was never actually reading it and making it do what it was meant to may in fact break things.

Offline Muten Roshi

  • New Member
  • *
  • Posts: 3
  • Country: United States us
  • Last Login:April 02, 2017, 12:12:06 PM
  • Hi! I'm new!!
    • Email
Re: Error in common1.cns file for Ryuuken
« Reply #2 on: May 04, 2014, 12:24:05 AM »
Well, I just tried your first suggestion, but a new error showed up:

Error in chars/ryuuken/common1.cns
Error loading chars/ryuuken/ryuuken.def
Error while precaching
Error parsing trigger1, 1
Error parsing [State 20, 1]
Error in [Statedef 20]
Error in chars/ryuuken/common1.cns
Error loading chars/ryuuken/ryuuken.def
Error while precaching
Error parsing trigger1, 1
Error parsing [State 20, 1]
Error in [Statedef 20]
Error in chars/ryuuken/common1.cns
Error loading chars/ryuuken/ryuuken.def
Error loading p1

Library error message: Malformed expression encountered: command = "holdfwd" var(30) = 1


I'm going to assume I edited that incorrectly.

So, by "removing it altogether", you mean the trigger1 section, right? Since there is already a triggerall section. I just don't wanna screw it up.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Error in common1.cns file for Ryuuken
« Reply #3 on: May 04, 2014, 02:30:21 AM »
You've removed the &&, didn't tell you to do that. It's either

&& var(30) = 1
Or you remove the
&& v(30) = 1

Offline Muten Roshi

  • New Member
  • *
  • Posts: 3
  • Country: United States us
  • Last Login:April 02, 2017, 12:12:06 PM
  • Hi! I'm new!!
    • Email
Re: Error in common1.cns file for Ryuuken
« Reply #4 on: May 04, 2014, 04:05:24 AM »
Okay, I got it. Had to do it for all of the [State 20] sections that had the same problem. He works fine now. Thanks for the help.

Tags: common1.cns Ryuuken 
 


* 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

D2TD VS Showcase Thread by D2TD
[November 24, 2024, 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 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

SimplePortal 2.3.5 © 2008-2012, SimplePortal