This is a fork of Zandronum Beta for TSPG.
Revision | 534a40542c9b69183c45060aa8909e391443c67c (tree) |
---|---|
Time | 2021-12-06 06:18:04 |
Author | ![]() |
Commiter | Joshua Surace |
Fixed color codes for sending server info to TSPG
@@ -1456,12 +1456,12 @@ | ||
1456 | 1456 | |
1457 | 1457 | // Send welcome message. |
1458 | 1458 | SERVER_PrintfPlayer( g_lCurrentClient, "\n" ); |
1459 | - SERVER_PrintfPlayer( g_lCurrentClient, "\cnWelcome to \cj%s\cn!\n", brandingName ); | |
1460 | - SERVER_PrintfPlayer( g_lCurrentClient, "\cnThis server is running \cj%s %s (TSPGv%s)\n", GAMENAME, GetVersionStringRev(), TSPG_VERSION_STR); | |
1461 | - SERVER_PrintfPlayer( g_lCurrentClient, "\cn Compiled on \cj%s\cn at \cj%s\n", __DATE__, __TIME__ ); | |
1462 | - if (owner) SERVER_PrintfPlayer(g_lCurrentClient, "\cnThis server was started by \cj%s\cn at \cj%s", owner, g_pszStartupTime); | |
1463 | - SERVER_PrintfPlayer(g_lCurrentClient, "\cnIf you wish to host your own server on %s, visit \cj%s\cn!\n", brandingShort, brandingUrl); | |
1464 | - SERVER_PrintfPlayer(g_lCurrentClient, "\n\cfServer information:\n"); | |
1459 | + SERVER_PrintfPlayer( g_lCurrentClient, "\\cnWelcome to \\cj%s\cn!\n", brandingName ); | |
1460 | + SERVER_PrintfPlayer( g_lCurrentClient, "\\cnThis server is running \\cj%s %s (TSPGv%s)\n", GAMENAME, GetVersionStringRev(), TSPG_VERSION_STR); | |
1461 | + SERVER_PrintfPlayer( g_lCurrentClient, "\\cn Compiled on \\cj%s\\cn at \\cj%s\n", __DATE__, __TIME__ ); | |
1462 | + if (owner) SERVER_PrintfPlayer(g_lCurrentClient, "\\cnThis server was started by \\cj%s\\cn at \\cj%s", owner, g_pszStartupTime); | |
1463 | + SERVER_PrintfPlayer(g_lCurrentClient, "\\cnIf you wish to host your own server on %s, visit \\cj%s\\cn!\n", brandingShort, brandingUrl); | |
1464 | + SERVER_PrintfPlayer(g_lCurrentClient, "\n\\cfServer information:\n"); | |
1465 | 1465 | |
1466 | 1466 | SERVER_PrintfPlayer(PRINT_HIGH, g_lCurrentClient, "\\cg %s\n", sv_hostname.GetGenericRep(CVAR_String).String); |
1467 | 1467 | SERVER_PrintfPlayer(PRINT_HIGH, g_lCurrentClient, " dmflags=%lu dmflags2=%lu dmflags3=%lu compatflags=%lu compatflags2=%lu\n", (LONG)dmflags, (LONG)dmflags2, (LONG)zadmflags, (LONG)compatflags, (LONG)compatflags2); |