User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Online Highscore Server on External websites

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Online Highscore Server on External websites

    Hello, i have been trying to tackle this problem for a while and its forbidding me from putting my project anywhere so help would be much appreciated. I have added an online server to my HTML game to store high-scores and display them. This is achieved implementing this tutorial: http://community.clickteam.com/threads/87185-Online-High-Score-Tutorial done by Sparckman. This works correctly when launched on my own website (the one that has the SQL server) but when i try to post the game elsewhere on Itch.io for example the server does not register.

    I have contacted various people and they have said "You need to configure your PHP script to allow connections from the domain where you game is hosted, and you need to provide support for HTTPS to your script". Please if anything knows anything or can help please let me know.
    Thanks Lucas.

  2. #2
    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,337
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Hey, what I believe you need to do is to add a crossdomain.xml file to the root of your server.

    The file can look like this:

    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="*" secure="false"/>
    <allow-http-request-headers-from domain="*" headers="*" secure="false"/>
    </cross-domain-policy>

    Simply open notepad, paste the content in and save as crossdomain.xml, and put it on the root of your webserver.

    For better security, though, you should select which domains that will have access. You easily find information on this by using Google etc...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help, adding the crossdomain file to the public_html didn't have any affect. Is there were i am meant to place it?

  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,337
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Put it where you have your index.html (or similar) file. If that doesn't help then I am afraid I don't know what else to do..

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    alright i will try that. I also have a screenshot of the error i found, this should help.Error.jpg

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It was in the browsers console

  7. #7
    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,337
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Oh sorry, I overlooked the 'HTTPS' keyword in your original post. As the advice you got suggests, you need to configure the server to allow https calls. I have no experience with this, though. Hopefully someone here will be able to help, but contacting your webhost might be your best choice

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    oh i thought it was to-do with editing the script provided by Sparkman?

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    well my host said "does not block any request from https URL".

  10. #10
    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)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    advaith's Avatar
    Join Date
    Jun 2015
    Location
    SF Bay Area, California, USA
    Posts
    1,325
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Could you post a link to your website?

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Online Highscore Table
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 6
    Last Post: 10th September 2012, 11:22 PM
  2. Online Highscore help !
    By Johnny in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th February 2009, 04:52 PM
  3. Semi-online games using websites to store info?
    By Shroomlock in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th June 2008, 07:04 PM
  4. Linking to websites and external programs
    By alternatepower in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th November 2007, 10:52 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
  •