• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum Beta for TSPG.


Commit MetaInfo

Revision534a40542c9b69183c45060aa8909e391443c67c (tree)
Time2021-12-06 06:18:04
AuthorJoshua Surace <doomjoshuaboy@live...>
CommiterJoshua Surace

Log Message

Fixed color codes for sending server info to TSPG

Change Summary

Incremental Difference

diff -r d1d7fc429edb -r 534a40542c9b src/sv_main.cpp
--- a/src/sv_main.cpp Mon Nov 29 08:36:09 2021 +1100
+++ b/src/sv_main.cpp Mon Dec 06 08:18:04 2021 +1100
@@ -1456,12 +1456,12 @@
14561456
14571457 // Send welcome message.
14581458 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");
14651465
14661466 SERVER_PrintfPlayer(PRINT_HIGH, g_lCurrentClient, "\\cg %s\n", sv_hostname.GetGenericRep(CVAR_String).String);
14671467 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);