[Dev] Managed GMS keys

Everything is possible~
Loyal Member
Joined
Jan 9, 2008
Messages
818
Reaction score
847
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:



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:
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:
 
Last edited:
Newbie Spellweaver
Joined
Jun 4, 2014
Messages
8
Reaction score
0
Thanks for the update. Can't test since the site is offline atm, but thanks!
 
Junior Spellweaver
Joined
Apr 20, 2013
Messages
103
Reaction score
24
Could you please use JSON and/or XML instead?
This is quite ugly to parse
 
Everything is possible~
Loyal Member
Joined
Jan 9, 2008
Messages
818
Reaction score
847
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 -.-''
 
Junior Spellweaver
Joined
Apr 20, 2013
Messages
103
Reaction score
24
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.
 
Everything is possible~
Loyal Member
Joined
Jan 9, 2008
Messages
818
Reaction score
847

check start post
 
Everything is possible~
Loyal Member
Joined
Jan 9, 2008
Messages
818
Reaction score
847
Added some more options.