User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Unable to edit embedded code

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unable to edit embedded code



    Issue:
    The embedded code's window does not appear, disabling me from reaching my own code. Code still runs properly, though.

    How it happened:
    I wanted to share the same xLua object through 3 frames. I copied the xLua object I had with written code to all 3 frames, and it worked like a charm.
    However I quickly discovered that an edit in one object didn't carry over to the remaining in the different frames. I tracked down the xLua object that contained the code which was being used (turns out to be the last created of the objects).
    Then I emptied the other objects so I wouldn't accidentally spend hours writing in the wrong object.

    After restarting MMF2, the window now appears as seen in the screenshot above. I'm unable to reach the code.

    Help needed!
    Mecha the Slag


  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to edit embedded code

    The first thing i would try is replacing the object with another Xlua. Add another Xlua to the frame and in the event editor right click where you see the icon at the top and then select "Replace by another object" and then select the other Xlua.

    If that doesn't fix it make sure to not overwrite though. Maybe also downloading the object again and replacing the main extensions, i doubt that would be it though.

    There is also the .001 etc backups which you can rename back to mfa if you have them but again i am not sure if that would help but worth a try i guess.

    If you are lucky the replace with another might work, if not then i guess only Retriever2 can help.

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to edit embedded code

    1) That... wouldn't work. My scripts would still be stuck, irretrievably, inside the original xLua object.

    2) Yeah I have the newest version already D:

    3) The bug persists in all of my 10 latest backups - as I mentioned, it didn't occur until I restarted.

    The only way out of this mess as far as I can see, is getting RII to add some kind of 'export' button so that I can export all my scripts... but I have no idea if he's even active here anymore.

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Unable to edit embedded code

    Wait - don't tell me this is the first time you encounter this. I've had this problem for months. It *always* happens - it's so annoying that I kind of lost any motivation to use the extension's inbuilt script editor at all

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to edit embedded code

    I've been using external files up until this project so I had no idea really.

    Someone should definitely get a hold of RII!

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to edit embedded code

    Sorry that was not much help

    This was posted recently (Possible Java XLua) -

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=221923#Post2219 23

    So i think Retriever2 is still active here, hopefully you will be able to sort this.

  7. #7
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 almost every day explicitly so I can continue to support XLua. Also you of all people Mecha should know how to get hold of me if you need to.

    Interesting bug, could you please send me your MFA file (or try to reproduce the problem following your own steps as described?) XLua objects across frames (especially copied) is an area that hasn't been probed deeply so clearly it needs a little work still.

    I promise everyone here that the day I am no longer willing to support XLua, I will announce that fact and offer the source code to the community to continue maintaining it. Even if I get hit by a bus tomorrow, Clickteam still holds a copy of the source.

  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Unable to edit embedded code

    Really? Wow, I was pretty sure that I reported this bug on Gwerdy Chat quite a while ago, and you thought you had fixed it, but you really didn't - must be mixing something up then. Anyway, good luck fixing this one, would be pretty awesome!

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,913
    Mentioned
    116 Post(s)
    Tagged
    2 Thread(s)

    Re: Unable to edit embedded code

    Hi Retriever,

    Sorry to bump in this, but i get the same issue as mentioned here, you may see this way,

    Open the "OpenGl" example and you get the 1 in the editor.

    close the example and

    Open the "socket" example and choose to edit and you will that the edit control (or scintilla) in not available.

    Also i wonder if you build any of the lua library concerning sqlite (luasqlite-0.4.1 or lsqlite3.7 or luasql2.1.1)

    Regards,

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 offer).

Page 1 of 2 1 2 LastLast

Similar Threads

  1. XNA Edit box object error code 4
    By Sloxone in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 30th November 2012, 10:50 AM
  2. Embedded font doesn't show in edit box?
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 5th November 2011, 07:43 PM
  3. games embedded in e-mail?
    By JollyPanda in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th September 2010, 09:04 PM
  4. embedded highscores
    By life2searching in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 14th April 2010, 11:48 PM
  5. MMF2 - Event Code Copy and Edit
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th August 2008, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •