User Tag List

Results 1 to 7 of 7

Thread: Crash and error problem with Get object or String Parser

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Crash and error problem with Get object or String Parser

    I am trying to finish my current game but I have run into a really annoying problem with getting crashes (in runtime) or other strange things happening in regards of my custom highscore (I followed the highscore guide).
    The thing is that the custom highscore seem to work well on its own, but when I imported it into my app (which have over 2000 event lines) I started getting problems and they seem to occur very random.
    About maybe 5-10% of the time I get a crash and mmf stopping to respond when loading the highscore. Also for some reason the event that is supposed to write out the highscore table actually sometimes writes out the a line of the score and secret code of the php script.
    I have posted a picture here where the events to the left are the ones that are loading at the start of the game. The events in the right field are the events that fire when you press the submit button for a score:

    https://dl.dropboxusercontent.com/u/...Public/000.png

    You may have to zoom in a bit to see. The green text is the actual text that is being written out. It consist of the game id,name written to submit,score and secret key.

    I have tried a lot of things, moving events around but it still seem very unstable. Do anyone have any suggestions or can spot any errors or things I should try to change in the code?
    Getting really desperate now because I cant seem to get this to work properly and stable :/

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Your code seems okay to me. I was going to suggest that you could add a check to make sure two GET actions are not ever executed at the same time, but it seems you are allready doing that.
    Personally I like to have the GET object working on a frame for itself. I just transfer the score to another frame, and do the uploading there.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Popcorn View Post
    Your code seems okay to me. I was going to suggest that you could add a check to make sure two GET actions are not ever executed at the same time, but it seems you are allready doing that.
    Personally I like to have the GET object working on a frame for itself. I just transfer the score to another frame, and do the uploading there.
    You mean I could try to have a frame before the main frame where I do the events that are displayed on the left column in my picture? Will it be carried over between frames?

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    A little update. It seems the writing out of the info like the secret code and all that have been solved (I hope), but I still get a crash when submitting the score about 20% of the time :/

    Hm no update again, I could submit score nomrally about 10 times but now it wrote out in that strange way with the secret key info again. It seems very random..

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Popcorn View Post
    Your code seems okay to me. I was going to suggest that you could add a check to make sure two GET actions are not ever executed at the same time, but it seems you are allready doing that.
    Personally I like to have the GET object working on a frame for itself. I just transfer the score to another frame, and do the uploading there.
    Ok another update. I did actually put the loading of the highscore on a frame before the main frame now (The events to the left in my picture) so the highscore table is all ready and displayed when I go to the next frame. However now the writing out of the secret key and all instead of the actual table happens every time I press the submit button (the right picture events). Must be some reason to this? :S

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    It is hard to see what's going on here. Do you check what's actually been recieved by the Get object? I just suggest to try to find out what's causing the error. Either it is the server, the Get object or the string parser..

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Popcorn View Post
    It is hard to see what's going on here. Do you check what's actually been recieved by the Get object? I just suggest to try to find out what's causing the error. Either it is the server, the Get object or the string parser..
    It is hard to find though when it seems so random :/ I actually thought it was solved now, I played like 20 times and it all was fine then one time all of a sudden a crash. I did not do anything different :/

Similar Threads

  1. Bug/Crash in string parser!
    By SirEatAlot in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 19th March 2013, 06:01 PM
  2. String Parser 2 crash when load CSV file
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th December 2011, 07:02 AM
  3. Beta 12: String Parser 2 Crash
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 28th February 2011, 07:12 AM
  4. Beta 14: String Parser 2 + Frame Changing = Crash
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 24th February 2011, 05:07 PM
  5. Beta: 11 - String Parser 2 Crash
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 23rd January 2011, 10:52 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
  •