ddnet Info

This commit is contained in:
def 2013-08-07 04:47:03 +02:00
parent 987efe8604
commit b567c32820
2 changed files with 5 additions and 5 deletions

View file

@ -42,17 +42,17 @@ void CGameContext::ConInfo(IConsole::IResult *pResult, void *pUserData)
{
CGameContext *pSelf = (CGameContext *) pUserData;
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"DDRace Mod. Version: " GAME_VERSION);
"DDRaceNetwork Mod. Version: " GAME_VERSION);
#if defined( GIT_SHORTREV_HASH )
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"Git revision hash: " GIT_SHORTREV_HASH);
#endif
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"Official site: DDRace.info");
"Official site: ddnet.no-ip.info");
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"For more Info /cmdlist");
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"Or visit DDRace.info");
"Or visit ddnet.no-ip.info");
}
void CGameContext::ConHelp(IConsole::IResult *pResult, void *pUserData)

View file

@ -670,8 +670,8 @@ void CGameContext::OnClientEnter(int ClientID)
str_format(aBuf, sizeof(aBuf), "'%s' entered and joined the %s", Server()->ClientName(ClientID), m_pController->GetTeamName(m_apPlayers[ClientID]->GetTeam()));
SendChat(-1, CGameContext::CHAT_ALL, aBuf);
SendChatTarget(ClientID, "DDRace Mod. Version: " GAME_VERSION);
SendChatTarget(ClientID, "please visit http://DDRace.info or say /info for more info");
SendChatTarget(ClientID, "DDRaceNetwork Mod. Version: " GAME_VERSION);
SendChatTarget(ClientID, "please visit http://ddnet.no-ip.info or say /info for more info");
if(g_Config.m_SvWelcome[0]!=0)
SendChatTarget(ClientID,g_Config.m_SvWelcome);