View Full Version : I want my gold medal!
I beat Gio and want my medal - silly game wont submit! And those with 130k, post your proof and you can have it
:P
Gio Takahashi
05-23-2008, 14:02
The arcade has been having a bit of a problem with that, not submitting. I'm going to look into that.
// High Score Posting Determination
// Applies to all users except Gio
if($userID != 1) {
if ($userScore >= $gioScore) {
// Do Nothing
} else {
$scoringSystem->postScore($userScore);
}
} else {
$scoringSystem->postScore($userScore);
}
Thank you Gio.
$q = ("SELECT name FROM arcade WHERE rank='1'");
$db = mysql_query($q);
while($r=mysql_fetch_array($q))
{
$qr = ("UPDATE arcade SET name='Nad'");
$dbr = mysql_query($qr);
}
echo "Nad is no 1!";
Lol more like that, if it is even coded properly, forgot basics of php with mysql rofl.
Haha, yeah you've got some issues there.
require "mysql"
def setScores
db = Mysql.new(...)
if $user == "Smar"
db.query("INSERT INTO highscore (nick, games) VALUES ('#{$user}', 'all')")
else
db.query("DELETE FROM highscore WHERE nick = '#{$nick}'")
end
end
setScores
There's funny fully working piece of code, try it.
Get your dirty Ruby out of here.
you are!!
And ehm...
Here's some cpp/qt then.
void MainWindow::loadRoads(QuaZipFile *zipfile) {
if(!checkZipMode(zipfile)) {
return;
}
QByteArray roadba;
roadba = zipfile->readAll();
roadLoader = new LoadRoads();
connect(roadLoader, SIGNAL(roadsAreRead()), this, SLOT(drawRoads()));
roadLoader->readData(roadba);
}
but it's not that nice.
I'd code a query thingie, but I'm too dead to go to look how to make queries correctly... grh.
DoomKitty
05-23-2008, 16:17
yeah stupid games
No, we only like SQL queries in PHP!
Nice score btw doom, I hate that damn game though -.-
And what were you doing up at quarter to four in the morning?!
DoomKitty
05-23-2008, 17:22
No, we only like SQL queries in PHP!
Nice score btw doom, I hate that damn game though -.-
And what were you doing up at quarter to four in the morning?!
Nothing better to do?? lol
FFS, just got 227 649 but it would not bloody save! Damnit!!!!
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.