xnaMugen Build 22343 (1/29)

Started by FrantzX, January 30, 2009, 08:53:59 AM

Previous topic - Next topic

FrantzX

Get it here!

More random bug fixes, mostly around Jesuszilla's Felicia.

Note: For the time being xnaMugen will read & use correctly the incorrect trigger syntax of "AnimElem >= number". In later releases, this will be controlled by a setting in the xnaMugen.ini file.

Drex

I can't say much about what's going wrong with the coding, but have you tried Felicia using the A groove? She quickly causes the engine to lag more and more with every new animation activated untill the screen is stagnant.

Just in case it matter Player 2 was using P groove.

FrantzX

#2
OK, I have been able to reproduce the issue. It is caused by something in Felicia's code that is creating Explods, nonstop. I'll look into it some more. I don't know yet weather it is a xnaMugen bug or a Felicia bug yet.

Edit:
Getting closer to the problem. It only happens when P2 is Felicia in P groove. That would explain why I never saw it before. I do most of my testing with P1 & with P2 as Kung Fu Man.

FrantzX

I found the bug. It is caused by Jesuszilla's Felicia.
Here is the cause. The first statecontroller is good but the second one is what causes the problem. Notice the difference in the triggers:

[State 6120, Explod];BAR1P
type = Explod
trigger1 = !NumExplod(6120)
trigger1 = teamside = 1
anim = 6207
ID = 6120
postype = Left
pos = 140,230
ownpal = 1
bindtime = -1
ignorehitpause = 1
ontop = 1
facing = 1
pausemovetime = -1
supermovetime = -1
scale = .5,.5

[State 6120, Explod];BAR2P
type = Explod
trigger1 = !NumExplod(6120)
trigger4 = teamside = 2
anim = 6208
ID = 6120
postype = Right
pos = -140,230
ownpal = 1
bindtime = -1
ignorehitpause = 1
ontop = 1
facing = 1
pausemovetime = -1
supermovetime = -1
scale = .5,.5

The reason that this bug does not show up in WinMugen is because WinMugen has a limit of the number of explods that can exist at one point in time. xnaMugen has no such limit, so every tick creates a new explod.

FrantzX

I think my next goal for xnaMugen is a better clipboard/diagnostic window to make it easier to see when things like this happen.

Cyanide

#5
Quote[State 6120, Explod];BAR2P
type = Explod
trigger1 = !NumExplod(6120)
trigger4 = teamside = 2
anim = 6208
ID = 6120
postype = Right
pos = -140,230
ownpal = 1
bindtime = -1
ignorehitpause = 1
ontop = 1
facing = 1
pausemovetime = -1
supermovetime = -1
scale = .5,.5
trigger1 then straight to trigger4? In my experience that breaks. Is the problem solved if it's changed to trigger1 instead?

Edit: Cool, my afterimages look mostly right now.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

FrantzX

Yes, it fixes the problem.

xnaMugen allows for "triggern" where n is any integer number. (Note to self: Add check to make sure n is positive.)
xnaMugen will check the triggers in numerical order. If a number is missing, it simply goes to the next. Is this incorrect behavior?

Haseo80

in mugen it simply stops if the next trigger isnt the next number
for example

this works

trigger1 = whatever
trigger2 = whatever2
trigger3 = whatever3

and this doesnt

trigger1 = whatever
trigger3 = whatever3

mugen completely skips trigger3

Bastard Mami

It is incorrect behaviour, but I think it's more desirable that way; so we can organize our triggers better.

Cyanide

How is being able to enter any positive number better? should be 1-2-3 etc. 1-8-22 makes no sense.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Bastard Mami

I was expecting that.

let's say you have

type=changestate
value = special
trigger1= ctrl
trigger2= combo from weak punch
trigger3 = combo from weak kick

if you disallow it to combo from weak punch you have to

type=changestate
value = special
trigger1= ctrl
;trigger2= combo from weak punch
trigger2 = combo from weak kick


while

