PDA

View Full Version : Sortable ladder rankings


Magnate
June 19, 2007, 14:27
Hi Pav,

Is it possible to make the ladders sortable by columns? At the moment they can only be sorted by clev and submission date. I'm thinking of S in particular, where it would be *very* nice to be able to sort by Score, as this is far more significant than clev.

Nice site btw,

CC

Magnate
June 19, 2007, 14:29
P.S. It would also be very handy to have a Turncount column and be able to sort by that. Again, it's more significant than clev or xp.

pav
June 19, 2007, 16:21
I have added sorting by exp/score, that's easy.

As for turncount column, that would be a bit harder to do, because I'd have to modify the parser and rescan all the dumps. Also, lot of variants don't print turncount in their character dumps.

It's certainly something to think about for the future. Thanks for the suggestion.

camlost
June 19, 2007, 18:26
Thanks for the new sorting order!

Magnate
June 20, 2007, 10:20
I have added sorting by exp/score, that's easy.
That's fantastic - thanks Pav!
As for turncount column, that would be a bit harder to do, because I'd have to modify the parser and rescan all the dumps. Also, lot of variants don't print turncount in their character dumps.
Doh - of course, I'd not considered that. IIRC no dumps had turn counts until quite recently. Oh well.

CC

takkaria
June 20, 2007, 12:34
That's fantastic - thanks Pav!

Doh - of course, I'd not considered that. IIRC no dumps had turn counts until quite recently. Oh well.

I'll note that down as something to put in V...

andrewdoull
June 20, 2007, 14:52
I'll note that down as something to put in V...

Mikolaj did a really good turn count implementation for Unangband. I'm sure if you talk nicely, he'd love to port it to Angband.

See e.g. http://angband.oook.cz/ladder-show.php?id=6803 for the break down of game turns, player turns and actual turns. Actual turns don't count repeated moves e.g. resting.

Bandobras
June 20, 2007, 15:57
:) Thanks a lot (I'm a distant Middle Earth relative of Mikolaj).

I've just swiped the routines from various variants and put them together. Moreover, I see people confuse the abbreviations I chose for Player turns and Active turns. Moreover, some people want even more kinds of counters. So it's work in progress, actually...