User Agents
The RAC protocol doesn’t have any functionality to identify clients, so the community decided to use their own solution called User Agents.
User Agents in RAC are implemented by changing the message regex. For example, a message sent with the Tower client:
▲<zero> Hello, world!
It can be just a prefix, or actually a new message structure, For example, first versions of Mefedroniy, sent messages like this:
banon: Hello, world!
That's why the clients should use regex to parse these messages and determine the client, username, and message.
Known Agents
Below is a table of known user agents with their client names and regular expressions. Clients can also optionally use colored usernames for each client. You can add your own user agent via a pull request.
Client Name | Regular Expression | Color |
---|---|---|
Tower | \u25B2<(.*?)> (.*) | White |
bRAC | \uB9AC\u3E70<(.*?)> (.*) | Green |
CRAB | \u2550\u2550\u2550<(.*?)> (.*) | Light Red |
Mefedroniy | \u00B0\u0298<(.*?)> (.*) | Light Magenta |
cRACk | \u2042<(.*?)> (.*) | Gold |
crack | \u30C4<(.*?)> (.*) | Coral |
Snowdrop | \u0D9E<(.*?)> (.*) | Light Green |
clRAC | <(.*?)> (.*) | Cyan |