type=changestate
value = special
trigger1= ctrl
;trigger2= combo from weak punch
trigger3 = combo from weak kick

is easier to read and edit.


Cyanide

I disagree with that. Allows too much sloppy coding. It might work. But if people stop bothering to label their triggers correctly it becomes more difficult to read in the end. A suffix to the trigger line that says ignore this but still confirm trigger2 exists would be better than any positive number that's the next highest.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Bastard Mami

I don't really see what's sloppy on that, since the whole concept of numbering triggers is pretty "blah" ideally they should be named.

Jesuszilla

#13
Oh shit. :omg:


Fixed. At this point, I definitely need to make another update soon. :P

Cybaster

Let's rename this "xnaMugen" section into "Let's debug JZ's Felicia with a good parser". ;P

Bastard Mami

Felicia should be included with xnamugen instead of kungfuman.

Jesuszilla

#16
OK, tested (with a fixed version of Felicia, which I ought to get to you).

General

  • I still have the black on the scrolling background in the main menus whenever I use the old shader, and I still can't see anything but fonts with the new shader.
  • Characters still slide when they go from walk to crouch even if they're coded to not do that >_<.
  • After using a crouching basic and still holding down, the character goes to the stand/transition rather than directly to the crouch state.


Felicia

  • Can't chain or cancel like I should, and I can still go into the Rolling Buckler follow-ups (Rolling Upper, Neko Punch, Slide Kick) too quickly.
  • Please Help Me! doesn't work at all.
  • Second hit of the uppercut in the Lvl3 & MAX versions of Dancing Flash doesn't connect.
  • The land spark in the custom land state (1305) is misaligned.
  • Groove Point display is misaligned and has incorrect PalFX whenever Felicia gets hit.
  • Power level indicators are misaligned in C-Gauge.
  • Display messages are misaligned.
  • Why does she seem to shift positions in her intros?
  • Hitsparks seem to flicker near the end of their animation. Dunno what exactly is going on, though.
  • Ground hit sound doesn't play when I KO with Dancing Flash (Felicia vs. Felicia, although the problem could exist with other characters as well).
  • Negative Edge commands (holding button, motion, then releasing button in order to use a move) don't work. To give an example of a negative edge command, QCF+P. Instead of doing all that in order, Negative Edge allows me to hold P, then do QCF, then release P. The move should come out.


Also, tested my Andy on it. The last hit of his Shoryu-Dan won't knock the opponent down, and something weird happened whenever I used Bakushin on Vans's Ralf... Whenever he used LP, the super spark sound would play. With HP (I think), it looked like he was trying to throw the enemy. Then it crashed after Ralf tried that a few more times.
Spoiler (click to show)

