Trollsplatterer

Help, tutorials and examples for Game Maker

Platformer Engine
click to visit
An Engine to help you start a 2D Platformer Game.

The Black Hole that Wants to Eat Me
click to visit
Stranded in space close to a black hole...
Infinite Stick War of Death V3
click to visit
The third remake of the epic, endless war God has started.

Spiral Lords
click to visit
Lead your empire to conquer the galaxy.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2017)

Online Scoreboard  download now


This tutorial shows how to make an online scoreboard with Game Maker. It uses 39DLL.dll to connect with your website and it uses two PHP-pages. One to post the score online and one to show the scoreboard in your website.

Ratings

General Rating
Your Rating*

Images

Adding a score for Trollsplatterer
Adding a score for Trollsplatterer You can set the name with the Name button and change the score with the up-down arrow.
Adding a score for Splattering Troll
Adding a score for Splattering Troll You can keep changing names and scores and keep posting them. Press Show Online to open the webpage with the scoreboard.
Draw the scoreboard
Draw the scoreboard If you press Show Score, or if you choose the draw-option after pressing Post & Show, you proceed to the scoreboard room. An object draws the scoreboard as you can see here.
Showing the score in a messagebox
Showing the score in a messagebox If you press Post & Show, your new highscore is posted online and you can show your score in a messagebox. This is the result.

Comments/Suggestions

By Comment
Anonymous
2013-05-09
You sir are a Genius.
a lot of Thanks!!!
mohad
2013-03-06
not fix gamemaker studio
Trollsplatterer
2012-10-01
You have to place the file 39dll.dll in the same directory as the executable. If you don't do that, you have to set the first parameter of the function dllinit() (i.e. in scr_postScoreOnline) to the (relative) location of the DLL-file.
Ajuaju
2012-09-07

___________________________________________
ERROR in
action number 1
of Mouse Event for Left Released
for object obj_btnPost:

Error defining an external function.

Could you fix this?
TrevTech
2012-06-05
Hi, I'm using GM Studio, I was wondering if you could tell me the http post string

http://www.trevtech.com/games/android-attack/add_score.php?something=something&somthing


so i can implement your script in my game, I have already set up the php script on my server.

Since I'm using Studio, I'm unable to use your version, due to the fact that GMS has removed alot of the older commands that are used in pro.

I want to be able to set up my game: which you can view online at:

http://www.trevtech.com/html5/AndroidAttack/index.html

also available on Android and windows and IPhone.

So you see, i just want to add this feature into my game.

Thanks, if would be a great help.




Peoples
2011-06-30
Very useful to games!!!
Anonymous
2010-06-16
yeah, like windows live and i dont need it urgently
Trollsplatterer
2010-06-14
I'm not sure if I know what you mean by that.
Do you mean to keep your profile and achievements online, like a Windows Live profile?
That may indeed be a useful tutorial, though I don't think I can provide it very soon. Do you need it urgently?
Anonymous
2010-06-12
could you make a game maker online log in tutorial so i can log inot my website on my game
Trollsplatterer
2010-03-08
The 'score adjuster' was merely created to show you how to use the functions (scripts) in your game and to test the php-code. The example gmk just allows you to manually change your score, so you can set it to whatever you want.

If you use this in your game, you decide how the score is created and then you run the script which adds the score to the online scoreboard.

So the tutorial was made to have your players add their score to your online scoreboard, not for the admin to do so manually :)
Maxis
2010-03-06
Is this a score board for users or just for the admin to add the score. Just wondering why there was a score adjuster built in. and how do you load the dll into the game? Other than that I m all set up with the mysql data base and the php files on the site. Really cool program you have there and thanks.
Anonymous
2009-12-19
Yes everything is correct.
And i found out what was the error.
I had forgot to take away the "http://" on my website link in the script.

Everything works perfect now =D
Trollsplatterer
2009-12-11
Are you sure that your database tables are the same as the example and that you added the right login and passwords for your database?
Send me a mail if you want a quick response, my e-mail address is on the page behind the Trollsplatterer-link in the menu.
Dragonstorm
2009-12-08
Been looking for this a long time now, its great.
I have added it to my game now,
and i tried your highscore website first on the example.
It worked great then, but when i changed everything to my website
i get error every time =(, i get something like this:
something got wrong,score not saved.

I have the sql table in my database and all the tree php files are on the web server, so i can't figure out whats wrong.

Trollsplatterer
2009-10-20
Make sure that the website has a MySQL database and that the file you're using has the extension ".php", not ".html".
Anonymous
2009-10-17
never mind i found out myself ^_^, but how do i make the setting on the website from "."n/t/t
atizoa
2009-10-17
How do you put the dll into the game!!?!?

it keeps saying uknown function!

otherwise i'd think this is very good
Professor Kill
2009-09-18
Very helpful!
Trollsplatterer
2009-09-13
All done now, have fun with the new tutorial.
Trollsplatterer
2009-09-13
This tutorial is being modified in order to support showing the online scoreboard in-game.



* : The rating makes use of your IP-address to remember your vote. IP addresses may change, but your vote will be kept, even though it may no longer be visible here.