ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
711 stars 125 forks source link

"Attempt to call a non-function object" error. #2041

Closed FailureBiWinning closed 6 days ago

FailureBiWinning commented 6 days ago

Describe the bug

Upon running the executable, IKEMEN opens a blank window and sits very briefly before displaying an error message (pictured in screenshot). Clicking OK closes the program, so I'm unable to proceed any further, and I can't be certain if there are any additional issues immediately pertaining to this.

To Reproduce

  1. Just run the Ikemen_GO.exe and wait.

Expected behavior

It should just proceed directly to the screenpack's main menu.

Screenshots / Video

ERROR

Engine Version (or source code date)

Nightly build, recent as of 2024-09-30

Operating system

Windows

Extra context or search terms

I actually attempted to diagnose this on my own by commenting out the line in main.lua indicated in the error message (1524) and seeing what happens, and while that did allow me to proceed to the main menu, selecting anything caused another error message to appear that indicated problems in other lines (2463, 3129, 3253, 4220). I'm not particularly well-versed in Lua, so trying my hand at fixing things probably wasn't the best idea.

potsmugen commented 6 days ago

Is this on a clean install?

FailureBiWinning commented 6 days ago

No, but I did check with a separate clean install afterwards and it happens there too.

potsmugen commented 6 days ago

Can confirm. Seems related to the framespercount trigger refactor.

@K4thos tag.zss needs a small update too: let rootId = getPlayerId(teamSide); -> let rootId = player(teamSide), Id;