User Tag List

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

Thread: INI Files

  1. #1
    No Products Registered

    Join Date
    Apr 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    INI Files

    I can't get any values to save in an INI file. If I say 'Start of Frame>INI File> Set Current File to "Level", Set value 4 to item "level" in group "level"', I can't retrieve the value later by using 'Set Counter to ItemValue ("INI", "Health"). What am I doing wrong?

  2. #2
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    You need to use the same name for saving / loading.

    GroupItemValue( "Ini", >Group name<, >Item name<)

    Make sure Group name and Item name are the same.

    Code:
    [Player]
    Health=100
    Level=5
    ...

  3. #3
    No Products Registered

    Join Date
    Apr 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    Okay, I changed that...it still doesn't load the value, though. When I load the value with the correct name to a counter, the counter automatically gets set to zero.

  4. #4
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    Can you upload the file? http://www.mediafire.com/

  5. #5
    No Products Registered

    Join Date
    Apr 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    Okay...just something I'm making for fun in 8-bit style.

  6. #6
    No Products Registered

    Join Date
    Apr 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    Here's the link: http://www.mediafire.com/?sharekey=e10e857de2a6f5feb64026cfc0611236fa74b8b2 ec6109865be6ba49b5870170

  7. #7
    No Products Registered

    Join Date
    Apr 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    Here's the link: http://www.mediafire.com/?sharekey=e10e857de2a6f5feb64026cfc0611236fa74b8b2 ec6109865be6ba49b5870170

  8. #8
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    You forget to load the file. Instead you loaded "Health" ?!

    Set Current file to apppath$+"myini.ini"

    make sure the file is there in the same folder.

  9. #9
    No Products Registered

    Join Date
    Apr 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    How would I load the file (when the guy collects the 1up)?

  10. #10
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI Files

    http://www.clickteam.com/eng/resources/ini_tutorial.pdf

    Check it out, I recommend more Tutorials, you find them on the right side on the board.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. "Flash / INI object: now loads INI files stored as binary files in the application."
    By EdibleWare in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 2nd July 2014, 10:22 AM
  2. Loading files such as INI,Text files, List Files?
    By Gibbon in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 21st July 2012, 06:41 AM
  3. INI files versus XML files - which one's better?
    By TheSynapse in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 6th April 2012, 03:14 PM
  4. Conveting mfa. files to swf. files.
    By onewingedangel in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 22nd September 2008, 03:23 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
  •