Working in script for Blockout II World Rankings

Discuss about Blockout II from Jean-Luc, post your feature requests etc.
Post Reply
scblockout
Posts: 34
Joined: Sat Feb 02, 2008 2:59 pm

Working in script for Blockout II World Rankings

Post by scblockout »

Hi,
I am working on a PHP script to build the definitive and long awaited (:huh:?) \"Blockout II World Rankings\".

The rule I\'m using to assign a rank to each player is: average the best 5 scores uploaded using the same name in the last two years.

Actually my final goal is average the 10 best scores in the last year, but this will reduce too much the list of players so by now I\'m being less restrictive, until all players begin to upload more regularly and using a consistent name.

For example, this is the full up-to-date ranking I\'m getting for 3D-mania:

Code: Select all

 1  Micha            194283.8     --> applause!
 2  DHKim            189745.4
 3  FREDJUST         186959.2
 4  dmahser          184022.6
 5  Paulo1500        183792.6
 6  Michalll         171768.8
 7  Asiunia          171110.6
 8  Three3K          170526.4
 9  Germansen        168132.0
10  ago              165331.0
11  Toni L.M.        156329.6
12  Jarin            152860.4
13  Rocco            148700.4
14  Kurt             143224.6
15  kiwi             140274.2
16  jfz              139144.8
17  santiago         139023.2   --> this is me!
18  crc32            137476.4
19  Mark L           136590.0
20  Sacred           135720.4
21  ruben            131918.2
22  kuemmel          131293.2
23  qwak             130829.0
24  Cray             128410.2
25  mad              127174.0
26  wim              124003.4
27  mil_             122613.6
28  Superluda        121995.2
29  LCQ              121513.8
30  rouen100         118643.4
31  alexZ            118040.6
32  xee              116495.2
33  xisman           114573.2
34  crimon           114495.2
35  Tomchef          113402.8
36  Jet              113190.2
37  ppk              112492.6
38  Arturs           112316.4
39  Dziobak          111369.6
40  Henrie           110913.4
41  greg             109248.2
42  S@en             106841.0
43  amit             104629.2
44  gprade           103841.0
45  RV               100978.6
46  Slavko            99438.2
47  Thierry           89668.8
48  James             86893.6
I\'m using the \"getscores.php\" script (I saw a note in some forum post and investigated a little), but the issue I\'m facing is that it seems to be limited to the top 1024 scores.
Is there any way to retrieve all the scores, or page the results, or order by timestamp instead of score? That way I can process all the scores instead of the 1K top only and more players can be included.

Post edited by: scblockout, at: 2009/08/30 08:25<br><br>Post edited by: scblockout, at: 2009/08/30 08:26
User avatar
Renato
Posts: 37
Joined: Wed Jul 11, 2007 3:56 pm

Re:Working in script for Blockout II World Rankings

Post by Renato »

Good idea!

The disadvantage of the method you\'re describing is that someone who played the related mode less than 5 times will not be in the list?
Perhaps it\'s an idea to allocate a kind of weight factor in calculating the average?

Renato -
scblockout
Posts: 34
Joined: Sat Feb 02, 2008 2:59 pm

Re:Working in script for Blockout II World Rankings

Post by scblockout »

I don\'t see an issue with that, really. The ranking idea is aimed to us regular Blockout players, who will for sure have far more than 10 scores in a specific mode. Non-frequent players can normally upload their scores and they will eventually enter the ranking.
Older user who have less than 10 scores registered can upload more scores from the \"Hall of fame\" to make it into the ranking.
And of course, this tries to reflect the status of the current players, so if you don\'t upload scores for a year you won\'t be in the list.
The online score database with all-time high scores is always available, anyway -- well, unless the hosting service shuts it down! :S
User avatar
Renato
Posts: 37
Joined: Wed Jul 11, 2007 3:56 pm

Re:Working in script for Blockout II World Rankings

Post by Renato »

Problem is that there are players (like me) who only upload a personal best score to prevent polution of the score lists.

There is an initiative on going to clean up the score lists of names which are in the list more than x-times.
scblockout
Posts: 34
Joined: Sat Feb 02, 2008 2:59 pm

Re:Working in script for Blockout II World Rankings

Post by scblockout »

Yeah, actually that\'s the point! I also proposed cleaning up the score list long ago, but there are many players who upload each and every score they make.
So... \"if you can\'t beat them, join them\".
Just upload your best 5 or 10 scores and you will enter the ranking (I mean, if it is officially accepted by Blockout admins, of course) :dry:
scblockout
Posts: 34
Joined: Sat Feb 02, 2008 2:59 pm

Re:Working in script for Blockout II World Rankings

Post by scblockout »

Just for fun, here are the top ten for the other two classic setups (average over 5 best scores in last two years):

Code: Select all

Flat Fun:
 1  Gosho            295763.8
 2  Micha            192033.8
 3  Sidon            178221.2
 4  rud              171082.6
 5  Azeret           166586.8
 6  LoGaN            154416.0
 7  gabe             154377.2
 8  Knorrke          152002.0
 9  Daoud            146840.0
10  Niero            146205.4

Code: Select all

Out of Control:
 1  Bane-YU          334683.2
 2  MRo              332599.8
 3  Peter            318068.0
 4  Adi              303043.6
 5  ingo             302455.0
 6  Jutta            293765.2
 7  UT               281600.4
 8  cb               267832.4
 9  icsantos         263924.0
10  Quincunx74       256420.2
(I still need to learn how to map the \"setupid\" to the corresponding pit size and block set for the non-standard setups).
Post Reply