User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25

Thread: Ini++

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ini++

    I am having problems with Ini++...

    I am trying to have save games, and every user who makes a new game has their character name as the Group.
    Then on the Load Game screen it displays all the names in a List Object, so the player selects one. The problem is when I turn on encryption the list no longer works. Can someone make an example of how to make a list that displays the group names and is encrypted through Ini++?

  2. #2
    No Products Registered

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

    Re: Ini++

    You need to decrypt the file with "" when it asks for a string before you can read from it:



    When you load the file on startup decrypt it with "". load the groups, then encrpyt it again with your string.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini++

    I think I understand. I am gonna go try this, but in case I fail, could you PLEASE make an example? I am about to go for several hours without internet and this block is stopping a ton of progress.

    I'm sorry, I really cannot get this to work, can you make an example? I am trying to load it into a list by group names and it's just repeatedly making empty lines.

  4. #4
    No Products Registered

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

    Re: Ini++

    Sorry I made a mistake. You always have to provide the key.

    http://people.pwf.cam.ac.uk/jlnw3/mmf2/Ini++/features.html#encryption

  5. #5
    No Products Registered

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

    Re: Ini++

    http://www.mediafire.com/?emyylg5zruo

    here you go.

    What you need to make at least once before it works: After creating your ini, set the encryption key and save it. Then exit the application. BEFORE you load the ini set the encryption key. Setting the key and loading a non encrypted file will also NOT work!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini++

    THANKS! I appreciate it, hopefully I understand. So you do start of frame, Set exnryption key THEN load? or 2 different conditions?

  7. #7
    No Products Registered

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

    Re: Ini++

    Thats correct, one is fine, check the example

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini++

    Ok, I'm doing that now. Sorry for the rush, I'd just like to be able to work on my game and this is a major part, so I needed to know if I was going to be able to use Ini or the Save Game Object.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini++

    But what if I have AutoSave, do I still need to do the save you had? Or could I have Always, encrypt and save?

  10. #10
    No Products Registered

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

    Re: Ini++

    Once the file was saved at least once with encrpytion is stayes encrypted. No need to encrypt it any longer, from now on you just need to set the key and load it on any frame you want to read and write to the file.

Page 1 of 3 1 2 3 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
  •