News:

MFG's Character of the Month: October 2026 Voting

Main Menu

Glitch Time (Cyanide Note to You)

Started by hjk, June 16, 2008, 11:35:08 PM

Previous topic - Next topic

hjk

Note to Cyanide:
Sent Makoto (Patch by Sen) and Remy
We haven't edited anything having to do with that Kick and our last update of Makoto was back in September 2007 (IIRC) and we have never been inside Remy (hope he's the right one -> most likely he is).
- Let me know if you want this version of Terry as well (It's an Update not released) -
- You can also test the code I'm posting out for yourself. I've tested it on 4 chars so far and it pops up occasionally as shown in the vids)

OK so here are other vids (2 different ones) as promised of something I may be misunderstanding about Mugen.
#1 - With Sound (highlights outlined below)
http://www.youtube.com/watch?v=H8TedQqwRZw
#2 - No Sound  (highlights outlined below)
http://www.youtube.com/watch?v=X_u76A2hJnE

My Goal was to have the AI, set at Var(59), be invulnerable throughout the match.
My code in the video is as follows:
[State -1, NHB]
type = varset
triggerall = !var(59)
var(59) = 1

[State -1, NHB]
type = nothitby
triggerall = var(59)
trigger1 = 1
value = sca
Hopefully that does the job. Now in the videos we see that the majority of of the time Terry is invulnerable, but in others he is not. Notice, please, that the same scenarios pop up more than once and sometimes Terry is unhittable/untouchable by the attacks, but sometimes, again in the same scenarios with the same attack types,  Terry gets hit?_?
Highlights outlined Below.

I let these vids go all the way through with no deletion of frames or reorganizing so they may be lengthy (well I did delete the end of one of Sakura's matches because it was way too long and nothing happened in it). There are insignificant lapses BTW. Vid #1 runs all the way through itself regularly, and Vid #2 slows down its highlight moments. I want no one calling out "fake," because its very real (that's why I limited any editing), and you all can run this test yourselves:

Highlights in vid #1:
http://www.youtube.com/watch?v=H8TedQqwRZw
- 0:55
- 1:11
- 1:28
- 1:35 (arguments?)
- 3:01
- 3:18
- 3:21
- 4:36
- 4:43
- 4:48 vs. 5:05 (yes, pay attention 5:06 is a throw miss) I say there's a throw discrepency here because I've seen Ryu and especially Sakura grab terry out of specials and even the Buster Wolf
- 5:44
- 5:50

Highlights in vid #2:
http://www.youtube.com/watch?v=X_u76A2hJnE
- 0:36
- 1:26 (forgot the slow-down)
- 2:24
- 2:51
- 3:09 (arguments?)
- 3:22 vs. 3:40 (Guard Contact discrepency) ........... go back to 3:13 to see it faster
                  Notice also that some of teh time the Hadouken makes contact it some of teh hits make contact, and the rest go right through
- 5:53 vs.
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.

Cyanide

Quick point. Do this

[state -2]
type = explod
trigger1 = time = 0
anim = 0
pos = 30,0 ;whatever, just so it's visible
removetime = 20
bindtime = 1

See how many times that shows up. I think some of what you're experiencing is the known issue with time = 0 in the common states. Should work for punches and so on, entering stand, jump blah blah will probably cause it to fail.

As for being thrown, i noted one where he was picked out of evade. Check that state and see if there's a hitby or nothitby in effect that could be taking yours out of commission to allow throws.

Can't go over it more thoroughly right now. The state -2 time = 0 thing is known, it's not nothitby with the issue. I imagine there are hitby's in effect for evade and they overwrite nothitby in my experience.

Checking remy and makoto tommorow.


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

the time =0 design glitch should not affect that code, so I bet a nohitby or hitby later in the code, is causing the bug.

Byakko

The only hitby that KOD's Terry has are sca, nt, st, ht in the rolls and dodge.
I do notice, however, that most of the time Terry gets hit in this video s right when he's changing state. I tried doing something similar with a constant changestate, my test char has been hit once and that's all. Something I haven't tried though is, when exiting a state... Anything to say about animtime = 0 ?
Haven't checked much about the ones where he starts guarding but ends up going right through the Shinkuu Hadouken. Unless it's just that the colision box of the Hadouken has just finished going too far. Which could have been known by enabling the hitboxes.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Bastard Mami

#4
Maybe the nohitby flag gets reset while changing states ?

[EDIT]

naw, that was not the cause.

tested this, in negative states.

[State -1, NHB]
type = nothitby
trigger1 = 1
value = sca

now overwriting part of common1.cns

;---------------------------------------------------------------------------
; Stand
[Statedef 0]
type = S
physics = S
sprpriority = 0

[State 0, 1]
type = ChangeAnim
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0 ;Turn anim over
value = 0

[State 0, 2]
type = VelSet
trigger1 = Time = 0
y = 0

[State 0, 4]
type = ChangeState
trigger1 = prevstateno!=1
value = 1

[State 0, 4] ;Are you dead?
type = ChangeState
trigger1 = !alive
value = 5050

;---------------------------------------------------------------------------
; Stand
[Statedef 1]
type = S
physics = S
sprpriority = 0

[State 1, 2]
type = changestate
trigger1 = 1
value = 0

hjk

Well I read all that you guys said, but I can barely understand it.

I'm going to be rereading the Docs, again (man Mugen is more complex than I give ikt credit for) . I don't even understand the specifics behid what you guys are telling me I should do  --;

*hjk goes to bed. Going to read and test things out tomorrow*
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.

Cyanide

You're right, not the time = 0 one. Although i noted it was mostly state changes as well and something could be affecting that. I do hope it's not something silly like 2 ai variables and var(59) is being reset to 0 every once in a while then reset back to 1 by the other one. That's a bit of a longshot though.


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

Quote from: Cyanide on June 17, 2008, 10:56:36 AM
You're right, not the time = 0 one. Although i noted it was mostly state changes as well and something could be affecting that. I do hope it's not something silly like 2 ai variables and var(59) is being reset to 0 every once in a while then reset back to 1 by the other one. That's a bit of a longshot though.

I think winane's ai code is based on that.

Byakko

QuoteAlthough i noted it was mostly state changes as well and something could be affecting that.
I'm tending toward digging around animtime = 0, given the tests I described earlier.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Bastard Mami

is there anything special regarding animtime = 0 that makes you think it might screw up something ?

Byakko

I dunno, that's what I'm asking. I simply see that it tends to happen when changing state. If it's not time = 0, then there's still animtime = 0.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Bastard Mami

Since it seems to be specific to terry, all nothitbys and hitbys should be isolated to look for specific triggers. I elave that to hjk to post those sctrls and where are they found.

hjk

#12
Quote from: Satou Sei on June 17, 2008, 11:59:42 PM
Since it seems to be specific to terry, all nothitbys and hitbys should be isolated to look for specific triggers. I elave that to hjk to post those sctrls and where are they found.
How about this, I can send you the Terry that I'm working with (I took out the var and nothitby I used in the vid, and put back the original ones I had now).

Chances are I won't be able to correctly identify the stuff you guys will want me to, so I'll leave it to the learned of us here (aka Not Me).

BTW, I tested this in PotS's chars as well and the same thing happened, but given Cyanide's post above about AI restarting, and the fact that I only have limited knowledge of Winane's Activation method, I wouldn't rely on those tests.
I'm in the process of testing it in Tatsu's Dan as well.

BTW, sent Terry.
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.

Cyanide

Pick up a character with no AI. That or just use trigger1 = 1 rather than relying on the AI variable.

Do this over a few characters.

Set up a character who does a full screenhitbox every 30 ticks or so. That will allow you to check what does actually hit.

Go into training and manipulate the opponent with jump, crouch and button mash. Or do it all yourself and have the full screen hitbox character as p2. You're not testing your ability to hit them but their ability to hit you.

Also worth doing. Ctrl+C twice to show the hitboxes as solid. Bounce round like that for a while as well, see if they ever flicker to blue rather than teal.


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

that's pretty much what I did, so I think the problem might be with the ai variable setting.

Cyanide

In that case HJK's next step is

[state -2]
type = displaytoclipboard
trigger1 = 1
params = var(59)
text = "ai = %d"

Watch for that changing between 0 and 1. Or, whatever other values it takes.


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.

hjk

#16
I'm thinking that Byakko's highlight of teh state change is right (I'm sure we all suspected that in case i missed someone, but he's the one I remember saying it).
I'm testing something new that I find interesting.
Could someone please tell me what the difference between:
guard.ctrltime and guard.hittime is please? I want o make sure my tests are correct, because I think the issue I'm having here, results from the same thing...
BTW, I'm not sure I could find it in the Docs  --;


Quote from: Cyanide on June 18, 2008, 01:38:25 AM
In that case HJK's next step is
[state -2]
type = displaytoclipboard
trigger1 = 1
params = var(59)
text = "ai = %d"
Watch for that changing between 0 and 1. Or, whatever other values it takes.
I will.
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.

Bastard Mami

there is a bug on my test code that makes it well, useless; I will correct it and post my findings later.

Byakko

Quote from: Bistard Wolf on June 18, 2008, 02:22:44 PM
Could someone please tell me what the difference between:
guard.ctrltime and guard.hittime is please? I want o make sure my tests are correct, because I think the issue I'm having here, results from the same thing...
Quote from: http://mugenguild.com/docs/sctrls.htmlground.hittime = hit_time (int)
    Time that P2 stays in the hit state after being hit. Increase this
    value to keep P2 in the hit state for a longer time, perhaps to
    make it easier to combo. Applicable only to hits that keep P2 on
    the ground. Defaults to 0 if omitted.

  guard.hittime = hit_time (int)
    Same as "ground.hittime", but this is the value if P2 guards the
    hit. Defaults to same value as "ground.hittime".

  guard.ctrltime = ctrl_time(int)
    This is the time before p2 regains control in the ground guard
    state. Defaults to the same value as "guard.slidetime" if omitted.
One is about how long he stays in the state, the other is about how much time he takes to gain control. The point being that he can have control while still in the guard state.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

hjk

Quote from: Baiken on June 18, 2008, 07:28:17 PM
Spoiler (click to show)
Quote from: Bistard Wolf on June 18, 2008, 02:22:44 PM
Could someone please tell me what the difference between:
guard.ctrltime and guard.hittime is please? I want o make sure my tests are correct, because I think the issue I'm having here, results from the same thing...
Quote from: http://mugenguild.com/docs/sctrls.htmlground.hittime = hit_time (int)
    Time that P2 stays in the hit state after being hit. Increase this
    value to keep P2 in the hit state for a longer time, perhaps to
    make it easier to combo. Applicable only to hits that keep P2 on
    the ground. Defaults to 0 if omitted.

  guard.hittime = hit_time (int)
    Same as "ground.hittime", but this is the value if P2 guards the
    hit. Defaults to same value as "ground.hittime".

  guard.ctrltime = ctrl_time(int)
    This is the time before p2 regains control in the ground guard
    state. Defaults to the same value as "guard.slidetime" if omitted.
One is about how long he stays in the state, the other is about how much time he takes to gain control. The point being that he can have control while still in the guard state.
Thanks Byakko  :sugoi:
I'm off to do more tests
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.