YesNoOk
avatar

Character doesn't stop killing himself (Read 616 times)

Started by GianDavidsson, November 08, 2019, 09:40:40 pm
Share this topic:
Character doesn't stop killing himself
#1  November 08, 2019, 09:40:40 pm
  • avatar
  • *
    • Brazil
I downloaded a character that every move he does make his HP go to 0, what do I do to stop this?
Last Edit: November 10, 2019, 02:14:02 pm by GianDavidsson
Re: Character doesn't stop killing himself
#2  November 08, 2019, 09:56:03 pm
  • ****
  • The Quality Assurance Boy
    • UK

  • Online
Is his in Training Mode, because some character may have their HP go to 0 to they can perform desperations or somethin'.
Re: Character doesn't stop killing himself
#3  November 08, 2019, 10:16:10 pm
  • avatar
  • *
    • Brazil
Even on training mode, every move, even a single punch clear his own life, in fact, when the fight begins his life already go to 0.
Re: Character doesn't stop killing himself
#4  November 08, 2019, 10:55:58 pm
  • *
    • USA
It does sound like you maybe downloaded a joke character, but you can go through the character files with Fighter Factory 3 and check their state files.  They'll likely have some code that KO's them whenever they attack. Check anything that has "Hitdef" in it if you're confused on where to look
Re: Character doesn't stop killing himself
#5  November 08, 2019, 11:35:37 pm
  • avatar
  • *
    • Brazil
It does sound like you maybe downloaded a joke character, but you can go through the character files with Fighter Factory 3 and check their state files.  They'll likely have some code that KO's them whenever they attack. Check anything that has "Hitdef" in it if you're confused on where to look

I would also think that it's a joke if it wasn't for the moves, the character has too many moves and specials to be treated as a joke character, how a person would put so much effort just for every detailed move to kill himself?! I think that there might be some error on his cns that could be corrected, how do I identify the suicide code?

[StateDef 6010]
type = S
movetype= A
physics = S
ctrl = 0
poweradd = 100

[state 0]
type = changeanim
triggerall = var(7) = 0
trigger1 = time = 0
value = 6010

[State 0]
type = HitDef
triggerall = var(1) = 0
trigger1 = AnimElem = 2
attr = S, NA
damage = 20,10
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
sparkno = -1
guard.sparkno = -1
hitsound = S0, 13
guardsound = S0, 17
ground.type = High
ground.slidetime = 0
ground.hittime  = 20
ground.velocity = -2
airguard.velocity = -2
air.type = High
air.velocity = -2
air.hittime = 20

This is a statedef of one of the moves that kill himself
Re: Character doesn't stop killing himself
#6  November 08, 2019, 11:42:19 pm
  • ****
  • The Quality Assurance Boy
    • UK

  • Online
Maybe tell us the character that does this, should lead to more help instantly.
Re: Character doesn't stop killing himself
#7  November 09, 2019, 12:41:50 am
  • avatar
  • *
    • Brazil
Re: Character doesn't stop killing himself
#8  November 09, 2019, 08:26:04 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
What version of mugen and how long is the name in the def file? 1.0 and long names don't play nice and i don't remember if that got fixed. Your error is bizarre and believe me when the name was long the problems were really weird.


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.
Re: Character doesn't stop killing himself
#9  November 10, 2019, 12:55:07 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Or maybe it's an anti-thievery gimmick, to prevent players from changing the author's name or manipulating his code.

Look into the -2 or -3 states for a lifeset or lifeadd, this would be the part killing your character
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Character doesn't stop killing himself
#10  November 10, 2019, 01:08:10 am
  • *
    • USA
Or maybe it's an anti-thievery gimmick, to prevent players from changing the author's name or manipulating his code.

Look into the -2 or -3 states for a lifeset or lifeadd, this would be the part killing your character

Huh, I never heard of that before. I know this is unrelated, but are there other methods like that?
Re: Character doesn't stop killing himself
#11  November 10, 2019, 02:13:43 pm
  • avatar
  • *
    • Brazil
Problem solved! On the character cns there were a suicide code "lifeset"

[State 0, ChangeState]
type = LifeSet
trigger1 = var(2) != 1
value = 0

I just had to delete this and the character started playing fine.
Re: Character doesn't stop killing himself
#12  November 10, 2019, 10:03:13 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Ok. It is a joke character then. Thats a really stupid piece of code to put in on purpose.


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.