1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

GMS 2 Online Highscores

Discussion in 'Tutorials' started by Appsurd, Aug 10, 2016.

  1. Appsurd

    Appsurd Member

    Joined:
    Jun 20, 2016
    Posts:
    241
    First of all, a happy new year to you all! The GMS2 version is probably going to take a while, since I have been really busying doing stuff for myself.

    You're welcome! Awesome, didn't expect anyone to read all of them :p

    In general, you should apply one rule:
    NEVER save people's email adresses, home locations, bank account, etc. until you consider it to be ABSOLUTELY NECESSARY.
    If you apply this rule, you will be safe in general, because the GDPR is about personal data, and someone's highscore or username is not part of it. I would even argue that you apply this rule without having to stick to the GDPR, because you are keeping someone else's property which you also need to protect. Finally, just as @chamaeleon said, please open another topic if you would like to hear other people's opinion about GDPR compliance. My tutorial is at least perfectly safe to use (in my opinion).

    EDIT: I added this answer to the FAQ in the tutorial
     
    Last edited: Jan 29, 2020
  2. Appsurd

    Appsurd Member

    Joined:
    Jun 20, 2016
    Posts:
    241
    Changes:

    Minor update V1.1.8:
    - Thanks to a user, added a clearification about using a VPN while creating your Altervista account
     
  3. Energy Engine

    Energy Engine Member

    Joined:
    Jun 23, 2016
    Posts:
    93
    This looks like an amazing tool and with a comprehensive tutorial to boot. I'll definitely be looking into implementing something like this soon. Thanks!
     
    Appsurd likes this.
  4. Appsurd

    Appsurd Member

    Joined:
    Jun 20, 2016
    Posts:
    241
    Major update 1.2.3:

    - Completely rewrote the tutorial for GMS2
    - Renamed some variables for the sake of clarity
    - Various minor changes to the sample project and tutorial text
    - Added a new paid tutorial: Online Highscore Premium Edition, now available from $20 for just $10.
     
  5. kloac

    kloac Member

    Joined:
    Feb 9, 2020
    Posts:
    2
    Hi! how are you?

    I 've done and read all the tutorial, but i'm having an issue that i can't resolve. On some Android devices (especially new ones, with the last android system), the highscore table stays charging with the message "Charging highscore table", like they're without internet (but they're with internet).They can't send score to the data base and of course they can't read the high score table either.
    I don't know if it's a code problem from GMS, something from Altervista or Android.

    I'm using GMS2 (the last version).

    Hopefully you can help me with this!
    Thanks You!!
     
  6. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,881
    Android Pie and above block plain HTTP traffic by default. Either you change your Altervista setup to HTTPS, or you add this to Option > Android > Permissions > Inject to Android Application Tag:
    Code:
    android:usesCleartextTraffic="true"
    Do note that the latter approach will disqualify you from Google Play if the submitted information is personally identifiable. Using HTTPS instead of HTTP should always be prioritized, especially for projects done in a production-level capacity.
     
  7. kloac

    kloac Member

    Joined:
    Feb 9, 2020
    Posts:
    2
    @FrostyCat Thank You! I can do it :p

    I'm having another issue.. how can i get a variable from the Altervista table, and then save it in a Ini file? For example an ID? :)

    Thanks you!!
     
  8. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,881
    This tells me you have not genuinely read the tutorial, only blindly copied from it. Read it again, and actually think things over this time.

    The tutorial has clear instructions on how to read values from the database on the PHP side, and how to request and parse them on the GML side. You are perfectly capable of saving yourself in this, you just chose not to. The only difference in your case is that you're trying to get an ID instead of a score (i.e. $row['ID'] instead of $row['score'] on the PHP side), and an additional write to an INI file (which isn't even related to this topic, go look up how to use INI files separately).
     

Share This Page