Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    424
    Views
    268,776

    Well, it's been a pretty long while since I've...

    Well, it's been a pretty long while since I've been around. I'm curious how this object has aged, what holes have opened up as the fusion platform has changed, etc.
  2. Replies
    6
    Views
    1,140

    Sure: https://github.com/jaquadro/XLua ...

    Sure: https://github.com/jaquadro/XLua

    @happygreenfrog: It is the XLua-specific fork of LuaGL, and that project is also on the above GitHub link.
  3. Replies
    3
    Views
    1,177

    Last I knew, coroutines should have been able to...

    Last I knew, coroutines should have been able to cross the event boundary. That's the main reason I haven't considered upgrading to LuaJIT 2 -- they removed the ability to propagate co-routines...
  4. IMO it's only viable if you pair it with XLua,...

    IMO it's only viable if you pair it with XLua, and even then it's very far from ideal. Jitted Lua is fast, but it's not exactly a first choice for writing a rendering engine.
  5. Replies
    6
    Views
    1,140

    Well that's quite curious. Even more curious, I...

    Well that's quite curious. Even more curious, I haven't been using local Subversion for a couple years now, so that my workstation's local SVN server is still public and running is astounding.
    ...
  6. Replies
    2
    Views
    410

    Collision support has always been a little bit on...

    Collision support has always been a little bit on the flaky side, especially if you're using the HWA runtime which didn't work, last I checked. Clickteam doesn't actually expose anything warm and...
  7. Replies
    12
    Views
    2,601

    Re: Vector Math Object

    Someone reported a significant memory leak in this extension earlier today, if you create a lot of vectors/matrices from value. The download has been updated with a fix.
  8. Replies
    1
    Views
    912

    Re: Xlua : Problem with MMFI

    Sorry for a late response; I have been on vacation.

    I could not reproduce your problem. Make sure you have the latest copy of mmfi.dll.


    package.cpath = "./?.dll;./ext/?.dll"

    require...
  9. Replies
    5
    Views
    3,268

    Re: XLua Open Source

    Well, if you know someone willing to help me diagnose exceptions originating deep in the MMF runtime, I may see it through to a proper release.
  10. Replies
    5
    Views
    3,268

    Re: XLua Open Source

    Why is there anything to be sad about? As I mentioned, XLua is very mature. There have been almost no bug reports in the last year, and it's already feature-rich. I would still fix a bug now if...
  11. Replies
    5
    Views
    3,268

    XLua Open Source

    Hello everyone,

    I wanted to let all interested folks know that I have published XLua and all related sub-projects as an open source project. It is available at https://github.com/jaquadro/XLua
    ...
  12. Thread: Lua Help

    by Retriever2
    Replies
    10
    Views
    1,146

    Re: Lua Help

    Everything listed at http://www.fusionwiki.com/wiki/XLua should be correct and up to date.

    XLua ships with a help file and several example MFAs. However if you downloaded it via a third party...
  13. Replies
    7
    Views
    1,912

    Re: String properties in extensions

    The editdata structure is indeed a nightmare when you introduce variable data. Especially when you introduce multiple sources of variable data.
  14. Replies
    6
    Views
    1,094

    Re: MMF2 HWA, D3D and Shaders question

    Extension development stopped being friendly with the explosion of runtimes.
  15. Replies
    95
    Views
    14,369

    Re: [Request] MMF2 Create Object From Expression

    Are we going to see a physical update to the SDK, which hasn't been [publicly] updated since 2007?
  16. Replies
    95
    Views
    14,369

    Re: [Request] MMF2 Create Object From Expression

    There is no way to create objects directly from an extension. I would have killed for this to be included in the SDK (well, not that extreme).
  17. Re: [request] More upto date "useful" extensions

    The biggest benefit to native windows controls is they will integrate with the user's theme.

    I don't want Classic controls when I'm using Aero, nor do I want XP controls when I'm using Classic....
  18. Thread: Random Bug?

    by Retriever2
    Replies
    10
    Views
    5,558

    Re: Random Bug?

    It seems to be a known issue.

    The suggested work-around is to call math.random once or twice after setting the seed to discard the first value. The problem may be endemic to the underlying rand()...
  19. Thread: Random Bug?

    by Retriever2
    Replies
    10
    Views
    5,558

    Re: Random Bug?

    I think you'll need to provide me an example to fully explain what you're encountering.

    XLua is fully synchronous with MMF so I can't do an arbitrary call after some period of time. But then...
  20. Thread: Random Bug?

    by Retriever2
    Replies
    10
    Views
    5,558

    Re: Random Bug?

    Are you trying to set and get the value in the same frame? The change may not be visible until the following frame. I know this is true for setting object position.

    I think the angle is just...
  21. Thread: Random Bug?

    by Retriever2
    Replies
    10
    Views
    5,558

    Re: Random Bug?

    randomseed needs to be different each run (the seed is what defines the sequence returned by the number generator.) Typically the seed is set to a time value which is going to be different each run....
  22. Thread: Random Bug?

    by Retriever2
    Replies
    10
    Views
    5,558

    Re: Random Bug?

    Did you call math.randomseed at the start of your application?

    Lua's math.random simply falls through to ANSI C's rand, which requires you to set a seed once or you'll just repeat your sequence...
  23. Re: How do binary data elements work/which extensions

    That's because it uses the full path as the key. As to what a particular object is willing to accept is up to implementation of that object (I think ultimately they must all be converted to an...
  24. Re: How do binary data elements work/which extensions

    Figured I'd mention, XLua can pull scripts from data elements (using the 'require' statement in-script), but it is incredibly picky about where it is instructed to search. I believe you must specify...
  25. Replies
    17
    Views
    2,313

    Re: Simple xlua test crashes

    No, I don't think so. I suppose you must have just downloaded it a long time ago.
  26. Replies
    17
    Views
    2,313

    Re: Simple xlua test crashes

    Did you originally get your old copy from Fusion Updater, by any chance?
  27. Replies
    17
    Views
    2,313

    Re: Simple xlua test crashes

    You need to enable MMF Interface and export the object before you call the function (check action order)

    Also you need a "function" keyword before obj() in your lua code to define a function.
  28. Replies
    5
    Views
    856

    Re: help with vectors in rSDK

    Perhaps the vector method you really want is push_back: http://www.cplusplus.com/reference/stl/vector/push_back/

    rdPtr->pVector->push_back(valuetostore);

    insert() requires messy iterator use...
  29. Replies
    2
    Views
    2,715

    Re: Sqlite library for Xlua

    It looks like you did almost everything correctly.

    It looks like the lsqlite author didn't bother testing their build in MSVC++, because it wasn't properly exposing the public register function.
    ...
  30. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    How much are HWA-specific settings changed during runtime?

    Maybe you could give me a motivating example. I haven't really used the HWA runtime so I don't know what's available to tweak.
  31. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    I have no information on HWA stuff.
  32. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Well, the libraries are out there ... people just need to compile them against XLua :)

    I tried investigating externalizing the Lua DLL, which not only would allow the runtime to be selectable, but...
  33. Replies
    14
    Views
    6,066

    Re: Unable to edit embedded code

    Re-reading the original post, I actually am not sure if I've solved the original issue. I know I solved the issue that FVivolo gave me steps to reproduce the problem, but it sounds different from...
  34. Thread: XLua

    by Retriever2
    Replies
    6
    Views
    13,018

    Re: XLua

    XLua Version 1.5.2

    This update fixes a minor bug where the internal editor would not appear correctly under certain circumstances.

    Download: Version 1.5.2
  35. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Small bugfix

    Version 1.5.2: http://taloncrossing.com/xlua/xlua-dist.zip

    If you closed all XLua-containing projects after using XLua's internal editor, and then opened a new XLua-containing...
  36. Replies
    14
    Views
    6,066

    Re: Unable to edit embedded code

    Again, sorry for the delay. Finishing grad school can be hectic.

    I believe I have fixed this problem. The Scintilla editor only went missing if the XLua module was unloaded (e.g. all...
  37. Replies
    14
    Views
    6,066

    Re: Unable to edit embedded code

    I apologize for the delay -- I haven't forgotten about this. I've just been very busy with University work and job hunting (just accepted an offer today, and XLua may have helped me secure the...
  38. Replies
    14
    Views
    6,066

    Re: Unable to edit embedded code

    Woah, if some of you have been having this problem for months why is this the first time I've ever heard of it? D:

    I may not be actively developing new extensions, but I still check these forums...
  39. Replies
    15
    Views
    7,829

    Re: Development canceled.

    I imagine what is released will remain available. But if there are bugs or incomplete features, they will not be fixed.
  40. Re: Java Mobile - Importing Custom Libaries?

    I actually have a mostly complete version of XLua for Java Runtime (standard runtime). A mobile version could possibly be feasible as the Lua runtime system I used has a J2ME version. However I hit...
  41. Replies
    2
    Views
    656

    Re: Open GL . Python - LUA - examples

    Well, I haven't downloaded your example, but you should take a look at

    http://taloncrossing.com/xlua/docs/index.html?ext_mmfi.htm

    It is possible, for example, to use the Mouse functions and...
  42. Replies
    2
    Views
    2,717

    Re: Lua reality check

    Please don't take offense when I say that everything you did with the object is incorrect.

    First, I recommend using the XLua object instead, it's more powerful and more stable than the Lua object....
  43. Replies
    21
    Views
    2,677

    Re: Screen Grab to Giff... Bids open.

    The LZW patents used in GIF expired earlier in the decade, so that should no longer pose an issue.
  44. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    I'm not sure I understand your question about parameters and functions. Are you talking about calling Lua functions from MMF, or calling MMF functions from Lua? I'll try and cover all my bases.
    ...
  45. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Oh wow, 30+ embedded scripts? I'll consider some upgrades to the script editor .. as it stands there's some elements like the library list that will never be used and need to be removed.

    EDIT: I...
  46. Replies
    7
    Views
    1,431

    Re: For developers: ObjectSelection Framework

    This should be useful to many people.

    Most of the object selection capabilities in XLua is also thanks to the code Dynasoft released. It has been very helpful.
  47. Thread: Suggestion

    by Retriever2
    Replies
    4
    Views
    697

    Re: Suggestion

    Releasing something like Active Picture Object for all of the runtimes would be pretty instructive.
  48. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Following up on the data elements bug report:

    It turns out that requiring from the data elements editor does work, but you must add the FULL path of the file to your cpath variable, AND you must...
  49. Re: Bezier Curve / de Casteljau's algorithm - (XLua)

    Thanks for sharing :)
  50. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    In theory you should be able to since you have access to overlap detection. But designing the right algorithms to deal with multiple objects and other obstacles would be just as challenging as if...
  51. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    For the performance-minded, I stumbled on this a bit ago and you may find it useful.

    http://www.lua.org/gems/sample.pdf
  52. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    http://www.taloncrossing.com/xlua/mmfi.zip

    Here is an updated mmfi.dll (absolutely sure it's not a debug build!), with fixed collision detection for that method.
  53. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Hey, I finally got around to testing your second example out.

    Have you by any chance tried enabling LuaJIT for your runs? In testing your example, with LuaJIT disabled, external MMFI ran at about...
  54. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Actually, it is still documented, it's just in a separate help file now :)

    I'll take a look at it later, just got back from a flight and job interview, and all sorts of work and meetings and stuff...
  55. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    It'll still be there for a while. In terms of raw speed the old interface still has an advantage, but when I took a poll a while back people seemed interested in trading a small amount of speed for...
  56. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Woo, where to start. You may very well be a trail blazer with the MMFI DLL ... or else everyone's just keeping quiet about it.

    You must always remember that when you access a special member...
  57. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    It should be possible to just include the DLL in the binary data, and then in your code you would use:

    require "mmfi"

    However, it's possible this stopped working and I may need to revisit it. ...
  58. Replies
    18
    Views
    2,062

    Re: Storing Variables in RUNDATA

    Yes, you're correct, I guess my brain is turned off today.

    If myVariable was itself a complex data type then what I said would be correct, referring to accessing members of myVariable.
  59. Replies
    18
    Views
    2,062

    Re: Storing Variables in RUNDATA

    rdPtr->myStructure.myVariable, actually, unless myVariable specifically needs to be allocated dynamically (e.g. an array or a buffer).

    The reason you can't just stick a std::vector into RUNDATA is...
  60. Replies
    18
    Views
    2,062

    Re: Storing Variables in RUNDATA

    #include <vector> must come before you first use the vector. Put it above the second struct definition.
  61. Replies
    18
    Views
    2,062

    Re: Storing Variables in RUNDATA

    It would be very helpful if you would post the exact error you're getting, and the exact line of code (preferably, block of code) that is producing that error.
  62. Re: What keeps you from developing a MMF2 extension?

    The answer is a combination of "I already write extensions" and "I don't have the time necessary". Also to an extent, it's bothersome to worry about all the different runtimes, with their different...
  63. Replies
    569
    Views
    177,380

    Re: Surface Object

    You could offer a second non-blocking save function.
  64. Replies
    569
    Views
    177,380

    Re: Surface Object

    Or could you just spin off a thread to do the saving for you?
  65. Replies
    11
    Views
    2,063

    Re: [HWa Update of Extension] Active Shape

    I would port Active Shape to the HWA runtime, but no SDK has been released. Unless CT wants to do the port for me or give me the SDK, my hands are tied.
  66. Re: [Research] What version of MS Visual C++ do you use?

    Express is more than I initially expected it to be, so no complaints from me. I don't get any of its missing benefits in MinGW either, and there's no IDE I can pair it with that holds a candle to...
  67. Replies
    0
    Views
    3,104

    LuaSocket C Module

    This has been included in the XLua distribution for the last month or so, but if anyone's missed it they can also download it directly. I've compiled LuaSocket against XLua so that it can be...
  68. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Part of the old coroutine bug apparently resurfaced in 1.5. Thanks to UrbanMonk for pointing it out. It has now been fixed.

    Version 1.5.1: http://www.taloncrossing.com/xlua/xlua-dist.zip
  69. Thread: XLua

    by Retriever2
    Replies
    6
    Views
    13,018

    Re: XLua

    XLua Version 1.5.1

    This update fixes a bug in coroutine support, which would cause MMF functions returning values to a coroutine to return nil instead. This bug was a partial regression from...
  70. Replies
    26
    Views
    6,521

    Re: [Beta] Timeline Object

    Looki found a help authoring package that he really liked, although I forget its name. Ask him.
  71. Re: [Research] What version of MS Visual C++ do you use?

    Now you've got me really curious, what did they do to 2010
  72. Replies
    26
    Views
    6,521

    Re: [Beta] Timeline Object

    FusionWiki should not be a replacement for proper object documentation.
  73. Re: [Research] What version of MS Visual C++ do you use?

    MSVC++ 2008 Express

    I had to make one minor change to rSDK to not assume that I was using "using namespace std;" in my code. But that doesn't have anything to do with the particular compiler.
  74. Re: "[Request] Background Gradients object to SWF"

    Is the background vs. active property important in Flash? What about using Active Shape which Looki ported to Flash.
  75. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    There is no comparative chart. The version of XLua in FusionUpdater is extremely old and out of date, and its presence there only does me a disservice by confusing potential end-users.

    XLua...
  76. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    No, it's not for embedding XLua, it's exposing an API.

    The usual use case is that you have an object that you want to control with Lua code, and so you would write a "bridge" module which...
  77. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Thanks, although any future changes will of course see a brief beta release first.

    I should also mention that with the final release in the released extensions forum, the package now includes a...
  78. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    I'm not entirely sure what you're looking for in the opposite direction. Are you asking about the ability to say .. directly invoke some Lua code from your extension (let's say for the purpose of...
  79. Thread: XLua

    by Retriever2
    Replies
    6
    Views
    13,018

    XLua

    XLua Version 1.5

    XLua has already been available as a beta extension for well over a year, but is now considered mature. It is a stable and feature-rich replacement for the previous Lua Object...
  80. Replies
    12
    Views
    2,431

    Re: How do you Debug an Extension?

    The runtime version of your extension. It will be used when your application is built. But when testing in MMF, edrt will use the extension in the \extensions directory.
  81. Replies
    58
    Views
    16,919

    Re: MMF2 HWA Final(?) Version

    Does this mean we can expect an updated SDK at some point?
  82. Replies
    4
    Views
    549

    Re: Debugging Java extensions?

    Perhaps I'm missing something, but JavaRuntime terminates immediately

    Exception in thread "main" java.lang.NullPointerException
    File error
    at javaruntime.Main.run(Main.java:106)
    ...
  83. Replies
    4
    Views
    549

    Re: Debugging Java extensions?

    I'm not out building applications to market.. I don't have much use for Dev.

    I'm porting (or, trying to port) XLua to Java standard. It could potentially go to Mobile as well because LuaJ also...
  84. Replies
    4
    Views
    549

    Debugging Java extensions?

    Is there any way to utilize the Netbeans debugger on an extension if I don't have Dev and thus can only build jar files of my test application?
  85. Replies
    28
    Views
    2,872

    Re: ReturnFloat() crashes

    Is xlParam() ultimately reading off of MMF's parameter queue? You are assuming that the parameters are going to be evaluated left-to-right, but I believe, as you have just observed, that the...
  86. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Oh, oh! Did you grab a new mmfi.dll and/or opengl.dll from the 1.5b5 zip file for your project? I just checked and apparently I released debug versions of both those DLLs, which is about an extra...
  87. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Well you know the URL for the old version, experiment a bit and if you can definitely narrow it down to XLua (or something related), then let me know your findings.

    The core XLua runtime is 500KB....
  88. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Really? All the 1.5 betas (which is what I've been posting here since at least January) are part of xlua-dev.zip, and the last "stable" release in xlua-dist.zip. The runtime MFX for XLua is...
  89. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    http://taloncrossing.com/xlua/xlua-dev.zip

    This is not an updated version of XLua, but it does include an updated help file and example for building lua packages (LuaSocket specifically, but...
  90. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Version 1.5b5

    Some minor bugfixes (some errors were reported twice, backtrace reporting)

    More importantly, there's been some really massive changes underneath, which may solve some of the...
  91. Replies
    28
    Views
    2,872

    Re: ReturnFloat() crashes

    It will also appear if you try debugging before the MFX is loaded. I find it easiest to debug by attaching to edrt on a dummy frame and then advancing.
  92. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Yes, part of my wrap-up is to write up a few docs on compiling c modules for xlua. But if you know how to compile lua c modules already, then the difference is very minimal.
  93. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Which example? I've stopped distributing the OpenGL example with Looki's object, since for some reason my copy of MMF is rejecting that extension now. But Min's examples worked for me.
  94. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    So after some undue frustration, I'm going to take a moment to remind everyone that if you experience unexplainable crashing in XLua and any errors have been raised, try switching the error reporting...
  95. Replies
    28
    Views
    2,872

    Re: ReturnFloat() crashes

    rSDK ReturnFloat() sets the float flag.
  96. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Been a while, but new release, version 1.5b4 (yes, that stands for 4th beta).

    The callstack code has all beeen rewritten to support an old feature request: pushing tables onto the stack. You can...
  97. Re: My Failed Attempt with Overloading Operators

    Do not define functions like that inside of a header file (if you want to define functions inside a header, define them inside the class declaration itself, like you're writing Java code).

    Your...
  98. Replies
    10
    Views
    2,140

    Re: Crashing with MyVector.clear()

    Not nearly enough information.

    Presumably this is an STL vector? Give us some context - where are you using the vector, how are you using it, what are you storing in it (e.g. data or pointers?). ...
  99. Re: Extension system flaw in multimedia fusion 2

    Depends how much of the runtime you use. XLua (runtime build) is over 600kB, half of which is from the VC++2008 runtime.
  100. Re: Extension system flaw in multimedia fusion 2

    That's exactly why it's a "practical requirement" for the extensions devs (except for those who still have access to and work with VC6). Few app developers are going to find it acceptable that they...
  101. Re: Extension system flaw in multimedia fusion 2

    I think there's bigger fish to fry in the realm of extension file size, like the practical requirement that new extensions have an entire C/C++ runtime embedded in them.
  102. Re: Extension system flaw in multimedia fusion 2

    Yes, we all agree the extension situation is pretty dire and I definitely look forward to any forthcoming improvements that are managed by ClickTeam.

    It's confusing to have multiple objects...
  103. Replies
    28
    Views
    3,109

    Re: A Few SDK Questions

    I prefer to avoid all rSDK facilities when dealing with floating point in actions, all of it seems to break in some scenario or another. Here's a couple routines I use in XLua - you can pretty much...
  104. Replies
    16
    Views
    6,920

    Re: XLua Examples Are Screwed Up?

    I disagree. An ancient version of XLua frozen in that program's database is no service to me or potential users of my extension.

    Either we have a database managed exclusively by Clickteam, or...
  105. Replies
    16
    Views
    6,920

    Re: XLua Examples Are Screwed Up?

    Part of the problem is our inability to edit our posts to update links.
  106. Replies
    16
    Views
    6,920

    Re: XLua Examples Are Screwed Up?

    http://hocuspocus.taloncrossing.com/rii/xlua-dev.zip

    That's the most up to date copy of the XLua extension .. the one Looki linked to is XLuaGL which you may also need to update.
  107. Replies
    8
    Views
    1,131

    Re: Specific place for Classes in rSDK?

    Make sure you're building a debug version of your extension, not release.

    Then once you launch edrt, select debug->attach to process from MSVC++. Find edrt.exe in the list.

    You also need to...
  108. Replies
    8
    Views
    1,131

    Re: Specific place for Classes in rSDK?

    Those warnings are harmless.

    You should learn to use the MSVC++ debugger, so you can break on one of your actions and step through the code. Then you can see if your code is actually being...
  109. Replies
    22
    Views
    3,087

    Re: FusionUpdater for Japanese version of MMF2

    If the author has vanished and the licensing is too restrictive, then I think the only long-term solution is to write new extensions to replace them.
  110. Replies
    8
    Views
    1,131

    Re: Specific place for Classes in rSDK?

    I can't directly answer your question unless you give more details about how you're trying to use those classes.

    However, there is a little snag you may be hitting. If you're trying to use a...
  111. Replies
    17
    Views
    2,085

    Re: Accessing backdrops from extensions

    Yes, you are correct .. I guess that means I have a bug I also need to fix in the library :)
  112. Replies
    17
    Views
    2,085

    Re: Accessing backdrops from extensions

    In SpriteListByPoint, there is a list.push_back(spr) in the while loop -- that populates it. It's passed by reference up the call stack.

    The SpriteCol_TestPoint function in cnpdll will find npSpr...
  113. Replies
    17
    Views
    2,085

    Re: Accessing backdrops from extensions

    What's the short version in this case?

    Thanks for the info :) [/quote]

    Very first line: typedef std::list<void*> GenList;
    It's just an STL list of void pointers.

    If you only care about...
  114. Replies
    17
    Views
    2,085

    Re: Accessing backdrops from extensions

    I've done these in the XLua MMFI extension (it supports a wide array of collision detection). Here's some relevant code you can try and tease apart. If you only care about Layer 0 (the collision...
  115. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    Just an FYI that I'm working on an SDK for plugging in new objects to the system. It's mostly for extension developers who want to specialize the API exposed by their objects, but it would also...
  116. Replies
    14
    Views
    7,846

    Re: Is LUA good for user scripting in games?

    XLua uses hooks for backtrace reporting, so maybe you'll have to turn that off first? XLua also provides an alternative hard sandbox that exists in a separate state, although it may not be the best...
  117. Replies
    14
    Views
    7,846

    Re: Is LUA good for user scripting in games?

    Okay ... how do I even tackle this...

    First, why Lua+ and not XLua?

    Second, people tell you Lua will do what you want because it will, or it will be very close within reason. Some of the...
  118. Replies
    61
    Views
    10,973

    Re: Power Registry Object

    No, you are building rsdk.mfx .. that is your extension. This error occurs most frequently when you've already built the extension and you have a project open in MMF using that extension, so the...
  119. Replies
    61
    Views
    10,973

    Re: Power Registry Object

    Visual C++ 2008 Express is free from Microsoft.
  120. Replies
    18
    Views
    3,168

    Re: Background Images object instancing?

    Is this problem strictly to do with setting OEFLAG_BACKGROUND?
  121. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    It's totally separate from anything you'll be using and it's undocumented. If you're still having problems with documented stuff then maybe there's a bug.
  122. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    Oh man, I forgot, there's a bug in that release that made all the enumeration values (mmf.VK_*, mmf.MOUSE_*, etc) disappear.

    http://hocuspocus.taloncrossing.com/rii/mmfi.zip

    Try that ......
  123. Replies
    569
    Views
    177,380

    Re: Surface Object

    I always forget all those little things ... makes me wish I started documenting all of it as I went along.
  124. Replies
    2
    Views
    2,803

    Re: Setting Up MMFI

    Load C Module action is the foolproof way to load libraries because it doesn't care where you put them.
  125. Replies
    6
    Views
    947

    Re: Integer to String in C++

    Just be careful not to stick it in a tight loop or a function that's called frequently. Constructing stringstreams is expensive.
  126. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    To be honest I've never used the feature and I don't know how it works. Maybe you're not using it correctly. Or maybe some other part of LuaGL is failing.

    Can you find any example references of...
  127. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    The irony is most of the implementation effort went into enhancing the table support as well.

    In fact once the next update is posted, if you want to still use tables for passing VBO data, you'll...
  128. Replies
    226
    Views
    66,050

    Re: OpenGL - 3D Sprites extension

    yeah it's only for opaque images that aren't supposed to have a soft edge. You would have to turn it on and off between drawing opaque images and transparent images.
  129. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    This is independent of Texture bank. I don't know the details of the texture bank implementation so I can't comment on it. Once textures from texture bank get loaded into video memory, you should...
  130. Replies
    226
    Views
    66,050

    Re: OpenGL - 3D Sprites extension

    Use an alpha test like GL_GREATER with a threshold of something like 0.95.
    http://www.opengl.org/sdk/docs/man/xhtml/glAlphaFunc.xml

    It's still not a perfect solution, but I'm unaware something...
  131. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    http://hocuspocus.taloncrossing.com/rii/xluagl-dev.zip

    Give that a try. CopyTexImage, CopyTexSubImage, TexImage, and TexSubImage have been eliminated, and replaced with:

    CopyTexImage1D...
  132. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    For the record I've started working on this again, though currently I'm at a snag trying to get textures to render at all.

    Edit: Things are starting to pan out now. You'll now be able to specify...
  133. Replies
    5
    Views
    3,426

    Re: New static array module

    As soon as Friday passes I will have considerably more time to devote to fixing up my extensions.
  134. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    Thanks. I will look at it soon; I have a nasty (mock) grant proposal to get out of the way by Friday first.
  135. Replies
    6
    Views
    4,035

    Re: String Comparisons In Lua Code?

    function Go()
    if myStringTest == "working" then
    stringWorks = "it works"
    else
    stringWorks = "it does not work"
    end
    end

    ?
  136. Replies
    5
    Views
    1,128

    Re: MMF2 will not add extensions

    Fusion Updater is a bad idea in general unless you can't find the extension anywhere else.
  137. Replies
    28
    Views
    12,019

    Re: LuaGL Bug Topic

    Can you give an example? And this goes to everyone: If you can build an opengl example using the functionality in the way that you think it should work, it can make fixing bugs significantly faster...
  138. Replies
    226
    Views
    66,050

    Re: MilkShape 3D model extension

    I've put up a thread for collecting all the LuaGL problems: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=186425&#Post186425

    I may have to do another round of...
  139. Replies
    28
    Views
    12,019

    LuaGL Bug Topic

    Please use this topic to list all functions in LuaGL that are not working (please provide an example for each problem!), or important functions that are absent.
  140. Replies
    30
    Views
    6,214

    Re: Server extension

    I think we both would like to see a Lua binding to the extensions and/or lacewing directly. But it's a matter of having time to work on one.
  141. Replies
    226
    Views
    66,050

    Re: MilkShape 3D model extension

    There is a known problem with glTexSubImage in LuaGL. The original LuaGL author made a lot of errors and dubious design decisions. I haven't had time to fix it yet.
  142. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    Check the examples for the old OpenGL object, and if you can't get it working, send an example. OpenGL calls that rely on memory being setup ahead of time are one area that I cannot protect against...
  143. Replies
    54
    Views
    13,719

    Re: Active Shape object

    Please send an example.
  144. Replies
    54
    Views
    13,719

    Re: Active Shape object

    Why do you need it to update more frequently than once per frame? It does defer rebuilding the object, because it's relatively expensive to rebuild and MMF will only display an updated version once...
  145. Replies
    5
    Views
    3,426

    New static array module

    I've had a couple versions of the static array library floating around already (and maybe under different names). In a nutshell, it gives you pre-allocated C arrays that look like Lua tables, but...
  146. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    Well, this isn't really supposed to be an XLua support topic, but if you could compile a list of all the functions that are missing or not working correctly (or that you're not sure how to use),...
  147. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    I may be able to look at it this weekend but it's not a guarantee.
  148. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    If you're trying to do that through the XLua object, it's because that function doesn't exist (at the moment, anyway).
  149. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    I haven't forgotten anyone's bug reports (I think... I hope!), in fact some of them are already fixed, but a release is still probably 1-2 weeks out, due to some major changes on the back end. Or I...
  150. Replies
    6
    Views
    3,530

    Re: Effects And Windows Features?

    I'm not sure I understand your question. Change effects directly, perhaps? There's not really much additional to do, since XLua has almost nothing to do with the rendering runtime.
  151. Replies
    6
    Views
    3,530

    Re: Effects And Windows Features?

    The Windows stuff might get expanded as a separate module (I'm really moving in the direction of lightening the XLua core). However unless it's something you're manipulating constantly, just using...
  152. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Well, it's one of the first mechanisms I wrote in XLua, before I understood much about the C API, upvalues, etc.
  153. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    for the record, that's how function registration works anyway, so the efficiency between the two methods is the same.
  154. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    XLua could probably benefit from more examples in the distribution.
  155. Replies
    21
    Views
    3,201

    Re: Modem object - where did you go!?

    Specialized applications I guess. For the same reason my brand new Thinkpad still comes with an RJ11 port on it.
  156. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    There's no point trying to dig around for the actual LuaGL documentation online, because the XLua flavor of LuaGL is so different now. I should really just be calling it XLuaGL or something. ...
  157. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    The documentation that comes with XLua has a page will all the supported opengl commands and their argument lists. Definitely have a look at that.

    You do need some familiarity with the opengl API...
  158. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    The newest versions of XLua should be backwards-compatible. If not, well, that's my bug, not yours :)
  159. Replies
    22
    Views
    3,087

    Re: FusionUpdater for Japanese version of MMF2

    You'll have to contact Sphax directly, as these are his extensions, and he's the maintainer of fusion updater. I'm afraid he's got you by the short hairs on this one and you have no other recourse....
  160. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    Long live the MIT license.
  161. Replies
    10
    Views
    4,045

    Re: MMF interface, faster?

    rt = {}
    objects = mmf.newObjectClass("Active").objectList

    for i,v in ipairs(objects) do
    local id = v.values[mmf.ALT_A]
    rt[id] = v
    end
  162. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    I don't think it's allowed. LGPL also does not allow static linking. And since your extension ends up required to license under the GPL, I believe it will continue trickling down to any application...
  163. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Yes, I did say it would be forthcoming .. but it hasn't come yet :) Fear not, I haven't forgotten, I've just been holding off while it was in a state of flux, and until I can provide a good example...
  164. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Thanks, I'll try to look into it within the next few days. It looks like there might be some other crashing problems when using older scripts, so I've got a few more corner cases to fix.

    But,...
  165. Replies
    4
    Views
    1,678

    Re: Eh, what the?

    Okay, I see, it's the same problem I described but it's the example's fault, not the extension. Apparently I haven't updated the example. If you look at XLua's properties, "Print Events" and "Error...
  166. Replies
    4
    Views
    1,678

    Re: Eh, what the?

    Your examples run fine for me.

    Are you by any chance using a copy of XLua from fusion updater? That version is nearly a year old, far less mature and riddled with bugs and limitations. I don't...
  167. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    I'd try and help you out on the preview thing if I didn't have so much other work bogging me down. Even my extensions projects are at a complete standstill now :(
  168. Replies
    10
    Views
    4,364

    Re: How pause a lua script in xlua?

    It works for me ... maybe they require you to be registered and logged in?
  169. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    all variables are global unless you specify the "local" attribute.

    You could also pass the calling name or function as an extra parameter.

    Either of those choices I think would be better than...
  170. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    There's no other way, unless you want to try and keep track of it yourself :)
  171. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    You should be able to do it with the debug library, e.g.:

    debug.getinfo(2,"n").name

    Where 2 represents a level in the call hierarchy (0 would be getinfo itself, 1 would be your current...
  172. Replies
    27
    Views
    4,475

    Re: [Req]Custom User Code Object

    Lua is a dynamically typed language, akin to JavaScript, Python, or PHP. Internally, everything is stored in a double, or a table (an efficient ordered map .. think PHP associative arrays).
    ...
  173. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Version 1.5b3 (beta 3): http://hocuspocus.taloncrossing.com/rii/xlua-dev.zip

    In this update:

    - Fixed regression in previous build that caused string-based callstack operations to fail.
    - The...
  174. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    I'm sorry, I introduced a regression with this build that Corentin pointed out to me last night, I'm working on the fix.
  175. Replies
    9
    Views
    1,893

    Re: MMF2 and .net Script bombs

    Honestly after years and years we still don't have an acceptable extension repository IMO.
  176. Replies
    27
    Views
    4,475

    Re: [Req]Custom User Code Object

    Unless you have an example of what is so difficult to do in XLua that is so easy with a C syntax extension, I just can't see your argument. Personally I get the feeling that you see then/end replace...
  177. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Version 1.5b2: http://hocuspocus.taloncrossing.com/rii/xlua-dev.zip

    This is a small update that adds:

    - Ability to rename scripts in the editor
    - code folding in the editor
    - You can now...
  178. Replies
    21
    Views
    3,201

    Re: Modem object - where did you go!?

    Some devs send their source code to Clickteam for that reason, but I'm not sure how many.
  179. Replies
    8
    Views
    1,613

    Re: Where do i download extensions

    The Neatwares list is painfully out of date :/ Even though I like it better than fusion updater.
  180. Replies
    27
    Views
    4,475

    Re: [Req]Custom User Code Object

    There are marked differences between Lua and C. However, Lua is not a complex language by any stretch. This is the kind of stuff Lua was designed for.
  181. Replies
    27
    Views
    4,475

    Re: [Req]Custom User Code Object

    I'm not sure I understand where you're going with this. XLua is already a viable bridge between MMF and almost limitless C Module capabilities. What then would this extension do that couldn't...
  182. Replies
    54
    Views
    13,719

    Re: Active Shape object

    It's on my list .. I just don't have much free time this semester.
  183. Replies
    8
    Views
    2,561

    Re: Few Extension in MMF 3

    It's a tradeoff. If you're going to use the functionality of multiple extensions, you'll gain by reducing the per-unit overhead of separate extensions. In terms of executable size, it's fairly...
  184. Replies
    10
    Views
    4,364

    Re: How pause a lua script in xlua?

    Yes, it's not my example. In fact I didn't even port it, I just fixed some bugs! So credit to where credit is due, but regardless I think it's a helpful example.
  185. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    Well if it's crashing in XLua, it doesn't matter how bad your code is ... it should never crash.
  186. Replies
    226
    Views
    66,050

    Re: OpenGL collection

    I was able to use VBOs on the old OpenGL object. In fact you could try copying my code over from the OpenGL example included with XLua, and see if it crashes.

    Sorry, I haven't been able to look...
  187. Re: Calculations in MMF2 code - It's not working, help

    Some of us just prefer the Windows Classic theme.
  188. Re: Objects Overlapping with same Qualifier bug?

    Personally I consider it a bug and another failure of the event/condition system to actually work in a logical and consistent manner. The fact that an object, e.g. "powerup" does not exist, does not...
  189. Re: Objects Overlapping with same Qualifier bug?

    The point exactly is that if events 1 and 2 pass, but event 3 fails, then logically event 5 must pass. You could also say that if event 1 passes and event 4 fails, then again event 5 must logically...
  190. Re: Objects Overlapping with same Qualifier bug?

    I wasn't posting a solution, nor do I know if it's the same problem. I'm just posting it as an example that there are bugs with qualifiers and overlap tests.
  191. Re: Objects Overlapping with same Qualifier bug?

    There are problems with qualifiers, but I don't know if this is the same problem you're having or not. However it's something I encountered in another person's project and if you check the logic...
  192. Replies
    12
    Views
    8,555

    Re: Array/Table save and load in LUA

    Arrays do have fixed IDs. They are accessed from the expression menu. There are other ways to get at them but in this case a fixed ID would be the most straightforward.
  193. Replies
    12
    Views
    8,555

    Re: Array/Table save and load in LUA

    I have tried adding limited support for modifying MMF Array objects directly to the experimental MMFI: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=176317#Post176317
    ...
  194. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    http://hocuspocus.taloncrossing.com/rii/mmfi.zip

    Updated to include the remainder of the collision detection methods. Also contains support for Array objects.

    http://jaquadro.homedns.org/~xlua...
  195. Replies
    424
    Views
    268,776

    Re: XLua extention beta

    Whoops, I forgot about your query.

    Offhand, I'm banking on HWA. Have you tested the function in standard mode?
  196. Replies
    10
    Views
    2,473

    Re: LUA scripting for Server

    Some people just prefer lua to python. It's an opinion thing. To be honest I'm still struggling to learn Python at a proficient level.

    I probably wouldn't pursue lua for a full server...
  197. Replies
    4
    Views
    987

    Re: Extension documentation

    They are all part of the main MMF help file.
  198. Replies
    33
    Views
    17,559

    Re: Object-based MMF Interface

    Heh, so it doesn't. I have more stuff to update in the help file anyway. At the moment I haven't been announcing updates to the DLL, but there's more collision detection stuff for example than...
  199. Replies
    12
    Views
    8,555

    Re: Array/Table save and load in LUA

    MMF arrays, if my information is correct, should store numbers as compactly as array.dll, or the binary object. What you don't get is flexibility over the width of the numeric type.

    Of course, an...
  200. Replies
    12
    Views
    8,555

    Re: Array/Table save and load in LUA

    zellix shared some information with my on the subject. It might get added.
Results 1 to 200 of 500
Page 1 of 3 1 2 3