Created
August 25, 2012 06:20
-
-
Save vertrigo/3461501 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/game/Language.h b/src/game/Language.h | |
| index 8e0cd9f..e857604 100755 | |
| --- a/src/game/Language.h | |
| +++ b/src/game/Language.h | |
| @@ -974,6 +974,9 @@ enum MangosStrings | |
| // Broadcaster | |
| LANG_AUTO_BROADCAST = 1300, | |
| + LANG_SERVER_INFO_CORE = 1301, | |
| + LANG_SERVER_INFO_OS = 1302, | |
| + LANG_SERVER_LAST_UPDATE = 1303, | |
| // Use for not-in-offcial-sources patches | |
| // | |
| diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp | |
| index 3d2c177..f66b08e 100755 | |
| --- a/src/game/Level0.cpp | |
| +++ b/src/game/Level0.cpp | |
| @@ -108,9 +108,12 @@ bool ChatHandler::HandleServerInfoCommand(char* /*args*/) | |
| full = _FULLVERSION(REVISION_NR); | |
| fullR2 = _R2FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_R2,REVISIO | |
| } | |
| - SendSysMessage(full); | |
| - SendSysMessage(fullR2); | |
| - | |
| + //SendSysMessage(full); | |
| + //SendSysMessage(fullR2); | |
| + SendSysMessage(LANG_SERVER_INFO_CORE); | |
| + PSendSysMessage(LANG_SERVER_INFO_OS, _ENDIAN_PLATFORM); | |
| + PSendSysMessage(LANG_SERVER_LAST_UPDATE, __DATE__, __TIME__); | |
| + | |
| if (sScriptMgr.IsScriptLibraryLoaded()) | |
| { | |
| char const* ver = sScriptMgr.GetScriptLibraryVersion(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment