Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9575 in orxonox.OLD for branches/proxy/src/lib/network


Ignore:
Timestamp:
Jul 28, 2006, 5:20:02 PM (18 years ago)
Author:
patrick
Message:

better debug output now

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9574 r9575  
    601601                 SharedNetworkData::getInstance()->isUserMasterServer(it->second.userId))
    602602            {
    603               PRINTF(0)("Handshake: i am in client role\n");
     603              PRINTF(4)("Handshake: i am in client role\n");
    604604
    605605              SharedNetworkData::getInstance()->setHostID( it->second.handshake->getHostId() );
     
    656656              else if ( SharedNetworkData::getInstance()->isProxyServerActive() && it->second.isClient() )
    657657              {
    658                 PRINTF(0)("Handshake: Proxy in server role: connecting %i\n", it->second.userId);
     658                PRINTF(4)("Handshake: Proxy in server role: connecting %i\n", it->second.userId);
    659659
    660660                it->second.ip = it->second.socket->getRemoteAddress();
  • branches/proxy/src/lib/network/player_stats.cc

    r9574 r9575  
    7676  MessageManager::getInstance()->registerMessageHandler( MSGID_CHANGENICKNAME, changeNickHandler, NULL );
    7777
    78   PRINTF(0)("PlayerStats created\n");
     78  PRINTF(5)("PlayerStats created\n");
    7979}
    8080
     
    9898    this->setPlayableUniqueId( this->playableUniqueId );
    9999
    100     PRINTF(0)("uniqueID changed %d %d %d\n", assignedUserId, SharedNetworkData::getInstance()->getHostID(), getUniqueID());
     100    PRINTF(4)("uniqueID changed %d %d %d\n", assignedUserId, SharedNetworkData::getInstance()->getHostID(), getUniqueID());
    101101  }
    102102
     
    150150void PlayerStats::setPlayableUniqueId( int uniqueId )
    151151{
    152   PRINTF(0)("set playable unique id %i\n", uniqueId);
    153152  const std::list<BaseObject*> * list = ClassList::getList( CL_PLAYABLE );
    154153
Note: See TracChangeset for help on using the changeset viewer.