Never worked with it myself but it seems like its a simple HTTP request, the DLL is just a library for doing HTTP requests from Game Maker; I'm sure that's supported elsewhere.
Here's the code from the wiki page and I'll break down what's going on:
An HTTP POST request is sent to the URL `http://highscores.mfgg.net/setscore?` with the following parameters:
If the MFGG server sends back a response, the code will read back the message sent back from the server, otherwise it'll say the submission failed.
This should be possible to implement with anything out there really. My only recommendation to do things differently would be to send the request over HTTPS instead, via this URL `https://highscores.mfgg.net/setscore?`- this can help keep the key secure to avoid tampering with the high score table.
I don't know anything about any game making tool out there so you'll have to figure out how to get it to do these things yourself, so good luck!
Edit: Looks like there's documentation on the site itself too, more or less says the same thing as me so I'd refer to that: http://highscores.mfgg.net/documentation
Though someone really needs to set up https on that subdomain.
""We choose to go to the [Suggestions board] not because it's easy, but because it's hard; because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win."
- John F. Kennedy"
- gothgirlgangblastermaster
Here's the code from the wiki page and I'll break down what's going on:
Code:
key = argument0;
myScore = argument1;
myAux = argument2;
var httprequest, st;
httprequest = httprequest_create();
httprequest_set_post_parameter(httprequest, "secret_key", key);
httprequest_set_post_parameter(httprequest, "name", global.name);
httprequest_set_post_parameter(httprequest, "score", string(myScore));
httprequest_set_post_parameter(httprequest, "aux", string(myAux));
httprequest_connect(httprequest, "http://highscores.mfgg.net/setscore?", true);
while true {
httprequest_update(httprequest);
st = httprequest_get_state(httprequest);
if st=4 or st=5 {
break;
}
sleep(10);
}
if st=5 {
scr_dialog("Score submission failed.",font1,c_black,c_black,c_white,300);
} else {
scr_dialog("Score submission successful!",font1,c_black,c_black,c_white,300);
contents = httprequest_get_message_body(httprequest);
}
httprequest_destroy(httprequest);
An HTTP POST request is sent to the URL `http://highscores.mfgg.net/setscore?` with the following parameters:
- `secret_key` - I assume this is a secret key MFGG gives you so it knows what game's score is being updated and that it's legitimately sent from the game.
- `name` - Seems like this is the name you want associated with the score.
- `score` - The score itself
- `aux` - auxiliary information about the score, I assume some kind of string that says whatever you'd want it to say.
If the MFGG server sends back a response, the code will read back the message sent back from the server, otherwise it'll say the submission failed.
This should be possible to implement with anything out there really. My only recommendation to do things differently would be to send the request over HTTPS instead, via this URL `https://highscores.mfgg.net/setscore?`- this can help keep the key secure to avoid tampering with the high score table.
I don't know anything about any game making tool out there so you'll have to figure out how to get it to do these things yourself, so good luck!
Edit: Looks like there's documentation on the site itself too, more or less says the same thing as me so I'd refer to that: http://highscores.mfgg.net/documentation
Though someone really needs to set up https on that subdomain.
Interested in web development? Check out Super Mario Web Development. Wahoo!
""We choose to go to the [Suggestions board] not because it's easy, but because it's hard; because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win."
- John F. Kennedy"
- gothgirlgangblastermaster