User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 25

Thread: Ini++

  1. #11
    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 get it... I'll get back to you on this.

  2. #12
    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'm going to upload a file, can you show me what I'm doing wrong?

  3. #13
    No Products Registered

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

    Re: Ini++

    sure

  4. #14
    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++

    http://www.mediafire.com/?sharekey=18440b8ba9203607d9d5c56d04dfa8b0e04e75f6 e8ebb871

    It's even worse than I thought...

    For some reason on the save it deletes all my save info.
    Can you make it so it loads the Group names? You loaded values, not group names which is done differently.
    The scores are meaningless, just giving them values so they appear.

  5. #15
    No Products Registered

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

    Re: Ini++

    Sorry I don't get it. I use the normal Ini for my projects. Can Ini++ guess what groups you just created?

    Code:
    [Players]
    Total=20
    0=Player 1
    1=Captain Amazing
    2=Dude
    3=
    ...
    20=
    
    
    [Player 1]
    Score=1
    [Captain Amazing]
    Score=685
    [Dude]
    Score=0
    This is how my ini would look like.

    You now have a reference from the name to the group. You use "Total" for the fastloop to get the names. If the string is "" then by default it will be "empty" (nice feature by Ini++ though I might change my project over to Ini++)

    You then could run a second loop and delete all empty lines from the list.

    If you click on currentline 0 it will select "Player 1" which means that you now know the groupname and can read the scores or whatever value you want from it.

    Edit: In your example the file is emtpy because you have the encryption string on load. As I stated before, when you file is NOT encrypted then do not provide a encryption key! Remove the line with encryption. Hit S, then edit the event back in (the key) then it will work!

  6. #16
    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/?vg4dmzeyktz

    This is my example with scores added.

    Edit: This is limited to 5 players at the moment. What you need to do to add infinite player is just add a new line to "Profile" by using the ("Total") value (List is 0-based!) and adding +1 to the "Total" value after you added the new name.

    before:
    Code:
    [profile]
    Total=5
    0=Robert
    1=Peter
    2=Max
    3=John
    4=Paul
    after:
    Code:
    [profile]
    Total=6     ;(Total=5+1)
    0=Robert
    1=Peter
    2=Max
    3=John
    4=Paul
    5=my new name   ;(5 = Total)

  7. #17
    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 figured it out... would you like me to post my solution?

    EDIT: You and I are trying to do different things. You are displaying scores and whatnot, all I need to do is load the names and then have one selected and then you are loaded into the rest of the game :P

  8. #18
    No Products Registered

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

    Re: Ini++

    Sure post what you got

  9. #19
    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 believe you are making this too hard... Hold on I figured it out, I just need to fix it because it skips over the first one.

    I need the names in groups though, because I will have loads of items. It makes more sense, because there is no overall score or highscore board.

  10. #20
    No Products Registered

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

    Re: Ini++

    Make sure your List index is 0 based.

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