![]() |
What other game making programs can MFGG's Online High Scores System work on? - Printable Version +- MFGG Forums (https://forums.mfgg.net) +-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4) +--- Forum: Developer Discussion (https://forums.mfgg.net/forumdisplay.php?fid=10) +--- Thread: What other game making programs can MFGG's Online High Scores System work on? (/showthread.php?tid=1331) |
What other game making programs can MFGG's Online High Scores System work on? - OssieTheOstrich - 09-26-2018 Wanting to know because i really want it to work for Super Mario Generations. (If it works with Constuct 2.) Plus it may be helpful to other members wanting to use the system in other programs. (PS: Here's the Link to the article.) RE: What other game making programs can MFGG's Online High Scores System work on? - Mario - 09-26-2018 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: Code: key = argument0; 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. RE: What other game making programs can MFGG's Online High Scores System work on? - HylianDev - 09-26-2018 I programmed it. Everything Mario said is correct. Except, I didn't know there was a subdomain for it haha. There wasn't one when I made it I don't think? https://mfgg.net/highscores/ HTTPS works if you use MFGG.net/highscores instead. RE: What other game making programs can MFGG's Online High Scores System work on? - VinnyVideo - 09-26-2018 @AnOstrichmakingMarioGeneration Any game-making programs that support sending POST requests. My method is the "hard way" that works even on GM 8. If you're using GM Studio, it takes just a couple of lines of code. I'd imagine that Construct 2 could do this, too - sending a POST request is a very basic network functionality. @Mario We actually had to change the system by adding a subdomain that doesn't use HTTPS. When MFGG upgraded to HTTPS, games that use this system suddenly stopped being able to upload high scores. Supporting HTTPS would require a lot of coding changes, and we weren't sure how to do this. We also felt that sending online high scores for Mario fangames was a relatively low risk - the worst thing that could happen is someone could figure out how to cheat by modifying their scores (but even then, admins could remove obviously fake scores). RE: What other game making programs can MFGG's Online High Scores System work on? - Mario - 09-26-2018 It should be possible to accept requests on both HTTP and HTTPS; a redirect like the forums might cause issues but just accepting requests on either has no reason to break anything in of itself. (It looks like it's already set up for this too, it just needs a valid certificate.) And yeah, it won't solve every issue since the secret key would have to be in the game code anyway and people could figure out how to dig that out if they really wanted to but making it something you can't sniff from network requests would add a bit more complexity to securing sending the scores. |