mugen engine closed with this code

Started by zan_master, May 17, 2015, 12:12:38 PM

Previous topic - Next topic

zan_master

hi guys
I put some codes in my char to make Certain something move
sometimes this move closing mugen engine and sometimes not closed
any why this is my code


;---------------------------------------------------------------------------
; Low Multi kick
[Statedef 1000]
type    = S
movetype= A
physics = N
juggle  = 9
poweradd= 70
ctrl = 0
velset = 0,0
anim = 1000

[State 0, VelSet]
type = VelSet
trigger1 = animelem = 3
x = 4

[State 300, 1]
type = HitDef
trigger1 = animelem = 3
trigger2 = animelem = 4
trigger3 = animelem = 5
trigger4 = animelem = 6
trigger5 = animelem = 7
trigger6 = animelem = 8
attr = S, NA
damage = 25
animtype  = back
hitflag = MAF
guardflag = M
pausetime = 8,8
sparkno = S6025
guard.sparkno = S6065
sparkxy = -10,-150
hitsound   = S6,2
guardsound = S7,1
ground.type = HIgh
ground.slidetime = 12
ground.hittime  = 17
ground.velocity = -4
air.velocity = -3,-4
getpower = 80,80
givepower = 20,20

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 3
trigger2 = animelem = 5
trigger3 = animelem = 7
value = S1,0
volumescale = 255
channel = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 3
trigger2 = animelem = 5
trigger3 = animelem = 7
value = S6,12
volumescale = 255
channel = 2

[State 0, VelSet]
type = VelSet
trigger1 = animelem = 8
x = 0

[State 210, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


is there anyone know why that's happend

Odb718

The only thing I really see is..
ground.type = HIgh
but I doubt the capital i would be the problem.
There's no debug error? Look in the Mugen.log file, in the root of your mugen directory right after the crash.
vVv Gouken718 vVv SabreTooth718 vVv


zan_master

ok it's solved in first move but happend again in next move


;---------------------------------------------------------------------------
; High Multi kick
[Statedef 1001]
type    = S
movetype= A
physics = N
juggle  = 7
poweradd= 70
ctrl = 0
velset = 0,0
anim = 1001

[State 0, VelSet]
type = VelSet
trigger1 = animelem = 3
x = 6

[State 300, 1]
type = HitDef
trigger1 = animelem = 3
trigger2 = animelem = 4
trigger3 = animelem = 5
trigger4 = animelem = 6
trigger5 = animelem = 7
trigger6 = animelem = 8
trigger7 = animelem = 9
trigger8 = animelem = 10
trigger9 = animelem = 11
trigger10 = animelem = 12
attr = S, NA
damage = 25
animtype  = back
hitflag = MAF
guardflag = M
pausetime = 8,8
sparkno = S6025
guard.sparkno = S6065
sparkxy = -10,-150
hitsound   = S6,2
guardsound = S7,1
ground.type = High
ground.slidetime = 12
ground.hittime  = 17
ground.velocity = -4
air.velocity = -3,-4
getpower = 80,80
givepower = 20,20

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 3
trigger2 = animelem = 5
trigger3 = animelem = 7
trigger4 = animelem = 9
trigger5 = animelem = 11
value = S1,0
volumescale = 255
channel = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 3
trigger2 = animelem = 5
trigger3 = animelem = 7
trigger4 = animelem = 9
trigger5 = animelem = 11
value = S6,12
volumescale = 255
channel = 2

[State 0, VelSet]
type = VelSet
trigger1 = animelem = 13
x = 0

[State 0, VelSet]
type = VelSet
trigger1 = animelem = 14
x = 7

[State 0, VelAdd]
type = VelAdd
trigger1 = animelem = 14
x = -0.5

[State 300, 1]
type = HitDef
trigger1 = animelem = 14
attr = S, NA
damage = 40
animtype  = diagup
hitflag = MAF
guardflag = M
pausetime = 12,12
sparkno = S6025
guard.sparkno = S6065
sparkxy = -10,-150
hitsound   = S6,4
guardsound = S7,2
ground.type = trip
ground.slidetime = 12
ground.hittime  = 17
ground.velocity = -10,-9
air.velocity = -10,-9
getpower = 80,80
givepower = 20,20
fall = 1
fall.recover = 0

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 14
value = S1,9
volumescale = 255
channel = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 14
value = S6,9
volumescale = 255
channel = 2

[State 0, Explod]
type = Explod
trigger1 = animelem = 14
anim = 6000
ID = 6000
pos = 0,0
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
vel = -5,0
accel = 0,0
random = 0,0
removetime = -2
pausemovetime = 999
scale = 1,1
sprpriority = -1
ontop = 0
shadow = 0,0,0
ownpal = 1
removeongethit = 9999

[State 210, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


when mugen closed no show or appear any mugen log, just close mugen engine without any log

Odb718

well mugen always makes a log. The error might not be in it though.

Are you launching Mugen through Fighter Factory 3? Could it be some random stage causing the crash? I dont really see anything wrong with your code.

What was the fix for the other problem??
vVv Gouken718 vVv SabreTooth718 vVv


Rent

#4
well, I guess you could remove all the state controllers and add them back one at a time until the error pops up. the controller that causes the game to crash is the faulty controller.

oh also, sometimes fighter factory messes up when saving anims, you might also want to check the AIR file to see if anim 1001 has anything out of order, or temporarily change the anim to see if you still get the error. Something similar happened to me, apparently fighter factory somehow saved an extra comma in the AIR file - which threw off that particular anim, everything worked until that anim was used.
wat.

Lost_Avenger

Just hit ctrl+d then show us the message. I dont see anything outside of the animation stuff

-
http://www.trinitymugen.net/Hosted/CFJ2/
-
thanks again Vans/Jesuszilla!

zan_master

look for this video to see what I mean



sometimes working and sometimes mugen is closed without press escape button
and I don't show error message

Vans

Did you close it yourself at 0:16

Please try testing the character using raw command line, using a command line window go to your mugen folder and use the "mugen *character* *character*" command. Report if the issue persists.

zan_master

#8
sorry for anyone here
I very stupid to think problem in CNS file  ...... the error found in AIR File
I put clsn & ClsnDefault ( I mean Blue Clsn and Green Clsn) in same animelem
when I removed now it's working without close mugen engine

thank's for anyone here trying help me