User Tag List

Results 1 to 7 of 7

Thread: Crash at exit/ switching frames

  1. #1
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Crash at exit/ switching frames

    'Ello, all.

    Sorry for the very broad question, but I'm wondering what kinds of things could cause MMF2's Runtime to crash when exiting or when switching over to different frames within the game (not the editor itself). Trying to troubleshoot a problem I've been having for a while, and I thought it'd have to do something with sound or music playing, but it doesn't seem like it at all. Everything else about the game during gameplay works perfectly fine also.

    EDIT: Alright. Scratch all of that... Or most of that. I have an event that, at the Start of the Frame, it defines an object in an area to have a set amount of alterable values. Disabling it won't make the object work right, but it gets rid of the crashing problem...

    Is there any way to see in the code what is making it crash? Oddly enough, defining a duplicate of the object in the exact same manner but in a different location causes the game to work fine. It's as if the object is cursed or something. Heh.

    Think I narrowed it down. I have active objects that are given Alterable Strings at the start of the frame. It works perfectly fine in the frame, but switching frames or quitting causes the runtime to crash. Is this a known issue?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash at exit/ switching frames

    sounds like you should post the MFA, at least for clickteam to look at....

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Crash at exit/ switching frames

    Crashes may happen if the frame has a fade-in transition and you use an expression of an extension object in a Start of Frame event (by default extension objects are created only when the transition ends). To fix it, select the extension object and check the "Create before frame fade-in transition" option in its properties.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash at exit/ switching frames

    What's odd is that I have no idea how to fix it other than disabling the triggers that start it. And I've found out that it doesn't even need a "Start of Frame" trigger. Pretty much, if the objects are given values at all, it'll cause a crash when trying to exit or switch frames.

    It's an active object that's being picked within a range (Pick all objects in zone x,y to x,y) and then given alterable values and alterable strings. All the other code dealing with the object doesn't have a problem, even when running in the frame.

  5. #5
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash at exit/ switching frames

    Pinpointed the problem, and I have no explanation for what makes it crash. At all. For the active object, I renamed Alterable String B to Scan_Info and gave it a value of "The door is closed." This can be defined at the start of a frame or any time during the frame like "Access granted," for when it's opened, but if the value for the string is anything but empty (""), it'll cause the game to crash upon exit...

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Crash at exit/ switching frames

    Could you upload an example? I don't see very well what you mean.

  7. #7
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Crash at exit/ switching frames

    Sadly, I can't. It's an adventure game that's a really big project file. Most of my games are big, now that I think of it. o.o

    I was hoping that MMF2 could generate an error log or something.

Similar Threads

  1. Switching between frames movement bug
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th August 2013, 05:18 AM
  2. Strange app behavior -- crash on exit?
    By Cybert9 in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 25th February 2012, 04:27 AM
  3. Why is it flashing when switching frames?
    By RayMarble in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 10th March 2009, 10:31 PM
  4. Saving states when switching between frames
    By Maggott in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 26th September 2008, 12:18 AM
  5. question when switching frames
    By Jikito in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th November 2007, 05:58 PM

Posting Permissions

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