Changeset 9564 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 28, 2006, 2:04:40 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/README.NETWORK
r9548 r9564 10 10 UNSOLVED: 11 11 ========= 12 - what if the proxy server gets a new client and wants to add it to the game? There are some problems waiting in the network game manager13 - actualy the whole message sending system won't work in this network topic. proxys have to relay messages to clients14 12 - the clients cant get its ip in the handleHandshakes without throuwing sigseg 15 13 - MessageManager: proxy/server forward the messages always. Perhaps there is a case, where messages get forwarded forever if there is a loop in the network. think about it again. 16 14 - Permissions: Proxy Servers shouldn't be able to create new eneitites on the server 15 - the nick name must be handled new 17 16 18 17 -
branches/proxy/src/lib/network/network_stream.cc
r9553 r9564 659 659 ProxyControl::getInstance()->signalNewClient( it->second.userId); 660 660 661 662 // this->handleNewClient( it->second.userId ); 663 664 // if ( PlayerStats::getStats( it->second.userId ) && it->second.handshake->getPreferedNickName() != "" ) 665 // { 666 // PlayerStats::getStats( it->second.userId )->setNickName( it->second.handshake->getPreferedNickName() ); 667 // } 661 #warning dont know if this works: nick name handling 662 if ( PlayerStats::getStats( it->second.userId ) && it->second.handshake->getPreferedNickName() != "" ) 663 { 664 PlayerStats::getStats( it->second.userId )->setNickName( it->second.handshake->getPreferedNickName() ); 665 } 668 666 } 669 667 -
branches/proxy/src/lib/network/player_stats.cc
r9559 r9564 106 106 this->oldNickName = nickName; 107 107 } 108 109 if ( std::find( id.begin(), id.end(), preferedTeamId_handle) != id.end() ) 110 { 111 PRINTF(0)("user %s has changed team to %i\n", nickName.c_str(), this->teamId); 112 this->oldNickName = nickName; 113 } 108 114 } 109 115
Note: See TracChangeset
for help on using the changeset viewer.