User Tag List

Results 1 to 7 of 7

Thread: OINC Still Crashes On Closing Application

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    OINC Still Crashes On Closing Application

    I hate to point out two bugs in one day, especially since this could be a problem on my end. My Connect 4 Online game is crashing whenever the frame that houses the actual game is ended, either by jumping to another frame or closing the application. Also, when one player ends his/her game, the other player gets an error message: "Got invalid client ID." I isolated the problem to line #7:

    +Start of Frame
    -OINC Client: Connect to server [server] on port [port]

    If I delete that line, the issue goes away, but it's pretty important for my game to work. Is this a bug or a careless mistake on my part?

    EDIT: I also found that when on the "lobby" frame, if you try to disconnect or quit after signing in a second time, the game crashes also.

  2. #2
    No Products Registered

    Join Date
    Nov 2008
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: OINC Still Crashes On Closing Application

    You should get a job as bugtester somewhere.
    Jamie is aware of this bug, the disconnecting / shutting down part of OINC causes applications to crash.

    It does not always happen for me, but it does too often.

    Stopping the server in MMF and using the OINC exe server often crashes it on shutting down. Same for the client.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: OINC Still Crashes On Closing Application

    Okay.. new build later today or tomorrow I think. Try disconnecting at the end of the frame - OINC is global, so if there's no OINC object on the next frame and it's still connected that could cause problems.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: OINC Still Crashes On Closing Application

    The "Got invalid client ID" bug is server-side, not client-side. I'll send a new build of the server to Mark later.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: OINC Still Crashes On Closing Application

    On any frame with OINC, I did make sure to include an end of frame->disconnect event. Also, I get the "Got invalid client ID" error when using my own server as well. Will the new build of the server be included in the next build of the OINC client?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: OINC Still Crashes On Closing Application

    It'll be included in the next OINC.zip, yup.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: OINC Still Crashes On Closing Application

    Thanks Jamie for the new build! It fixed both instances where my game crashed. However, it also created a new problem. In the lobby frame, when a player accepts an invitation, the other player's game freezes and crashes. I tested this with the new server build as well.

    EDIT: This problem is corrected when I delete the "OINC: Disconnect" event under the condition that the invitee receives confirmation of a game start. Also, since the last build, the players' boards sometimes become unsynced, especially if they are playing fast.

Similar Threads

  1. Test application not closing down properly
    By LobsterKing in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th March 2013, 06:13 PM
  2. onu crashes application
    By itsa_doozy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th March 2013, 06:13 AM
  3. Build Application crashes when trying to run a sub-application
    By Arnax in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 10th July 2012, 04:17 AM
  4. Replies: 1
    Last Post: 12th September 2009, 12:21 PM
  5. OINC Crashes on me :(
    By Tim in forum File Archive
    Replies: 7
    Last Post: 7th September 2009, 03:58 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
  •