Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load specific chars with the error: Missing '=' or '!=' #2020

Open
djlain opened this issue Sep 22, 2024 · 2 comments
Open

Can't load specific chars with the error: Missing '=' or '!=' #2020

djlain opened this issue Sep 22, 2024 · 2 comments
Labels
compatibility Engine differences group: syntax Problem caused by a stricter compiler

Comments

@djlain
Copy link

djlain commented Sep 22, 2024

Describe the bug

I found some chars can not be loaded in ikemen go (latest nightly) with the following error:

Missing '=' or '!='
stack traceback:
[G]: in function 'game'
.\external\script\start.lua:1403: in function 'f_game'
.\external\script\start.lua:1840: in function 'launchFight'
external/script/default.lua:20: in function <external/script/default.lua:0>
.\external\script\start.lua:1457: in function 'f'
external/script/main.lua:3106: in function 'loop'
external/script/main.lua:3190: in function 'loop'
external/script/main.lua:4157: in main chunk
[G]: ?

To Reproduce

https://www.mediafire.com/file/06u0c62j3moe1q4/ikemen_go_broken_chars.7z/file
This is a pack of chars with this problem. All of them works perfectly in 1.1 (also winmugen)

Expected behavior

Hoping it can be fixed due to not a rare case. Thanks so much for all your hard works!!

Screenshots / Video

No response

Engine Version (or source code date)

nightly 24.09.20

Operating system

Windows

Extra context or search terms

No response

@potsmugen
Copy link
Contributor

I knew what the issue would be from the title. They all have bad syntax in HitDefAttr:

Fate
trigger2 = PlayerID(Var(58)),Hitdefattr ,AP

Turf
Triggerall = !Enemynear,hitdefattr

Frey
trigger1 = PlayerID(var(58)),Hitdefattr SCA, AP

Botan
trigger2 = PlayerID(Var(58)),Hitdefattr SC ,AP

Dante
Trigger3 = enemynear(fvar(30)),hitdefattr SCA, AT

You can either correct these lines or just comment them out, since if I recall correctly that syntax doesn't work in Mugen either (just does not crash).

@djlain
Copy link
Author

djlain commented Sep 22, 2024

Thanks very much for your explaining! Hoping is there a way bypass these kind of bad syntax errors without editing, especially for these kind of errors which were not fatal issues in win/1.0/1.1, in my roster there're really many chars have similar issues in ikemen go.

@K4thos K4thos added compatibility Engine differences group: syntax Problem caused by a stricter compiler labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Engine differences group: syntax Problem caused by a stricter compiler
Projects
None yet
Development

No branches or pull requests

3 participants