YesNoOk
avatar

Odd Mugenversion Error (Read 6693 times)

Started by ShinySpiritSeer, July 27, 2019, 12:08:45 am
Share this topic:
Odd Mugenversion Error
#1  July 27, 2019, 12:08:45 am
  • **
  • ...
    • USA
So I'm trying to make an AI for a character because, well, default AI is bad and i ran into this error:

Error detected.

Error in ai.cns:1880
Character mugenversion is older than this version of M.U.G.E.N.
Error loading chars/ff3_0/ff3_0.def
Error loading p1

Clipboard tail:
Gameflow 9
Gameflow 10
Gameflow 11
Loading match assets...
Loading stage...
  Loading BG...OK
Stage loaded OK
Setting game resolution 640x360...OK
  Allocating helpers...OK
Match RNG seed: 1803919904
Reset persist vars team 0
Reset persist vars team 1
Loading character chars/ff3_0/ff3_0.def...
  Loading info...Info: cammy loading in pre-1.0 compatible mode
OK
  Loading cmd command set AI-cammy.cmd...OK
  Loading cns cammy.cns...OK
  Loading cns aihelper2.cns...OK
  Loading cns ai.cns...Character ff3_0.def failed to load

So when I go and check that line for the error it's...strange because I don't see anything that could possibly be an error:
[State -1, ] ;<- This is line 1880
type = ChangeState
value = 375
triggerall = var(59) > 0 && roundstate = 2
triggerall = p2bodydist y = [-50,73]
triggerall = p2movetype != H || p2stateno = [120,159]
triggerall = !inguarddist && p2statetype != L
triggerall = random <= 30*var(59)
triggerall = p2bodydist x = [0,54]
triggerall = roundstate = 2
trigger1 = statetype = A
trigger1 = ctrl
ignorehitpause = 0

Any help/suggestions?
Re: Odd Mugenversion Error
#2  July 27, 2019, 12:34:21 am
  • ****
    • crepa.neocities.org
That's weird. I literally copied everything and pasted in a character coded for WinMUGEN, as you're using var instead of AILevel I suppose it is for WinMUGEN, I tested it in all versions of MUGEN and it doesn't give me any error message...
Re: Odd Mugenversion Error
#3  July 27, 2019, 12:37:08 am
  • **
  • ...
    • USA
Hmmm...that IS odd...I'm using 1.1 so that might be the issue? I dunno what it could be that's making mine break specifically...
Re: Odd Mugenversion Error
#4  July 27, 2019, 12:54:34 am
  • ****
    • crepa.neocities.org
This might sound dumb, but.... did you put this state under the [Statedef -1] line?
Re: Odd Mugenversion Error
#5  July 27, 2019, 12:58:05 am
  • ****
    • USA
    • twitter.com/inktrebuchet
That is weird. Maybe you could try taking the “,” out of [state -1, ] . Sounds silly though.

This is a ff3 error so maybe it’s specific about that, where mugen is not.
Re: Odd Mugenversion Error
#6  July 27, 2019, 01:10:04 am
  • **
  • ...
    • USA
Error still happens, FF3 or not and with or without the " , "
Re: Odd Mugenversion Error
#7  July 27, 2019, 07:17:57 am
  • **
  • Sr. Símio Enfermo
    • Brazil
    • www.facebook.com/people/Manson-Rees/100027897993934
Could you try deleting the ff3_0 directory and testing you char again?
Re: Odd Mugenversion Error
#8  July 28, 2019, 02:11:05 am
  • avatar
  • *
    • USA
Since it's in a CNS,from what I've seen,Statedef -1 is not shared between the CMD nor any CNS's,so you need a new statedef -1 for every CNS or ST you want it in.(I think;i need to start fooling around with code:P)
Re: Odd Mugenversion Error
#9  July 28, 2019, 02:26:48 am
  • ****
    • crepa.neocities.org
Now that Javier mentioned, why are you coding AI on a separate CNS instead of coding it in the CMD?
Re: Odd Mugenversion Error
#10  July 28, 2019, 02:37:54 am
  • ****
    • USA
    • twitter.com/inktrebuchet
If that’s the case, wouldn’t renaming [state -1,] to something like [state n] fix this error?
Re: Odd Mugenversion Error
#11  July 28, 2019, 02:41:35 am
  • ****
    • crepa.neocities.org
If that’s the case, wouldn’t renaming [state -1,] to something like [state n] fix this error?

No. I just tested and it works normally, the number is irrelevant.
Re: Odd Mugenversion Error
#12  July 28, 2019, 04:54:52 am
  • avatar
  • *
    • USA
When I coded A.I on a CNS,it resulted with a very glitchy character each time.Though it went fine when I did it on the cmd.so,I doubt it,but I think the CNS corrupted your character.