User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25

Thread: Game updater

  1. #21
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    I don't understand how you people have enough information with just a version number. Wouldn't it be important for you application to know what file it's supposed to download? Unless it always downloads the same file (which is hardly convenient!)

    The file that gets read in my current project has a structure similar to this:
    Quote Originally Posted by urls changed for good reasons
    [info]
    newver=1.00.5
    link=http://www.url.com/download.zip
    link2=http://www.mirror1.com/download.zip
    link3=http://www.mirror2.com/download.zip
    log=http://www.url.com/changelog/
    Comes with mirrors and a link to a changelog.

    Since the whole update system of my project is automatic, I want to have as much control as possible. And I already know I'll be expanding it with more mirrors, links to language packs, updates of themes/skins, plugins, etc...

    Quote Originally Posted by samanoskeake
    Hey Geo, could you put an example file up?
    I'm using Get to get the url, but I can't load the received data into ini.
    Unfortunately, I don't have any access to MMF2 right now. But could it be that you're using INI++ 1.5 by any chance? I'm using plain ol' INI++.

  2. #22
    No Products Registered

    Join Date
    Feb 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    Quote Originally Posted by Jaffob
    1. Create a TXT file on your website. Let's say the URL is http://www.example.com/version.txt. We'll say the version is 2.3, so add that as the only text in the file.
    2. Add the Get Object to your frame (in MMF).
    3. Add the following two events:
    Code:
    On check for updates:
         --Get Object: Get data from "http://www.example.com/version.txt"
    
    Get Object: Data Received
    AND ReceivedData$("Get Object") <> "2.3":
         --[This version is different than the current one, do actions here]
    Here's what I've done:

    Get "url"

    On Get Complete
    AND Received$(" Get object ") > "2.0"

    It keeps telling me "Cannot understand your expression."

  3. #23
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    samanoskeake, you're using > instead of <>

    Greater than (>) is only going to work with numbers, but "2.0" is text.

  4. #24
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    Greater than works perfectly fine with strings. FOr his purposes though, you're right. We tried to explain this to him in gwerdy.

    val(Received$(" Get object ")) > 2.0

    is what he needs

  5. #25
    No Products Registered

    Join Date
    Feb 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    Yeah, you successfully described it.

    I've got it down, but the downloader isn't downloading my file.

    I can get it through the browser (http://crunchyfresh.net/cubsy.exe), but the downloader won't fetch the URL.

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. Game Updater Issues
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th September 2013, 08:46 PM
  2. Game/Application Updater
    By Game_Master in forum Widgets
    Replies: 2
    Last Post: 21st May 2013, 09:19 AM
  3. How to make a game updater?
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th May 2010, 06:42 PM
  4. Updater for your game - a problem
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 9th May 2010, 10:29 PM
  5. Game updater - what do you prefer? (survey)
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 13th November 2009, 10:49 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
  •