User Tag List

Results 1 to 5 of 5

Thread: online ini

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    online ini

    Hello
    I'm looking for a way to read into an ini file which is online (e.g. on my ftp)
    I would like it can be updated in real-time, so if possible without download the ini file before.
    Someone has ideas about this ?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are you planning to do with it? The GET object can download the contents of a file, and you could then save it to the hard drive and read it through the INI object.

    If you need the game to read and write online, a database would be more appropriate.

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's for a software.
    it won't need to write, only read, updated text.
    I tried
    Code:
    Start of Frame.
     > Get URL "http://.....file.ini"
    On get complete
    > Set ini file to Received("Get object")
    But when I try to read something, the build crashes.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,352
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    If I am not mistaken, that would retrieve the text content of the inifile, not the file itself. You could do as DavidN says, and put the content into an edit object and save it as a textfile, and then open it via the INI object. But this seems a little redundant, as you can read the data directly from the Get object. The normal thing would be to format the data as a string with delimiters on the server, and then use the String Parser 2 object to split the data on the client. But of course, if it is an INI file you want, you could go for the first method.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll check for this and 'll get back here after.
    Thanks

Similar Threads

  1. a online
    By Conman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th May 2009, 08:49 PM
  2. online
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 4th August 2008, 09:52 PM
  3. Online
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th March 2008, 10:36 PM
  4. Online
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th May 2007, 12:21 AM

Posting Permissions

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