[Dev] Managed GMS keys

Results 1 to 7 of 7
  1. #1
    Everything is possible~ Diamondo25 is offline
    MemberRank
    Jan 2008 Join Date
    The NetherlandsLocation
    1,116Posts

    [Dev] Managed GMS keys

    Heya,

    You guys probably knew already that I host a file on my server that contains the AES userkeys for several GMS versions.
    Since GMS has changed to per-built different AES userkey, I've updated this script to V2, which you can request using the following URL:

    http://direct.craftnet.nl/app_update....php?version=2

    It'll return with a list of keys, including subversions (this is new), seperated by CRLF (\r\n).

    Version 3
    Version 3 of the API supports returning a specific key, using the GET arguments 'mapleversion' and 'maplesubversion'. Also, if you want the result as JSON, append 'as_json' as a GET argument. Example: http://direct.craftnet.nl/app_update...sion=1&as_json
    Version 2 also supports JSON responses, using the same argument.
    Note:
    If the version was not found, it will return {'error': 'not_found'} (when asking for JSON response), or the key 1337133713371337133713371337133713371337133713371337133713371337 (when in plain-text mode)

    You can find an example implementation here: http://pastebin.com/YQA994Cd
    Last edited by Diamondo25; 16-06-14 at 11:55 AM.


  2. #2
    Apprentice jakehop55 is offline
    MemberRank
    Jun 2014 Join Date
    8Posts

    Re: [Dev] Managed GMS keys

    Thanks for the update. Can't test since the site is offline atm, but thanks!

  3. #3
    Valued Member Minike is offline
    MemberRank
    Apr 2013 Join Date
    115Posts

    Re: [Dev] Managed GMS keys

    Could you please use JSON and/or XML instead?
    This is quite ugly to parse

  4. #4
    Everything is possible~ Diamondo25 is offline
    MemberRank
    Jan 2008 Join Date
    The NetherlandsLocation
    1,116Posts

    Re: [Dev] Managed GMS keys

    Quote Originally Posted by Minike View Post
    Could you please use JSON and/or XML instead?
    This is quite ugly to parse
    Yea because JSON and/or XML has less overhead. If we go that way, I'll implement a binary one instead -.-''

  5. #5
    Valued Member Minike is offline
    MemberRank
    Apr 2013 Join Date
    115Posts

    Re: [Dev] Managed GMS keys

    Quote Originally Posted by Diamondo25 View Post
    Yea because JSON and/or XML has less overhead. If we go that way, I'll implement a binary one instead -.-''

    If its json or xml, its possible to use the build in parser for them, e.g. the JavaScriptSerializer of .NET.
    PHP has "
    json_encode" anyways
    And if you are complaining about server load, just cache the requests.
    It would also be nice if you could request only the key of given version.

  6. #6
    Everything is possible~ Diamondo25 is offline
    MemberRank
    Jan 2008 Join Date
    The NetherlandsLocation
    1,116Posts

    Re: [Dev] Managed GMS keys

    Quote Originally Posted by Minike View Post

    If its json or xml, its possible to use the build in parser for them, e.g. the JavaScriptSerializer of .NET.
    PHP has "
    json_encode" anyways
    And if you are complaining about server load, just cache the requests.
    It would also be nice if you could request only the key of given version.
    check start post

  7. #7
    Everything is possible~ Diamondo25 is offline
    MemberRank
    Jan 2008 Join Date
    The NetherlandsLocation
    1,116Posts

    Re: [Dev] Managed GMS keys




Advertisement