mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[6800] Added revision number output.
* Changed genrevision to use * instead of unknown when some info can not be found * Added the git_id tool which is used to generate changes to revision_nr.h and the commit message
This commit is contained in:
parent
b681f5ac1a
commit
cfd9ccdaaf
12 changed files with 460 additions and 14 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include "AccountMgr.h"
|
||||
#include "SystemConfig.h"
|
||||
#include "revision.h"
|
||||
#include "revision_nr.h"
|
||||
#include "Util.h"
|
||||
|
||||
bool ChatHandler::HandleHelpCommand(const char* args)
|
||||
|
|
@ -95,9 +96,9 @@ bool ChatHandler::HandleServerInfoCommand(const char* /*args*/)
|
|||
|
||||
char const* full;
|
||||
if(m_session)
|
||||
full = _FULLVERSION(REVISION_DATE,REVISION_TIME,"|cffffffff|Hurl:" REVISION_ID "|h" REVISION_ID "|h|r");
|
||||
full = _FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_NR,"|cffffffff|Hurl:" REVISION_ID "|h" REVISION_ID "|h|r");
|
||||
else
|
||||
full = _FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_ID);
|
||||
full = _FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_NR,REVISION_ID);
|
||||
|
||||
SendSysMessage(full);
|
||||
PSendSysMessage(LANG_USING_SCRIPT_LIB,sWorld.GetScriptsVersion());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue