Stuck in quick punch infinite loop

Started by Creamy_Goodness, September 28, 2021, 07:00:48 AM

Previous topic - Next topic

Creamy_Goodness


> I recently finished editing the Monokuma character by Roadside. After commenting out the triggers that cause the AI to combo quick punch (200) into itself, the AI would, on occasion, keep using the quick punch continuously even if there was no target. So I ran the character in WinMugen's debug mode, and surprisingly, Monokuma was not in the quick punch (200) state, but in jump forward (up) (42). I have included a link to the character in question...

http://creamyg.jdluke.com/Games/MUGEN/Characters/Edits/Monokuma(CGX01).zip

= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/

Cyanide

That normally means the state doesn't exist. Does it have a state 42? You may have trashed it by accident and it needs recreating. And if memory serves 42 is jump land so someone has done something odd.


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.

Creamy_Goodness


> OK, It looks like I fixed the problem. When taking another look at Monokuma's cmd file just now, I was surprised to see not one but two ChangeState state controllers that pointed to State 42. After I commented out one of the state controllers, the quick punch infinite loop stopped happening. Just for the record, this was the state controller I disabled...

[State -1,ƒWƒƒƒ"ƒvƒLƒƒƒ"ƒZƒ‹]
type = ChangeState
value = 42
triggerall = var(59) > 0 && RoundState = 2 && life > 0
;triggerall = 0 ;ƒfƒoƒbƒN
triggerall = statetype != A
trigger1 = (stateno = 200) && (time > 5)
trigger1 = p2bodydist X = [-5,50]
trigger1 = moveguarded
trigger1 = random < 200

> Thanks Cyanide for helping me out. I can now mark this topic as "Solved".
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/