Notes on server names.

General Stuff about Armagetron, That doesn't belong anywhere else...
Post Reply
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Notes on server names.

Post by epsy »

0.3.1 will introduce major changes in server name sorting. Server sorting by name will feel more natural by then.

More natural means server names you pronounce "AAAAAAAAA" will be shown at the beginning and server names you pronounce "Z.Z.Z.Z.Z.Z.Z.Z.Z.Z" will be shown at the end

This means admins who prefixed their server name with <Some color><spaces> won't be shown on the top anymore. Good news is also that the raw IPs that separated them from correctly-named servers are gone to the bottom of the list.


For those interested, what the new sorting algorithm does is filter every character but letters, and puts it in lowercase. Of course, color codes are removed first. Some other characters are interpreted as letters, too.

Some examples:
  • Original name -> Name used for sorting
  • Z-Man's Ladle Server -> zmansladleserver
  • 0xff7722 Wild West =0xff3300Capture The Flag0xff7722= 0xff7722California -> wildwestcapturetheflagcalifornia
  • 0x88aa88~|DS|~DarkSyndicate's 0x998888Arena -> dsdarksyndicatesarena
This would be how it would be sorted:
  1. 0x88aa88~|DS|~DarkSyndicate's 0x998888Arena
  2. 0xff7722 Wild West =0xff3300Capture The Flag0xff7722= 0xff7722California
  3. Z-Man's Ladle Server
Servers that have an empty sort name will NOT be shown.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Notes on server names.

Post by Z-Man »

epsy wrote:Servers that have an empty sort name will NOT be shown.
Are there such servers? It would be nice to inform them then :)
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

There was one, otherwise I wouldn't even have thought about it. It's canonical name was empty, so I don't know who it belongs to.
User avatar
KamP
Round Winner
Posts: 266
Joined: Sun Oct 09, 2005 4:50 am
Location: Miami, Florida
Contact:

Post by KamP »

So server names beginning with colors would come first? That doesn't seem correct, I have to say. Is there any way to ignore colors when sorting?
Luke-Jr
Dr Z Level
Posts: 2246
Joined: Sun Mar 20, 2005 4:03 pm
Location: IM: luke@dashjr.org

Post by Luke-Jr »

Great, now we get:
  • A Ladle Server hosted by Z-Man
    An Amazing Wild West Fortress Server
    An Amazing Wild West CTF Server in Cali
    An Arena of DarkSyndicate
User avatar
KamP
Round Winner
Posts: 266
Joined: Sun Oct 09, 2005 4:50 am
Location: Miami, Florida
Contact:

Post by KamP »

Oh wait, I get it now.
I'm dumb
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Post by Concord »

epsy, thanks
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

AA: A brilliant server named Fortress Café :-D
There's no place like ::1
User avatar
Lucifer
Project Developer
Posts: 8751
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Default sorting is still server score, don't worry. ;) So there's no point in trying to change your server name to show up first. Or rather, if you want your server listed first, improve its ping or get a lot of players to play on it all the time.

This will just make it easier to find specific servers when you sort by name. :) Thanks, epsy!
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Lucifer wrote:get a lot of players to play on it all the time.
Or get it to pretend to always have 4 or 5 players :-P

No, really, the difficulty in finding a particular server has always annoyed me, that's one of the reasons I usually just use a server feed and --connect.
There's no place like ::1
User avatar
sinewav
Graphic Artist
Posts: 6488
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Post by sinewav »

I think the best part is getting those raw IPs sent to the bottom. That alone is worth the rewrite.
Post Reply