User Tag List

Results 1 to 5 of 5

Thread: EXC_BAD_ACCESS error when using INIs

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    magj3k's Avatar
    Join Date
    May 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    EXC_BAD_ACCESS error when using INIs

    I'm having trouble storing data in my iOS application. In my current project, I'm trying to save a value via the INI object, then have that value trigger an action. The first frame of the app sets the INI filename to "slot0.ini" and value to 1, then in a later frame, I'm trying to trigger an action based on whether or not the INI file's value is 0. Everything works fine in Windows, but when I run it through Xcode an EXC_BAD_ACCESS error occurs and redirects me to "type = value->type;" in the CValue.m file.

    I've made an app before where everything works fine, for some reason. The player's score increases throughout the game, constantly changing the "score.ini" file to the current score. In a different frame, a Congrats message appears if the player's score is a highscore. This method uses a trigger based on INI values and works totally fine, unlike my current project.

    I'd really appreciate anyones help! Thanx

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Can you send us your application, the associated INI files, and instructions on how to crash it?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    magj3k's Avatar
    Join Date
    May 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the link:

    http://www.magmhj.com/Project.zip

    It includes the .mfa file and the current Xcode project. The INI file is saved at the Start of the first frame. When you tap on the Load or Import buttons (they go to the next frame), that's when I get the error described above. Supposedly, if you get to the Load/Import frame, the arrow/Back button should turn pink if the INI value isn't 0.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    OK juste tested your app with the latest version, I get no crash. So this problem must have been corrected.
    We will publish a new beta within days.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    magj3k's Avatar
    Join Date
    May 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! Downloading the latest beta of the iOS exporter fixed the problem.

Similar Threads

  1. Beta 9: EXC_BAD_ACCESS
    By Renatos in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 30th May 2012, 06:53 AM
  2. Exc_bad_access
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 13th December 2011, 01:38 PM
  3. Exc_bad_access
    By Harry))) in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 31st October 2011, 03:11 PM
  4. Further help with INIs
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 0
    Last Post: 27th November 2010, 07:49 PM
  5. EXC_BAD_ACCESS
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 29th October 2010, 08:09 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
  •