- Timestamp:
- Jul 25, 2006, 11:52:37 PM (18 years ago)
- Location:
- branches/proxy/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9476 r9479 555 555 // write the first informations into the node so they can be read from there for case differentiation 556 556 it->second.nodeType = it->second.handshake->getRemoteNodeType(); 557 it->second.ip = it->second.socket->getRemoteAddress();558 557 559 558 // the counter part didn't mark it free for deletion yet … … 568 567 this->pInfo->userId = SharedNetworkData::getInstance()->getHostID(); 569 568 569 it->second.ip = it->second.socket->getRemoteAddress(); 570 570 571 // it->second.nodeType = it->second.handshake->getRemoteNodeType(); 571 572 // it->second.ip = it->second.socket->getRemoteAddress(); … … 602 603 if ( SharedNetworkData::getInstance()->isMasterServer() ) 603 604 { 605 it->second.ip = it->second.socket->getRemoteAddress(); 606 604 607 this->networkMonitor->addNode(&it->second); 605 608 … … 613 616 else if ( SharedNetworkData::getInstance()->isProxyServerActive() && it->second.isClient() ) 614 617 { 615 it->second.nodeType = it->second.handshake->getRemoteNodeType();616 618 it->second.ip = it->second.socket->getRemoteAddress(); 617 619 -
branches/proxy/src/story_entities/multi_player_world_data.cc
r9476 r9479 112 112 const TiXmlElement* element = NULL; 113 113 114 if( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())114 if( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/) 115 115 { 116 116 /* load the spawning points */ … … 148 148 element = element->FirstChildElement(); 149 149 150 if( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())150 if( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/) 151 151 { 152 152 while( element != NULL) … … 206 206 207 207 208 if( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())208 if( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/) 209 209 { 210 210 this->localPlayer = new Player(); … … 284 284 285 285 // create server playable 286 if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())286 if ( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/) 287 287 { 288 288 NetworkGameManager::getInstance()->signalNewPlayer( 0 );
Note: See TracChangeset
for help on using the changeset viewer.