User Tag List

Results 1 to 4 of 4

Thread: App crash because of non declared AA-AZ alterable values

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)

    App crash because of non declared AA-AZ alterable values

    So, i use an alterable value from AA to AZ in an event for an object but that i havent declared the value before, the app will crash (java.lang.ArrayIndexOutOfBoundsException).

    For example:
    Code:
    + Run this event once
       - Set direction of Active object to alterable value AA of Active object
    This will make the app to crash.

    I need to do that for it to work:
    Code:
    + Start of frame
      - Set alterable value AA of Active object to 0
    
    + Run this event once
       - Set direction of Active object to alterable value AA of Active object
    There is no need to do that for standard alterable values (A-Z), and there is no crash on Windows.

    PS: Seems to also crash on iOS but not instantly, it seems that you need to repeat the event a few times before it crashes.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,289
    Mentioned
    150 Post(s)
    Tagged
    2 Thread(s)
    Just a comment about this, this is correct, it crashes, however in the editor you cannot get the "Alterable Value AA" expression if the value isn't defined in the object, as only the first 26 values are displayed in the menu in this case.

    So I guess you copied & pasted the expression from another Active object where this value is defined, or deleted the value after you have defined it.

    We could fix it, but as this expression is usually a lot used, verifying if the validity of the parameter could impact (a bit) the performance, so I'm not sure we'll do it.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yves View Post
    Just a comment about this, this is correct, it crashes, however in the editor you cannot get the "Alterable Value AA" expression if the value isn't defined in the object, as only the first 26 values are displayed in the menu in this case.

    So I guess you copied & pasted the expression from another Active object where this value is defined, or deleted the value after you have defined it.

    We could fix it, but as this expression is usually a lot used, verifying if the validity of the parameter could impact (a bit) the performance, so I'm not sure we'll do it.
    Thank you for those informations, in fact, i just write the alterable values in the editor, so i choose value A and add the A to get AA. Didn't knew it was not allowed.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,289
    Mentioned
    150 Post(s)
    Tagged
    2 Thread(s)
    I see. We might have to fix it then.

Similar Threads

  1. Replies: 9
    Last Post: 15th February 2016, 11:50 PM
  2. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 07:15 PM
  3. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 08:14 PM
  4. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 02:59 PM
  5. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 07:38 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
  •