Search:

Type: Posts; User: Corentin; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I never use DoCall(), so this is how I would have done it :
    I would not put closeApp() function inside the script
    I'd register it in MMF, create an 'On Function' event with close frame.

    then you...
  2. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    you can call MMF functions inside your scripts if you register those functions in MMF (action MMF Function>Register or something like that). Those functions can also return values to be used in your...
  3. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    do you mean the 'Run File' action ? I don't really get what you mean.
  4. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    require works too, btw...

    In MMF the syntax might look a bit strange because of many " or ' :
    Run Source String : "require ""luaModule"""

    this definitely works if you have your lua files named...
  5. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    Parameters stay local, you don't have to be afraid of this.
  6. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I won't be able to test this before next week-end, but thanks for your fast update !
  7. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    Good news ! I cannot try it yet, but I was looking forward more explicit syntax-error-messages
  8. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I'll try to see what was the trouble and try to reproduce that crash then
  9. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    About those Auto-Registering functions, I guess we lose that minimum parameter count ?

    On another point, I think we don't get error messages when invoking a MMF function that doesn't exist or...
  10. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    yeah, it sounds pretty logical, but I thought it would throw an error rather than crashing.

    edit : haven't tested it yet, but thanks for the fix !
  11. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    print(nil) creates a crash on my computer, with an error about using a memory index at 0x00000000. It's the same with any undefined variable.
  12. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    Amazing ! Thanks for the fast bug-fix !
  13. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    Maybe i'm doing something wrong, but I have just the same error when pushing a return value for a MMF Function, with error :
    Invalid place to push a return value.

    Could it be a bug related to...
  14. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    It has got to be some stupid mistake I'm making, could you explain to my poor brain why
    -On Function 'test'
    Set text to 'test function with param : '+MF_StringParam(1)

    writes 'test function...
  15. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I don't have managed to get a single crash yet !

    Congratulations for the bug fixes, it seems pretty good now ! I hope Pixelthief stability problems are solved too...

    Thanks for the great...
  16. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I'll explain better soon (i'm not home at the moment)... On my computer it crashes, and closes the app, with a memory error.

    I didn't explain more because I was sure it would crash for you too :D...
  17. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I've tracked down the bug and found way to reproduce it in a fresh app :

    xLuaCrash
  18. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    In fact I see it pretty often, even with very short scripts, so I guess there's something strange appearing here...

    It's pretty hard to say because i've modified the app I'm working on to use LUA...
  19. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I've experienced an Error loading string : Out of memory. This is no real problem, but it causes a crash when leaving app (and everything seems to be messed up after such an error).

    Could it be...
  20. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    I'm testing your extension, and everything seems perfect. There was just this feature in Lua+ which I liked : An expression in Lua Functions>Call Function> Get string/number parameter

    You can...
  21. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    Thanks for the quick bugfix ! I think this is exactly what people want from a new LUA extension : support from it's creator (of course, no offence meant to other devs, nobody has enough time for half...
  22. Replies
    424
    Views
    270,262

    Re: XLua extention beta

    Opening the Package Library crashes the app. Just like Lua+ btw
Results 1 to 22 of 22