diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index 43c4840f..88bcdd58 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -293,7 +293,7 @@ ServerGame::TimerVoteKick(const boost::system::error_code &ec) PlayerDataList ServerGame::InternalStartGame() { - LOG_VERBOSE("InternalStartGame() entered."); + LOG_ERROR("InternalStartGame() entered."); // Initialize the game. PlayerDataList playerData(GetFullPlayerDataList()); @@ -347,7 +347,7 @@ ServerGame::InternalStartGame() // @TODO: here to save lastGames with mysql per player //if (GetGameData().gameType == GAME_TYPE_RANKING) - LOG_VERBOSE("before StoreLastGames()."); + LOG_ERROR("before StoreLastGames()."); if(true) StoreLastGames(); @@ -458,18 +458,18 @@ ServerGame::StoreLastGames() RankingMap::const_iterator i = m_rankingMap.begin(); RankingMap::const_iterator end = m_rankingMap.end(); -LOG_VERBOSE("StoreLastGames() entered."); +LOG_ERROR("StoreLastGames() entered."); while (i != end) { -LOG_VERBOSE("iterating m_rankingMap ... userId " << (*i).second.dbid); +LOG_ERROR("iterating m_rankingMap ... userId " << (*i).second.dbid); boost::shared_ptr tmpSession = GetSessionManager().GetSessionByUniquePlayerId((*i).second.dbid); if(tmpSession){ std::vector lastGames = tmpSession->GetPlayerData()->GetPlayerLastGames(); - //if(lastGames.size() > 0) + if(lastGames.size() > 0) //GetLobbyThread().GetDatabase().SetGamePlayerPlace(GetId(), (*i).second.dbid, lastGames); - LOG_VERBOSE("last timeStamp" << *lastGames.end() << "."); + LOG_ERROR("last timeStamp" << *lastGames.end() << "."); } ++i; } diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 5e78367d..8ce8c4a0 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -828,7 +828,7 @@ ServerGameStateStartGame::TimerTimeout(const boost::system::error_code &ec, boos void ServerGameStateStartGame::DoStart(boost::shared_ptr server) { - LOG_VERBOSE("DoStart() entered."); + LOG_ERROR("DoStart() entered."); PlayerDataList tmpPlayerList(server->InternalStartGame()); if (tmpPlayerList.size() <= 1) { if (!tmpPlayerList.empty()) {