Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6304 in orxonox.OLD for branches/network


Ignore:
Timestamp:
Dec 26, 2005, 1:24:03 PM (19 years ago)
Author:
rennerc
Message:
 
Location:
branches/network/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_game_manager.cc

    r6303 r6304  
    158158    SYNCHELP_WRITE_BYTE( b );
    159159    hasRequestedWorld = true;
    160     PRINTF(0)("the world is enough! id=%\n", this->getUniqueID());
     160    PRINTF(0)("the world is enough! id=%d\n", this->getUniqueID());
    161161    return SYNCHELP_WRITE_N;
    162162  }
     
    399399      //PRINTF(0)("SendEntityList: ClassID = %x\n", (*it)->getRealClassID());
    400400
    401       if ( !writeToClientBuffer( outBuffer[userID], (*it)->getUniqueID() ) )
     401      if ( !writeToClientBuffer( outBuffer[userID], (int)((*it)->getUniqueID()) ) )
    402402        return;
    403403
    404       if ( !writeToClientBuffer( outBuffer[userID], (*it)->getOwner() ) )
     404      if ( !writeToClientBuffer( outBuffer[userID], (int)((*it)->getOwner()) ) )
    405405        return;
    406406    }
  • branches/network/src/lib/network/network_stream.cc

    r6303 r6304  
    6565  this->connectSynchronizeable(*hs);
    6666  PRINTF(0)("NetworkStream: %s\n", hs->getName());
     67  this->maxConnections = 1;
    6768}
    6869
Note: See TracChangeset for help on using the changeset viewer.