Game Development Community

Display highscores on website. How?

by Ingo Seidel · in Technical Issues · 04/09/2010 (2:21 am) · 2 replies

Hi,

We made a game where nickname and score are written to a local text file. Now we want to display this data on our website. What is the easiest way to implement this in Torque?

I already searched for the TCPObject, which works something like this...

new tcpobject(tcpobj);
tcpobj.connect("www.ourdomain.com:22");

but how can i write the text now to a file on our server? The rest would be no problem then.

Thx for your help!

#1
04/09/2010 (2:28 am)
Check the source of Conor O'Kanes game Go Beryllium - especially TCPScripts.cs.

From his readme:
Quote:
Code for uploading scores to the online scoreboard is here.
Read this tutorial for a better understanding of how to create you own online scoreboard:
http://www.clickteam.com/eng/resources/online_score/onlinescoreboards.html
#2
04/11/2010 (7:33 am)
thx a lot, the tutorial was a really helpful!