User Tag List

Results 1 to 6 of 6

Thread: INI not updating when it is called to

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2022
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    INI not updating when it is called to

    I am currently trying to set the night system, the new game function, and the 6 AM screen of a FNAF fan-work to update the ini when certain events happen. I have placed a debug counter to check, along with checking the debugger. When clicking on "New Game" with the code set to update what the current Item is, it updates, but it does not change the value to "1". I am unsure about the others.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,368
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Please post a small mfa example only with INI process to check
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2022
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    halp.mfa this is the attachment

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jul 2022
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone else help with this?

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    358
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    INI not updating when it is called to

    halp.mfaINI not updating when it is called to

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleMac Export Module
    tobydavis's Avatar
    Join Date
    Apr 2019
    Location
    United States
    Posts
    47
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It worked fine for me, but I think I know why it didn't work for you. If you look in the Event List Editor instead of the regular Event Editor, you can see the order in which your commands are executed. When it comes to setting and loading variables like this the order is important. Under your "User clicks with left button on 'NG HitBox'" condition, you can see that the first event to be executed is the one that switches the application to a new frame, which gives the variable and INI object no time to update. If you move your "Jump to frame" event down to the bottom of that list for that condition in the Event List Editor (click and drag), it will execute last and the variable will be set in both the INI and Debug counter before switching frames. The reason it worked in the example file you gave if because the frame that the "Jump to frame" event has been deleted and this cannot be accessed by the application, this will cause the application to execute the rest of the items under that condition since the frame didn't change like it would in your application, which likely still has that missing frame. I've attached a screenshot and example file of the new order and replaced the missing second frame, which will pull the value of "Night" from the INI file once it is switched to in order to show that it worked.

    Example File: halp.mfa

    Old order:
    old_order.PNG

    New order:
    new_order.PNG

Similar Threads

  1. How to write an ini in android (i prefer to called as they are xml)
    By Fernando in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 25th February 2013, 07:07 PM
  2. time management games (or whatever they're called)
    By Ahiru in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 23rd January 2013, 04:51 PM
  3. What would this game feature be called?
    By ratty in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 23rd August 2012, 01:07 AM
  4. MMF2 - what is the white area called.
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th September 2008, 05:30 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
  •