ID:70233
 
Not a bug
Not a bug
BYOND Version:440
Operating System:Windows Vista Home Basic
Web Browser:Firefox 3.0.10
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
Before the recent hub update regarding the medal system, GetScores(null,"field name") would return a list in order from highest to lowest value for the "field name". Now I retrieve the scores the exact same way I did before, but the list is randomized(?), instead of being ordered from highest to lowest.

Code Snippet (if applicable) to Reproduce Problem:
var/ranks=world.GetScores(null,"Score")
var/list/L=params2list(ranks)
for(var/X in L)
world<<X


should return: Ruben7, Javster, Chris-g1
instead returns: Chris-g1, Ruben7, Javster

Expected Results: To work as it used to...
Actual Results: Guess.
Does the problem occur:
Every time? Or how often? All day today.. worked fine yesterday.
In other games? I don't know.
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur? When it was yesterday.

Workarounds: None
The GetScores() routine does not guarantee it will return results in any particular order, so there is no bug. The order of the results is arbitrary.

Retreiving a list of top scorers has been a feature request for a little bit, and will likely go into a future version.