2009-01-30 17:50:16Z     Normal    Main                   Starting xnaMugen
2009-01-30 17:50:17Z     Normal    FileSystem             Base Directory: X:\xnaMugen
2009-01-30 17:50:17Z     Normal    FileSystem             Opening file: xnaMugen.data.Shader.fx
2009-01-30 17:50:17Z     Normal    FileSystem             Opening file: data/system.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: font/f-4x6.fnt
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: font/f-6x9.fnt
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: font/jg.fnt
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data/system.snd
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data/system.sff
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data/fight.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data\fight.snd
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data\common.snd
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data\fight.sff
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data\fightfx.sff
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data\fightfx.air
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: font/num1.fnt
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: font/name1.fnt
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: xnaMugen.data.Internal.cns
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: xnaMugen.ini
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: data/select.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: stages\training.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars/kfm/kfm.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars\kfm\kfm.sff
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars/Ralf_WLS/Ralf_WLS.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\Ralf.sff
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars/cvsfelicia/cvsfelicia.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars\cvsfelicia\cvsfelicia.sff
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars/cvsandy/cvsandy.def
2009-01-30 17:50:18Z     Normal    FileSystem             Opening file: chars\cvsandy\cvsandy.sff
2009-01-30 17:50:32Z     Normal    FileSystem             Opening file: stages/training.sff
2009-01-30 17:50:32Z     Normal    FileSystem             Opening file: chars\cvsandy\cvsandy.air
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6590. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6591. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6592. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6593. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6594. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6595. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6596. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6597. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6598. Discarding duplicate.
2009-01-30 17:50:33Z     Warning   AnimationSystem        Duplicate animation #6599. Discarding duplicate.
2009-01-30 17:50:33Z     Normal    FileSystem             Opening file: chars\cvsandy\cvsandy.snd
2009-01-30 17:50:37Z     Normal    FileSystem             Opening file: chars\cvsandy\cvsandy.cmd
2009-01-30 17:50:37Z     Normal    FileSystem             Opening file: data/common1.cns
2009-01-30 17:50:37Z     Normal    FileSystem             Opening file: chars\cvsandy\cvsandy.cns
2009-01-30 17:50:38Z     Normal    FileSystem             Opening file: chars\cvsandy\cvssystem.lol
2009-01-30 17:50:38Z     Normal    FileSystem             Opening file: chars\cvsandy\point.lol
2009-01-30 17:50:38Z     Normal    FileSystem             Opening file: chars\cvsandy\config.txt
2009-01-30 17:50:38Z     Normal    FileSystem             Opening file: chars\cvsandy\act001.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act002.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act003.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act004.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act005.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act006.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act007.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act008.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act009.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act010.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act011.act
2009-01-30 17:50:39Z     Normal    FileSystem             Opening file: chars\cvsandy\act012.act
2009-01-30 17:50:54Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\Ralf.air
2009-01-30 17:50:54Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\Ralf.snd
2009-01-30 17:51:04Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\Ralf.cmd
2009-01-30 17:51:05Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\Ralf_WLS.vns
2009-01-30 17:51:05Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\config.txt
2009-01-30 17:51:05Z     Warning   EvaluationSystem       Error parsing line: TeamMode = Turns
2009-01-30 17:51:05Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\constants.vns
2009-01-30 17:51:06Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\act003.act
2009-01-30 17:51:06Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\act004.act
2009-01-30 17:51:06Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\act002.act
2009-01-30 17:51:06Z     Normal    FileSystem             Opening file: chars\Ralf_WLS\act001.act

System.ArgumentNullException: Value cannot be null.
Parameter name: state
   at xnaMugen.StateMachine.StateManager.RunState(State state, Boolean hitpause)
   at xnaMugen.StateMachine.StateManager.RunCurrentStateLoop(Boolean hitpause)
   at xnaMugen.StateMachine.StateManager.Run(Boolean hitpause)
   at xnaMugen.Combat.Character.UpdateState()
   at xnaMugen.Combat.EntityCollection.RunEntityUpdates(List`1 entities)
   at xnaMugen.Combat.EntityCollection.Update(GameTime time)
   at xnaMugen.Combat.FightEngine.Update(GameTime time)
   at xnaMugen.Mugen.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.Run()
   at xnaMugen.EntryPoint.RunProgram()
   at xnaMugen.EntryPoint.Main()

I wouldn't really focus on Andy too much ATM though. I didn't really intend to report any problems he had, but then this happened. :-X

Jesuszilla

Almost forgot, if one uses LP and the other HP, then HP should win. Right now, both Felicias get hit. I suppose you haven't implemented priority? Because my Felicia has a higher priority for heavy than she does light.

FrantzX

While you are fixing Felicia, please look into this as well.

Spoiler (click to show)
2009-02-03 02:11:29Z     Normal    FileSystem             Opening file: chars\cvsfelicia\cvsfelicia.air
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6590. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6591. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6592. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6593. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6594. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6595. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6596. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6597. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6598. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #6599. Discarding duplicate.
2009-02-03 02:11:29Z     Warning   AnimationSystem        Duplicate animation #9020. Discarding duplicate.

I would recommend running you other characters thru xnaMugen so the parser can check them as well.

Jesuszilla

#19
Done. Will check Andy to see if he has that problem as well. All done and the updates are up!