User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Linking your MMF2 game with Pub. Online Scoreboard

  1. #1
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Linking your MMF2 game with Pub. Online Scoreboard

    Hello, as I promised I writing the article about Public Online Scoreboard 0.5 (http://theclickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=125177#Post1251 77) and linking it with MMF2 game. So, here we go!

    [size:14pt]Required objects (extensions)[/size]
    • Url Encoder
    • QuickHash (or another objects that supports SHA1 hash algorithm)
    • The Big Box
    • Editbox


    NOTE: This article isn't about installing Public Online Scoreboard - there are instructions in archive. At the end of article I attached the archives of POS.

    [size:17pt]Adding objects to frame and renaming[/size]
    So first we add Url Encoder. Then we renaming it into UrlEnc
    Then add The Big Box and rename it into "box". After that add quickhash, call it qhash and finally add EditBox and call it name.

    [size:17pt]Alterable Values renaming[/size]

    Go to the name's properties. Click Values (a-z icon) and in Alterable Strings click 3 times New. Now rename Alterable String A into hash, Alterable Value B into quote, and Alterable Value C into specialstring. Then edit quote value and assign it a single quotation mark ("). After all set specialstring to THE SAME string what you entered in $specialstring variable while Public Online Scoreboard instalation (by editing config.php)

    [size:17pt]Time for events[/size]

    Well, so far, so good. Now it's the harder part.

    Add event and in name's column add actions:
    Set text: "John Doe"
    Set focus on
    Now in UrlEnc's column add action
    Encode spaces as "+"
    Then add event "name" has just been modified (name is our EditBox, remember?)

    To this event add action in name's column action

    Set alterable string hash to get SHAOne Hash$( "qhash", Edittext$( "name" )+specialstring("name")+Str$(score( "Player 1" )))

    Then hardest part - executing the submit script. Very well.

    We create event Upon Pressing a key ENTER event. Now in box's column we add action open a file/website with parameter (expresion):

    "http://your.site.address.net/submit.php?name="+quote( "name" )+urlEncode$( "UrlEnc", Edittext$( "name" ))+quote( "name" )+"&score="+Str$(score( "Player 1" ))+"&h="+quote( "name" )+hash ( "name" )+quote( "name" )

    Where your.site.net is an address of your website (if POS is installed in subdir of your website, what is recomended, include it into addres, eg. http://your.site.address.net/scores/submit.php?...)

    And all folks! Submit.php executed, score added to database!

    And one little note about HighScores option. When you execute it you must use The Big Box object too, but enter in address something like: "http://your.site.address.net/view.php".

    Tomorrow I will add some pictures like in my previous article. Today is 11:54 PM, and I am very tired.
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    I can't understand this article, it's very hard to read what suppost to be said, and I don;t understand what's going on.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    weka's Avatar
    Join Date
    Mar 2009
    Location
    America
    Posts
    267
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    Same here. Can you at least include a game as an example?

    Also where can I get these extensions if you don't have em?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    Fusion updater, perhaps? although I've never heard of The Big Box and stuff. My Fusion updater isn't working at the moment, so I can't check.

    Maybe DavidN's tutorial might help further for people that don't understand this. I haven't read ths whole article because right now I don't really need an Online tutorial, but it sounds like you should combine the instructions for your Public hiscore with this article - making it easier to follow.

    Also - please have links for extension downloads, they are very useful

  5. #5
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    Extension lists:
    http://ext.neatwares.ath.cx/

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    Linking your MMF2 game with Pub
    Is that so you can order beer with it or something?

  7. #7
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    There must be an easier way to make an online scoreboard...this is way too complicated.

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    Quote Originally Posted by Dynamite
    There must be an easier way to make an online scoreboard...this is way too complicated.
    If you want to make it without the encoding scores and stuff then you can but beware it is quite easy to hack.
    Also I personally like to make all one script for the same general thing like this.
    Working as fast as I can on Fusion 3

  9. #9
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    By the way, you can use a " in expressions by writing "".

  10. #10
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Linking your MMF2 game with Pub. Online Scoreboard

    Quote Originally Posted by Looki
    By the way, you can use a " in expressions by writing "".
    What? I usually have a global string called SPC and I have it predefined in the app properties to say ", but I don't know what you mean by that Looki?
    Working as fast as I can on Fusion 3

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How to write data to online scoreboard?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st October 2012, 03:33 AM
  2. Need Moosock/GET extension help! Mind Twister's online scoreboard has stopped working
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th February 2012, 04:35 AM
  3. Need some help with an online high scoreboard
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd October 2009, 02:33 AM
  4. Online Scoreboard Problem
    By Eclektik in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th May 2009, 01:35 AM
  5. Playing an mmf2 game online
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th August 2008, 04:08 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
  •