- Timestamp:
- Jul 25, 2006, 8:30:40 PM (18 years ago)
- Location:
- branches/proxy/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/player_stats.cc
r9452 r9466 191 191 void PlayerStats::setNickName( std::string nick ) 192 192 { 193 if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())193 if ( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/ ) 194 194 { 195 195 this->nickName = nick; -
branches/proxy/src/lib/network/synchronizeable.cc
r9459 r9466 72 72 this->networkStream->disconnectSynchronizeable(*this); 73 73 74 if ( (SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())74 if ( (SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/ ) 75 75 && this->beSynchronized() && this->getUniqueID() > 0 && !this->isA( CL_MESSAGE_MANAGER ) ) 76 76 NetworkGameManager::getInstance()->removeSynchronizeable( this->getUniqueID() ); -
branches/proxy/src/story_entities/multi_player_world_data.cc
r9452 r9466 112 112 const TiXmlElement* element = NULL; 113 113 114 if( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())114 if( SharedNetworkData::getInstance()->isMasterServer()) 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() ) 151 151 { 152 152 while( element != NULL) … … 206 206 207 207 208 if( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())208 if( SharedNetworkData::getInstance()->isMasterServer()) 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()) 287 287 { 288 288 NetworkGameManager::getInstance()->signalNewPlayer( 0 ); -
branches/proxy/src/world_entities/spawning_point.cc
r9455 r9466 178 178 } 179 179 180 if ( found && SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())180 if ( found && SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/) 181 181 this->sendRespawnMessage( it->entity->getUniqueID() ); 182 182 … … 218 218 bool SpawningPoint::respawnMessageHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId ) 219 219 { 220 if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive())220 if ( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/) 221 221 { 222 222 PRINTF(2)("server received spawn message!\n");
Note: See TracChangeset
for help on using the changeset viewer.