mmf.newObjectClass() in XLua's MMFI module not working

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I've discovered that one of the most critical functions of XLua's MMFI module - mmf.newObjectClass() - is not working, which pretty much makes the entire MMFI module useless. I was wondering why the example movement engine (the .mfa with the Demon objects) wasn't working, until I noticed that mmf.newObjectClass() was always returning NIL. Other functions like mmf.newObject() seems to be working fine.
    I've updated my version of XLua from Fusion's extension manager, so if there's a newer version out there where this bug has been fixed, please let me know. Otherwise, I'm hoping somebody can take the time to fix this. XLua's source code is Please login to see this link.. It's very frustrating because XLua and the MMFI module has so much to offer, but much of it's potential is wasted if mmf.newObjectClass() isn't working.

    Please login to see this attachment.

    The file mmfi.dll must be placed in the same folder as the example .mfa for it to work.

  • Just wanted to ring in that I have this same problem. I noticed that the mmfi example for XLua doesn't work. The example is supposed to move the enemies in a basic platform movement using a Lua script, but nothing happens. It's as Erkabubben said, the whole XLua-MMFI feature just isn't working, which breaks a huge core of what makes XLua useful in Fusion.

    I'm guessing some small change in the internals of Fusion during an update must have broken this feature. I imagine the fix would be some minor edit to the XLua extension's source code, like some variable/function name change or something.

    I was really looking forward to controlling CTF's objects via lua scripts, like Baba is You does. But I'm guessing Baba works because it's built on an older version of MMF2, not CTF 2.5.

    Who should I talk to about fixing this extension?
    Or, does anyone know which previous version of Fusion worked with XLua? I'd be willing to roll back if necessary.

    ~ James O.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!