Master Server List : Sort by Users

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
LoveBug
Average Program
Posts: 50
Joined: Wed Jun 29, 2011 8:38 pm
Location: England
Contact:

Master Server List : Sort by Users

Post by LoveBug »

I got bored of manually moving the cursor in the master server list from sort by score to sort by users every time so I looked through the code to find out where the default setting was and found it was easy to change

The following snippet of code is from 02831 build in the file nServerInfo.cpp, change the first line in the function from Sort(KEY_SCORE) to Sort(KEY_USERS) so that the list is sorted by users

void nServerInfo::StartQueryAll( QueryType queryType ) // start querying the advanced info of each of the servers in our list
{
Sort(KEY_SCORE);
Image
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Master Server List : Sort by Users

Post by AI-team »

This should be a "feature" request!
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: Master Server List : Sort by Users

Post by sinewav »

I would definitely support sort by users as the new default.
Post Reply