User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: ini++

  1. #1
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ini++

    i can not get the load global values to work no mater ****ing what.

    i have seen all tutorials and none of them has helped me.
    i have had this problem ever since January.

    I have used the example from nivrhams website.
    it works for his.

    i do the EXACT same code but replace the condions with Start of frame
    and it wont work

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    That sounds interesting. Could you please upload the mfa file?

  3. #3
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    i would love to.

    here it is

    http://www.mediafire.com/?sharekey=fc56faa2f558a16667cd7f7bd65f7eefe04e75f6 e8ebb871


    All other loading works perfectly.

  4. #4
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    Basically this is what i am trying to do

    1.Player clicks on load file. Frame jumps to "Campsite", and loads the ini
    2.Put all global values that were saved in ini++ into mmf2's global values
    3.If user saves, save data.
    4.If user wants to load something, load data

    The problem is step 2
    It always crashes.

    If the user exits out of the application, i want to be able to retrieve values from the ini

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    I'm pretty sure I read somewhere not to use data from Ini's on start of frames... I really don't remember but I had some problems with the ini using start of frames to save/load for sure... try instead having the start of frame do something and the next event test for that thing to be done and then save/load or something. I don't have time right now to test...

  6. #6
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    ok i will give that a try.

    also when i do load ini, it doesnt seem to work

  7. #7
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    didnt work.
    apparently, it only happens when it is my ini

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    I know why it crashes when you close it.
    Under saving and loading where you have:
    Load = "Yes"
    OR
    New_File="No"

    It is continually running this action every mmf loop. Every mmf loop you are telling the program to load data from the ini. When you close the app it is still trying to load and therefore crashes.

    Add "Only one action when event loops" to the top of this condition. It would also be a good idea to add the action: "Set Load to "blank"" and "Set New_File to "blank"".

    Are there any other problems?

  9. #9
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    still doesnt work!!!

    also it is not just crashing when i load it, it crashes whenever i load the global values

    even if i add the code
    upon pressing enter
    save global values from group "global values"

    it is URGENT that i fix this problem
    the must be completed of wednsday of next week, and i cant go any further until i can save!!!

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++

    The only thing I had to do to load the global values was to retrieve them from the group "Global Values" instead of "gv". Then of course, it's a good idea to not load the file on every frame, but it works even if you do not fix that.

    Make sure you have the latest version of Ini++

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •