UPLOAD, SHARE, PRESERVE MUGEN FOR ETERNITY!

Results 1 to 4 of 4

Thread: Character Bug that has been around for an insane amount of time. Help me fix it.

  1. #1
    Join Date
    Feb 2019
    Location
    Posts
    32
    Uploads
    0
    Comments
    479

    Sad Character Bug that has been around for an insane amount of time. Help me fix it.

    Right so it's been two years this character was posted on here and I guess no one has released a version of him yet that has fixed his one. Singular game breaking bug. Here is a link to him.

    When he gets hit by specific attacks. He lands beneath the ground at a diagonal angle and he cannot come out of it. It's generally the attacks that cause the characters to twirl in the air or something before hitting the ground. When he hits the ground he seems to land at a really messed up angle. I do not know how to fix this and apparently he's been broken like this since the original release of the game he was from.

    I'm kind of shocked by this because WENCHU was involved in that game and his characters have always been phenomenal. Anyone out there know what the issue is? I've spent the last 2 hours looking through the code trying to figure out what is causing the glitch but my eyes can't seem to find anything significant.
    Last edited by Taskmast3r; Jun 02, 2022 at 10:08.



  2. #2
    Join Date
    Feb 2019
    Location
    Posts
    32
    Uploads
    0
    Comments
    479

    Default Re: Character Bug that has been around for an insane amount of time. Help me fix it.

    Bumping my thread to point out the progress I've made while trying to fix this. So I couldn't really identify whatever the problem this Sengoku had before was. But now I can be a lot more specific.

    It has to do with the AngleDraw code. For some reason whenever this Sengoku is hit by ANY AngleDraw attack. He ends up landing beneath the ground at a diagonal angle. Now that I know the problem lies in how he responds to AngleDraw attacks. How do I fix it?

    Edit #1:

    Lol well... I've actually got fantastic news. It took so long but with enough brute force I think I finally have found a way to fix this code. The bug for this character has been around for over a decade. I don't even think Wenchu knew how to fix it. But with luck and persistence I managed it. For anyone else reading this here is the one and only way to fix the character. You need to paste this underneath State 5120, 1b:

    [State 0, AngleDraw]
    type = AngleDraw
    trigger1 = 1
    value = -1 + (-360*time)


    If you do this when Sengoku gets up. He will be properly centered. I've tested it and so far AngleDraw attacks of all kinds do not bug him anymore. Sengoku can finally fight alongside Garp and against many other characters that he couldn't before. At the moment Sengoku does land at a very weird diagonal angle. Looking to fix that right now. But this is a more than decent fix for the time being. There is literally no fix for this character anywhere else. Lol believe me I have searched long and hard over the years. So if something happens to this code or thread all I can say is good luck lmao.

    Edit #2:

    To fix it even further add this into the code after State 5110, 3:

    [State 0, AngleDraw]
    type = AngleDraw
    trigger1 = 1
    value = -1 + (-360*time)


    That way when he lands just before getting up he will actually be centered as well.

    Edit #3:

    The last thing that you will need to fix this character is to put this code under State 5101, 2:

    [State 0, AngleDraw]
    type = AngleDraw
    trigger1 = 1
    value = -1 + (-360*time)


    And with that Sengoku has finally been fixed.
    Last edited by Taskmast3r; Jun 02, 2022 at 10:17.

  3. #3
    Join Date
    Nov 2021
    Location
    Posts
    135
    Uploads
    0
    Comments
    1

    Default Re: Character Bug that has been around for an insane amount of time. Help me fix it.

    Big props to you for solving this on your own. A bug in a character existing for that long likely isn't for no reason.

  4. #4
    Join Date
    May 2019
    Location
    Posts
    968
    Uploads
    8
    Comments
    121
    Blog Entries
    2

    Default Re: Character Bug that has been around for an insane amount of time. Help me fix it.

    congratulations. you've just stepped into the world of coding.

Similar Threads

  1. Replies: 1
    Last Post: May 27, 2022, 12:52
  2. Is there any JUS character that have the ability to slowdown time?
    By akik7 in forum General MUGEN discussions
    Replies: 4
    Last Post: Sep 27, 2021, 12:53
  3. how to increase the amount of character slots in my mugen game?
    By zupaninja in forum MUGEN Configuration Help
    Replies: 2
    Last Post: Feb 09, 2020, 19:38
  4. AI character all time
    By Alundra_ in forum MUGEN Configuration Help
    Replies: 0
    Last Post: Aug 31, 2019, 20:35
  5. how does one make a character stop time
    By Malxrange in forum MUGEN Development Help
    Replies: 4
    Last Post: Nov 22, 2017, 02:44

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •