Online Highscores

Posted by Mordi on Aug. 27, 2006, 5:56 p.m.

Is there any way to make an online highscore, where you can only have òne single entry, wich can be updated (One per user)?

If you dont understand; Imagine a racong game. When you have finished a level, the time gets uploaded, and you raced this level before, but now you raced it faster. The previous time gets erased, and the name time fills its place (In a way).

The current one i have now (wich ChIken so kindly gave me), works this way; Every time you upload the score, a new line (or place) is created. So if i got one point over the previous time i uploaded, i get position number 1 and 2, or 7 and 6, for that matter.

So the question is; Is that method with the race game i described, possible? And have anyone made it, and can they help me?

Comments

AthamX 18 years, 3 months ago

Huh? In english please…

Onyx 18 years, 3 months ago

I don't know what Chicken sent you but I guess it's some kind of DLL that comunicates with MySQL database. You'll need to change SQL queries a bit, if you can give me a link to whatever you're using I can try to help you.

Mordi 18 years, 3 months ago

Ok, Onyx. Do you have MSN? I will send you a PM.

Doomed 18 years, 3 months ago

You could probably tell it to search for the user's name and then overwrite it. That shouldn't be too hard with PHP. Also you might want to make it check for IP's, that way I couldn't sign in with someone else's name and have it overwrite their score.

Mordi 18 years, 3 months ago

I like your idea, Doomy.

MSN?

Martinius_nr_13@hotmail.com

If you have msn.

NeutralReiddHotel 18 years, 3 months ago

Dood, stop being lazy and search. There are some examples here of an online highscore ChIkEn made.

Unfortunatly, I don't have the URL, so look for it. =D

twisterghost 18 years, 3 months ago

gml_josea made a simple online hiscore thing. check that out.

poultry 18 years, 3 months ago

@TG, It probably reeks of security leaks

noshenim 18 years, 3 months ago

send screen name, score, and ip to php.

php deletes all matching ips.

php writes score and screen name to file.

???

Mordi 18 years, 3 months ago

Dabridge: Stop being lazy and READ WHAT IT SAYS. Chiken gave me the highscores, but they didnt have one-score-only functionality.

_player_: I am being helped with PhP now.