Game Development Community

Online High Score List

by Zeinad · in iTorque 2D · 05/19/2009 (9:59 am) · 4 replies

I'm trying to get highscores working on our game (submitting to a database on my server, I got the PHP and mySQL file required already on the server) and I've gotten it working through iTGB, but when I install it on my phone, it seems to do nothing.

I got the code from here (but made minor changes): http://www.garagegames.com/blogs/32/10202

Any ideas?

#1
05/19/2009 (10:33 am)
I may have a stupid question to pose to either the OP or the iTGB gurus, but does "Use Network" have to be checked in the iPhone Options for this to work?

I might want to try this feature in my game if it does work!
#2
05/19/2009 (11:40 am)
@ Raphael, enabling "Use Network" worked! But just checking the box in preferences did not, however. I had to go in to the common folder -> commonconfig.xml and change the "<UsesNetwork>0</UsesNetwork>" to "<UsesNetwork>1</UsesNetwork>" and it now works.

Oh, and a warning: this changes back to "0" on it's own, anyone know a way to make it stay?
#3
05/19/2009 (12:11 pm)
mark the file as read-only ;)
#4
05/19/2009 (12:44 pm)
^ Besides the extreme, lol.