Changed: Write revision and build date in crash logs

--HG--
branch : develop
This commit is contained in:
kervala 2015-11-14 19:28:36 +01:00
parent e96730829c
commit d5c1d18ebf

View file

@ -36,7 +36,7 @@
#include "user_entity.h" #include "user_entity.h"
#include "view.h" #include "view.h"
#include "login.h" #include "login.h"
#include "game_share/ryzom_version.h" #include "user_agent.h"
#include "interface_v3/interface_manager.h" #include "interface_v3/interface_manager.h"
#include "interface_v3/sphrase_manager.h" #include "interface_v3/sphrase_manager.h"
#include "entities.h" #include "entities.h"
@ -526,7 +526,7 @@ string getDebugInformation()
str += toString("ConnectState: %s\n", NetMngr.getConnectionStateCStr()); str += toString("ConnectState: %s\n", NetMngr.getConnectionStateCStr());
str += toString("LocalAddress: %s\n", NetMngr.getAddress().asString().c_str()); str += toString("LocalAddress: %s\n", NetMngr.getAddress().asString().c_str());
str += toString("Language: %s\n", CI18N::getCurrentLanguageName().toString().c_str()); str += toString("Language: %s\n", CI18N::getCurrentLanguageName().toString().c_str());
str += toString("ClientVersion: "RYZOM_VERSION"\n"); str += toString("ClientVersion: %s\n", getDebugVersion().c_str());
if (ClientCfg.R2Mode) if (ClientCfg.R2Mode)
{ {
str += toString("PatchVersion: %s\n", R2ServerVersion.c_str()); str += toString("PatchVersion: %s\n", R2ServerVersion.c_str());