GameTracker > Forum > Ideas & Requests > Colored Server Names with UT2004 Servers
Vultr.com - Instant Cloud Server Deployment
GAMETRACKER FORUMS
Forum Home > Ideas & Requests > Colored Server Names with UT2004 Servers
notipaPM
#1
Colored Server Names with UT2004 Servers
Oct 09, 2016 6:44 AM
Joined: Jun 01, 2015
Posts: 2
UT2004 supports color values in stings with the following format:
'\x1bRGB'
where the values of R, G, and B are bytes forming a 24-bit RGB color. These formatting codes are present in all server queries (be it the port N+1 UT2Query format, the port N+10 GameSpy format that GameTracker uses, or the Master Server uplink), and GameTracker does not filter these out; see the proTheory servers for the formatting gore that appears. A simple regex replacement for '\x1b...' to '' will remove these color codes.

[edit] A look at the raw data from the server above:
'hostname': '\x1b@@@\xb0\x1b\xf8@@pT\x1b@@@\xbb\x1b\xf8@@ProTheory\x1b@@@\xbb \x1b\xf8\xf8@1v1 DM and TDM! \x1b@@@[\x1b\xc0\xf8\xf8Chicago\x1b@@@]'
nabobobiPM
#2
Oct 13, 2016 6:18 PM
Joined: Nov 30, 2014
Posts: 10
Hi
Notipa

Yes would be very nice if GameTracker customized/colorized the letters!



P.s
Notipa is one of our senior 3SPN programmer of our flourishing UT2004(2016)community!
I thank you all!! for helping us players and server admins keep double jump UT2004 game community alive despite epic games still focusing new ut’s for console! "players".