<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[T5] Plutonium Discord presence leaves ^< ^@ color codes in the server hostname]]></title><description><![CDATA[<p dir="auto">The Discord "now playing" rich presence strips ^0-^9, ^: and ^; from the server name, but passes the last five T5 color codes through literally: <strong>^&lt; ^= ^&gt; ^? ^@</strong>.<br />
Any server whose name uses one of those shows the raw code on every connected player's Discord card. Including my server, which has orange <strong>^&lt;</strong>.</p>
<p dir="auto">Repro. Set <strong>sv_hostname</strong> to a string carrying one code of each class and read the card:</p>
<pre><code>sent:  PROBE ^1a ^:b ^&lt;c ^=d ^&gt;e ^?f ^@g ^;h END
card:  PROBE a   b   ^&lt;c ^=d ^&gt;e ^?f ^@g h   END
</code></pre>
<p dir="auto">^1, ^: and ^; are removed correctly. The other five survive verbatim. (Tested on a dedicated server with the value re-asserted, since it otherwise reverts to the server-key label within ~20s.)</p>
<p dir="auto">Cause. T5's colour table has 17 entries, so valid codes run '0' (0x30) through '@' (0x40). The game's own parser, at t5mp.exe file offset 0x14BC70, is index = char - '0' with a bound of 17 and a white fallback, with no digit check at all:</p>
<pre><code>8A 44 24 04    mov   al, [esp+4]     ; char after '^'
2C 30          sub   al, 0x30        ; index = char - '0'
3C 11          cmp   al, 0x11        ; 17 = table size
0F B6 C0       movzx eax, al
72 05          jb    use_it
B8 07 00 00 00 mov   eax, 7          ; else white
C3             ret
</code></pre>
<p dir="auto">The strip behaves as though its range is '0'-';' (0x30-0x3B), i.e. entries 0-11, while the table has five more: ^&lt; orange, ^= steel blue, ^&gt; light grey, ^? purple, ^@ brown. Widening the upper bound to '@' should be the whole fix.</p>
]]></description><link>https://forum.plutonium.pw/topic/46264/t5-plutonium-discord-presence-leaves-@-color-codes-in-the-server-hostname</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 13:03:56 GMT</lastBuildDate><atom:link href="https://forum.plutonium.pw/topic/46264.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Aug 2026 07:59:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [T5] Plutonium Discord presence leaves ^< ^@ color codes in the server hostname on Thu, 27 Aug 2026 16:56:43 GMT]]></title><description><![CDATA[<p dir="auto">Open an issue here<br />
<a href="https://github.com/plutoniummod/issue-tracker/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/plutoniummod/issue-tracker/issues</a></p>
]]></description><link>https://forum.plutonium.pw/post/178017</link><guid isPermaLink="true">https://forum.plutonium.pw/post/178017</guid><dc:creator><![CDATA[Resxt]]></dc:creator><pubDate>Thu, 27 Aug 2026 16:56:43 GMT</pubDate></item></channel></rss>