Colored MOTD

New ideas, features you wish were in the game.
Post Reply
Berendol
Evil Iggy
Posts: 868
Joined: Mon 11.11.2002, 19:13
Location: Loot Pile
Contact:

Colored MOTD

Post by Berendol » Tue 22.04.2003, 01:56

The server "splash screen", the MOTD, is currently just a text file. Can we add color to it somehow? Maybe in-place color codes or something? I'd be happy to write a program to create these files if I was given the specifications. I know, it would break clients, but perhaps a message at the top saying "Upgrade your client if the rest of this screen is garbled" would do the trick.
By appreciation, we make excellence in others our own property. (Voltaire)

Crimson
King Lich
Posts: 315
Joined: Sat 26.10.2002, 15:00
Location: Mangband Project Team Member
Contact:

Re: Colored MOTD

Post by Crimson » Tue 22.04.2003, 08:47

You would first need to invents some form of color code parser.

The issue of the clients is trivial, it can be set by the client response to the server, and color code sequenncing "turned off" if the client is in caapable of  displaying it.

Since the server sends the entire thing under one attribute now,  modifying that code to simply send different attributes is trivial.
Are you not entertained?
Is this not what you came here for?

-- Maximus Decimus Meridias, The Gladiator

Post Reply