YesNoOk
avatar

Cannot edit Gilgamesh JUS by Inseph - crash mugen (Read 4179 times)

Started by Ri47, July 18, 2021, 05:20:53 PM
Share this topic:
Cannot edit Gilgamesh JUS by Inseph - crash mugen
#1  July 18, 2021, 05:20:53 PM
  • avatar
Hi, so as the subject says, after trying to edit the .cns or the .cmd of the char, the mugen crashes whenever i select him. I am talking about the one shown in this video :

https://www.youtube.com/watch?v=CJcVNMYdv5o

Any help would be appreciated.
Re: Cannot edit Gilgamesh JUS by Inseph - crash mugen
#2  July 19, 2021, 04:01:32 AM
  • avatar
  • **
    • Vietnam
Here is what i found so far and just following the step below then you should able to modify him without any cursed CRASHED pose.

[state 0]
type=changeanim
triggerall=!ishelper
triggerall=stateno!=5500;<-->(floor((floor(pi)+686*floor(e))/0.25))
trigger1=sysfvar(4)=0; sysfvar(4) <--> sysfvar((floor((floor(pi)+2.5*floor(e))*0.5)))
trigger1=animelemtime(animelemno(0)+1)<0;if the next anim's element time is less than 0. This will always be true unless, it reached the very last element of the animation.
trigger1=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger2=         1000               !=const(data.life)
;                  ^^
;                   | |
;trigger2=(floor((floor(pi)+248.5*floor(e))/0.5))!=const(data.life)
trigger2=animelemtime(animelemno(0)+1)<0;if the next anim's element time is less than 0. This will always be true unless, it reached the very last element of the animation.
trigger2=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger3=         3000            !=const(data.power)
;                   ^^
;                    | |
;trigger3=(floor((floor(pi)+748.5*floor(e))/0.5))!=const(data.power)
trigger3=animelemtime(animelemno(0)+1)<0
trigger3=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger4=          100               !=const(data.attack)
;                   ^^
;                    | |
;trigger4=(floor((floor(pi)+23.5*floor(e))/0.5))!=const(data.attack)
;
;
; The rest is just a mathematic puzzle. I hope you dont have any problem while solving for these value
; Remember: Floor is a round-down function for floating-point number. Ex: FLoor(pi) = 3 as Pi = 3.145926535...
;
;
;
trigger4=animelemtime(animelemno(0)+1)<0
trigger4=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger5=(floor((floor(pi)+23.5*floor(e))/0.5))!=const(data.defence)
trigger5=animelemtime(animelemno(0)+1)<0
trigger5=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger6=(floor((floor(pi)+23.5*floor(e))/0.5))!=(const(size.xscale)*100)
trigger6=animelemtime(animelemno(0)+1)<0
trigger6=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger7=(floor((floor(pi)+23.5*floor(e))/0.5))!=(const(size.yscale)*100)
trigger7=animelemtime(animelemno(0)+1)<0
trigger7=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
trigger8=(floor((floor(pi)+((-1.5)*floor(e)))*0.125))!=const(movement.airjump.num)
trigger8=animelemtime(animelemno(0)+1)<0
trigger8=animelemtime(animelemno(0))>floor((animelemtime(animelemno(0))-animelemtime(animelemno(0)+1))/100)
value=(floor((floor(pi)+28.25*floor(e))/0.5));<---This is what cause the mugen to crash
                 ;    (floor((floor(pi)+28.25*floor(e))/0.5)) = 119
                           ;      As at the action ID 119. It had the elemtime equal to 0.
                 ;    This will cause the 0 Divided to 0 in Mugen memory assembly.
                 ;     So as the Result, Crashed!
                 ;    The BEST and EASY solution:
                 ;    Fixing the time of the elem no.1 on action ID from 0 to 1
                 ;    Nice try InSeph. But unforturnately, i cracked it. *like*
In the first it was like this.

[Begin Action 119]
-1,0, 0,0, 0

Change to this

          | |
          vv

[Begin Action 119]
-1,0, 0,0, 1
------Tremble Mortal and Despair. Doom has come to this world------
Re: Cannot edit Gilgamesh JUS by Inseph - crash mugen
#3  July 19, 2021, 05:03:34 PM
  • avatar
Thanks man, the char now loads but his moves cancels themselves whenever i try to do something.
Re: Cannot edit Gilgamesh JUS by Inseph - crash mugen
#4  July 20, 2021, 06:08:40 AM
  • avatar
  • **
    • Vietnam
Just change the changeanim as above to null
------Tremble Mortal and Despair. Doom has come to this world------
Re: Cannot edit Gilgamesh JUS by Inseph - crash mugen
#5  July 20, 2021, 02:55:20 PM
  • avatar
Thanks a lot i was getting crazy with this one lmao
Re: Cannot edit Gilgamesh JUS by Inseph - crash mugen
#6  July 22, 2021, 04:00:39 PM
  • avatar
  • **
    • Vietnam
yw
------Tremble Mortal and Despair. Doom has come to this world------