User Tag List

Results 1 to 3 of 3

Thread: Hi Score ini file

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Hi Score ini file

    Is there a way to disable the Hi Score object from saving a file by default? From what I can see, even if I don't specify a file name or directory, it still creates one. Though I can't figure out where it is. I tried searching for it on my computer but I can't find it. I know if I change the save location in the event editor it saves it to the new location. But the hi score object still saves hi scores whether you specify this or not.

    So basically, I want to be able to have the hi score object sort out hi scores without actually saving to an ini file unless I specify it to do so.

    Edit: Okay it's in the AppData folder, should have figured that. But I can't figure out how to stop it from saving there.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi Score ini file

    Okay, having a big problem. The hi score is only functioning properly when I just let it use the default AppData save location. If I specify my own file path, it overwrites the ini everytime, giving me empty scores. The only event I have on the game over screen with the hi score object is:

    Start of Frame:
    Set file to Apppath$+"scores.ini"

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Hi Score ini file

    Well I managed to fix it myself using the ini++ object with the hi score object. Kind of confusing for me to explain, but basically I load the ini file with the ini++ object. If there is a hi score, I insert the value into the hi score object and the ini++ object, then save it to the ini file in it's own group. Pretty much, I'm only using the hi score object to initially sort the hi scores. I save the values with the ini++ and insert them when the hi score object first loads. I'm using the same ini file for both the hi score and ini++ objects. But, I'm saving the values into different groups.

    Setting the hi score object to use the ini file in the app's directory overwrites the values to the default 0, but it doesn't overwrite the entire file, only it's particular group within the ini file. The ini++ values remain untouched.

    That's the only way I could work around it not saving in AppData. It overwrites the hi scores when setting it to the app's directory, but the ini++ object stores the values to feed into the hi score object. I could have used the regular ini object but I plan on encrypting the file so you can't go in and make up a score.

    I probably didn't explain that properly and left everyone thoroughly confused. :P

    Edit: I think this is probably what's going on in the hi score object example that comes with MMF2. It uses an ini with the hi score object, but I couldn't figure out what it was doing, so I did it from scratch

Similar Threads

  1. Score enligne score classement
    By markymoniom in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th January 2013, 12:05 PM
  2. Hi Score record low score..
    By Earl in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 22nd July 2012, 08:31 AM
  3. Saving a current score with INI and best score
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th March 2012, 05:21 PM
  4. Showing Score Points when Score is gained?
    By Jacob_Miller in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2011, 01:41 AM
  5. Saving Score and such to a text file
    By rogiedodgie32 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th February 2010, 02:51 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
  •