9.7 (9 votes)
    GM 7
    July 09, 2008
Dev - DB/form (refering to updated - check code)
    DOWNLOAD (654)
Dev - make AJAX
Screenshots (2)
Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
Dev - In the submission form, you can now upload a banner image
In-Game Online Highscores V2.2
File Type: .gmk PRO
Version: 2.2

This was originally created for my game Coloraze: Spectrum but I've decided to share it with everyone.

This is not all my work. I used 39ster's 39dll and download example and I also used Gift of Death's highscore.php script, although I did some major edits on it.

This system has a php script that does nothing but add your score to a text document (so all you need is php). It uses the php script through 39dll, then downloads the scores from the internet and displays them. It does all of this without another window.

1. Upload highscores.php and scores.txt files on your host.
2. Edit the highscores.gmk file.
3. Test!

!You Could Also Test With The Provided Settings!

Make sure you extract everything before using the .gmk
You have to have 39dll.dll in the same folder as your game

If you have problems having it work in you own game try CHMODimg scores.txt to 666 or 777.

To use this example in your game you need to provide credit to Siert, Gift of Death and 39ster

EDIT: Version 2!
I strongly recommend downloading the new version!

EDIT: Version 2.1!
Fixes bug when files are in a sub directory.

EDIT: Version 2.2!
Apparently my custom lite version of the 39dll doesn't work in executables, only gmks. This example now includes the whole 39dll.

New Features:
-Uses 39dll
-Now uses scripts
-Draw_list() function
-Ability to list scores backwards (ie fastest scores)


NOTE: may not work with all hosts

Target platforms:

Although this isn't useful to me as I cannot yet make games, I'm sure others will find it an extremely useful example.
It's very kind of you to submit it here. :D
Posted by Toadsanime July 10, 2008 4:18 - 9.4 years ago
| [#01]

Yes it's indeed a very usefull example. I myself am not going to use it, but it's very intesting to know this tecnique and I'm sure others will use this so 9/10
Posted by BINARY July 10, 2008 7:17 - 9.4 years ago
| [#02]

I'm definitely going to use this. It's exactly the kind of example we need around here! 10/10
Posted by Zac1790 July 10, 2008 12:41 - 9.4 years ago
| [#03]


Posted by Nighthawk July 10, 2008 17:32 - 9.4 years ago
| [#04]

I think I may have use for this. 10/10
Posted by Graydon July 12, 2008 18:43 - 9.4 years ago
| [#05]

cool, now everyone can know how good i am at my own game. lol, once i make it.
Posted by slayer 64 July 13, 2008 21:18 - 9.4 years ago
| [#06]

Great Online Highscores, I like how it is all ingame and DOES not need to open a web browser! Good job!:)
Posted by unknowngamer July 15, 2008 23:36 - 9.4 years ago
| [#07]

yeey finally a secure highscore system (right?) thanks, 10/10
Posted by jeroenman July 18, 2008 6:21 - 9.4 years ago
| [#08]

Wait nvm, I got it. But its taking a while to download the scores... probably just my computer.
Posted by Coffee July 18, 2008 22:44 - 9.4 years ago
| [#09]

Hmm... Can't get it working, it isn't even sending the scores even I have CHMODed the scores.txt and I have 39dll in the same folder as the game... :S
Posted by DaHandy August 17, 2008 12:03 - 9.3 years ago
| [#10]

Yeah! Good that you improved my version, even better is that you remember to credit me =D. Even you've edited php scrit, I can still identify it based on my.
Too bad that I can't test this right now since I have no GM7 pro nor own website atm =P.

10/10 ^^
Posted by Gift of Death August 17, 2008 16:35 - 9.3 years ago
| [#11]

Brilliant! It doesn't even use MySQL!
Posted by 00800835 August 23, 2008 1:55 - 9.3 years ago
| [#12]

Recent Activity
Active Users (0)