Changeset 9636 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 31, 2006, 2:22:22 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/message_manager.cc
r9568 r9636 453 453 recieverType == RT_ALL_BUT_ME || 454 454 recieverType == RT_USER && it->first == reciever || 455 recieverType == RT_USER && reciever == NET_ID_MASTER_SERVER && !getNetworkStream()->isUserMasterServer( it->first ) || // special case: forward 455 456 recieverType == RT_NOT_USER && it->first != reciever || 456 457 recieverType == RT_SERVER && getNetworkStream()->isUserMasterServer( it->first ) || -
branches/proxy/src/lib/network/network_manager.cc
r9626 r9636 170 170 this->networkStream->connectToMasterServer( name, port); 171 171 172 172 173 // and start the handshake 173 174 this->networkStream->startHandshake(); -
branches/proxy/src/lib/network/synchronizeable.cc
r9635 r9636 412 412 hasPermission = true; b3 = true; } 413 413 414 415 414 416 // Permission MASTER_SERVER accept if: 415 417 // sender == MASTER_SERVER … … 426 428 SharedNetworkData::getInstance()->isClient()*/) { 427 429 hasPermission = true; b6 = true; } 428 // sender == SERVER && i am SERVER && user is not local 429 // else if( (*it)->checkPermission( PERMISSION_SERVER ) && 430 // !SharedNetworkData::getInstance()->isUserClient( userId) && 431 // !SharedNetworkData::getInstance()->isClient() && 432 // !(SharedNetworkData::getInstance()->isUserLocal( this->owner) && 433 // this->owner != SharedNetworkData::getInstance()->getHostID())) { 434 // hasPermission = true; b7 = true; } 430 435 431 436 432 … … 438 434 else if( (*it)->checkPermission( PERMISSION_ALL )) { 439 435 hasPermission = true; b8 = true; } 436 440 437 441 438 // no rights to over-write local data
Note: See TracChangeset
for help on using the changeset viewer.