Ikemen-GO icon indicating copy to clipboard operation
Ikemen-GO copied to clipboard

Characters with trailing comma causes to crash the game

Open TRRESTGHGYTCFTGBCXSZD opened this issue 6 months ago • 1 comments

Describe the bug

This character has trailing comma, and the parser treats empty string as invalid attribute, so this causes the game to crash. An Attribute with Trailing Comma:

[State 0, HitOverride]
type = HitOverride
trigger1 = Pos Y != 0
attr = SCA,NA,SA,HA,NP,SP,HP,
stateno = 5030
time = 1
forceair = 1
ignorehitpause = 1

To Reproduce

  1. Download character from Click Here! (any characters with trailing comma works)
  2. Try to Start the match
  3. See error

Expected behavior

It should ignore trailing comma and run normally.

Screenshots / Video

No response

Engine Version (or source code date)

v0.99.0

Operating system

Windows

Extra context or search terms

No response

TRRESTGHGYTCFTGBCXSZD avatar Aug 11 '24 11:08 TRRESTGHGYTCFTGBCXSZD