User Tag List

Results 1 to 6 of 6

Thread: Wild crashing (Unicode version)

  1. #1
    RayMarble
    Guest

    Wild crashing (Unicode version)

    I have an almost empty frame (3 events and 3 objects) that randomly crash TGF2 runtime.

    Files (I'm also attaching a screenshot in case guys without Unicode version are curious).

    Here's how to crash it:

    (Start the application.)

    Press Space once.
    Press "Z" a few times to increase Player 1's score to 10k+.
    Press "Enter" to go back to the starting frame.
    The HighScore requester appears.
    Wait a bit (5-10 seconds).
    Type your name, press Enter.
    Wait a bit (5-10 seconds).
    Click LMB once.
    Wait a bit (5-10 seconds).
    Click LMB once.
    Wait a bit (5-10 seconds).
    -repeat from step 1

    Sometimes it crashes on first try, sometimes on second or third but it always crashes. I guess sme of these steps aren't necessary to make it crash but that's what I currently have...

    Edit: grrrr now it just doesn't want to crash anymore >_<

  2. #2
    RayMarble
    Guest

    Re: Wild crashing (Unicode version)

    ok just so it doesn't look like I'm making this up, I captured a video of the thing in action :^)

  3. #3
    RayMarble
    Guest

    Re: Wild crashing (Unicode version)

    Can anybody with Unicode version confirm this? I'm still completely clueless as to why exactly is it crashing. I suspect the resetting of the High Score object is causing it but I have no idea what to do about it.

  4. #4
    RayMarble
    Guest

    Re: Wild crashing (Unicode version)

    After tons of experimenting I still didn't manage to not make it crash - at this moment I'm fairly convinced it's the High Score object that's causing it.

    If anybody from CT wants to take a look I have a stripped down version of the software.

  5. #5
    RayMarble
    Guest

    Re: Wild crashing (Unicode version)

    ok discovered what was crashing it. The thing was falling apart so badly even the debugger got stuck. After lots of fiddling with all kind of settings, from probably irrelevant ones like Create before Frame Fade In (it's a Flash type build so frames don't even have transitions) to "Display as background" and "Check High Score at start" etc etc I finally found out what's wrong. Here are is all the code from the frame:

    (try to guess where the problem was, if you can't the solution is on the bottom of the post, select the text to see it)

    .Start of frame
    +Player 1 has a hiscore
    =play sample (some sample on some channel)

    .Upon pressing any key
    + ( pressed "Esc"
    =Next frame

    Solution:
    [color:#FFFFFF]After removing the "Start of frame" TGF2 can cope with this complex piece of code and doesn't crash.[/color]

    After removing the crash-causing part, I discovered another way to crash it:
    substitute "play sample"
    with "reset highscore"
    (fortunately I don't plan to use it and it makes no sense to have this in game, I was just trying to see how buggy the object is)

  6. #6
    Clickteam Clickteam

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

    Re: Wild crashing (Unicode version)

    You are right, there is a bug in the Reset Hi-Scores action in the Unicode version. It will be fixed asap.

Similar Threads

  1. Can't install UNICODE version - need CT help.
    By Yos in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th November 2012, 03:33 PM
  2. Version unicode
    By imported_weiman in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 17th February 2012, 06:49 PM
  3. [TGF2 Unicode] wild crashing
    By RayMarble in forum File Archive
    Replies: 1
    Last Post: 10th August 2010, 12:10 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
  •