User Tag List

Results 1 to 9 of 9

Thread: How do I easily get data from a website?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    202
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    How do I easily get data from a website?

    Databases have their place, but sometimes I just want to grab a short piece of data which I keep on a private web page. (a piece of news, a password or something else).

    A web page is better for me because I can access it and modify it more easily than a SQL database.

    In Unity I used to use a plugin which extracted data from a simple to use Google sheet.

    Is there way of doing something like this with MMF2?

    Thanks
    Simon

    www.makross.net

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    202
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Well, I tried the web Control object and the Find Text function but it seems quite unreliable and Kind of impossible to return anything other than one piece of text. Maybe I'm doing something wrong but I've spent a few hours with it now and its all over the place. Sometimes it returns the correct text, other times nothing at all.

    When I try to collect multiple pieces of text on different events it just doesn't work at all.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Nov 2017
    Posts
    79
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I believe there is a cURL extension - I swear I've seen a game made in Fusion that had a cURL library file in the game directory, leading me to believe that there must be some sort of extension to use cURL.

    I believe it was the demo for Okinawa Rush, it must use it to upload your score to an online leaderboard. This game is confirmed to be made in Fusion.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    202
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Progject View Post
    I believe there is a cURL extension - I swear I've seen a game made in Fusion that had a cURL library file in the game directory, leading me to believe that there must be some sort of extension to use cURL.

    I believe it was the demo for Okinawa Rush, it must use it to upload your score to an online leaderboard. This game is confirmed to be made in Fusion.

    I checked here but its seems to be only for Android?

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    202
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by grimmy View Post
    I checked here but its seems to be only for Android?
    In the end my solution was just to stick an 'easy to edit' .ini file on dropbox.

    My app downloads it, reads it and then deletes it like discarded trash..

    Simple

  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    537
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi grimmy , how do you "download" the ini to your app ? thanks !

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you might be able to use the GET Object for this

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    202
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Decal View Post
    I think you might be able to use the GET Object for this
    Actually I used the 'Download Object'. Super easy to use.

    -Download File
    -On Download Successfully Completed - Do stuff

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    537
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you decal and grimmy for your answers !

Similar Threads

  1. Sideload App Easily for Client
    By CruddyBuddy in forum iOS Export Module 2.5
    Replies: 3
    Last Post: 2nd April 2019, 02:52 PM
  2. Localize your game/app easily using INI!
    By MSA in forum Guides, Tutorials, Examples, Widgets
    Replies: 2
    Last Post: 27th August 2018, 07:12 AM
  3. Getting a piece of data from a website
    By richardh in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 16th July 2012, 08:38 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
  •