|
|
|||||||
| Register | Bookmark Us! | Donate | Forum Rules | FAQ | Members List | Calendar | Online Quizzes | Arcade | Search | Today's Posts | Mark Forums Read |
| Notices |
| Gadgets and the Internet Want to talk about gadgets, software, neat widgets or cool stuff on the web? Then post it in here. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) | ||||||||||
|
Junior Poster
Join Date: Jun 2006
Location: Italy
Posts: 27
Credits: 188
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
|
Quote:
High scores tables - as I think - are separated in the database, so the listing of ten best players for each game becomes very easy... I've used EXCEL, instead... a little bit harder... ;-) | ||||||||||
|
-----------------
ThundeRumble ----------------- |
|||||||||||
|
|
|
|
|
#2 (permalink) | |
|
Moderator
My Mood:
|
Quote:
| |
|
TheGuru
|
||
|
|
|
|
|
#3 (permalink) | |||||||||
|
Super Duper Poster
Join Date: Mar 2004
Location: UK
Posts: 604
Credits: 1,354
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
|
One database... with many tables. The highscore data is only in one table, but other tables are required to lookup the game name and whether the best score is the highest or the lowest... I think you were both aluding to this
It's a sligtly more difficult problem we're tackling, cos it has to handle multiple sets of highscores for whenever they're reset. Using the same dataset I've also been thinking about an all-time player ranking system, which is more the kind of thing ThundeRumble has done. Two of the ideas I had some time ago are quoted below: Quote:
| |||||||||
|
|
|
|
|
#4 (permalink) | ||||||||||
|
Junior Poster
Join Date: Jun 2006
Location: Italy
Posts: 27
Credits: 188
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
|
Quote:
I'm very proud of my solution, because I've done it for reading things in another forum, and I was able to reuse procedures in few minutes to make this little thing. BTW here's how: dload the games pages (the source) and get the names used for link to highscores' tables. then dload every highscore table, looks for keywords in html and locate what I want in the page... so I can locate the first 10 occurrences of names in every higscores' tables ;-) ;-) | ||||||||||
|
-----------------
ThundeRumble ----------------- |
|||||||||||
|
|
|
| Sponsored links | |
|
|
|
|
|
#5 (permalink) | ||||||||||
|
Super Duper Poster
Join Date: Mar 2004
Location: UK
Posts: 604
Credits: 1,354
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
|
Quote:
Quote:
Parsing html churned out by someone elses forum software isn't a trivial task, especially when it's split over several pages. Was your program getting the data via http requests using your log-in details or were you saving the html source code manually first? What do you think about my ranking ideas? My motivation is to produce a ranking scheme that benefits everyone who has set a score rather than just the 1st place trophy holders. I thought of weighting it using the following:
| ||||||||||
|
|
|
|
|
#6 (permalink) | |||||||||
|
Junior Poster
Join Date: Jun 2006
Location: Italy
Posts: 27
Credits: 188
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
|
Quote:
| |||||||||
|
-----------------
ThundeRumble ----------------- |
||||||||||
|
|
|
| Sponsored links | |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|