Changeset 9540 in orxonox.OLD for branches/proxy
- Timestamp:
- Jul 28, 2006, 9:30:47 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/README.NETWORK
r9531 r9540 14 14 - the clients cant get its ip in the handleHandshakes without throuwing sigseg 15 15 - 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 - Permissions: Proxy Servers shouldn't be able to create new eneitites on the server 16 17 17 18 … … 66 67 PERMISSION_ALL : all clients can write this variable 67 68 69 Only the master server should have the permission to create new WorldEntities and to add them to the game 68 70 69 71 … … 79 81 =============== 80 82 The message manager has special handling if its a master/proxy: the messages will simply be forwarded to the other server 83 84 85 Proxy Control: 86 ============== 87 The ProxyControl class manages the state of the network by exchanging state messages. -
branches/proxy/src/lib/network/proxy/proxy_control.cc
r9539 r9540 103 103 bool ProxyControl::messageHandlerNewClient( MessageType messageType, byte * data, int dataLength, void * someData, int senderId, int destinationId ) 104 104 { 105 PRINTF(0)("Got Signal: new player arrived ");105 PRINTF(0)("Got Signal: new player arrived\n"); 106 106 // part for the master server 107 107 if( SharedNetworkData::getInstance()->isMasterServer())
Note: See TracChangeset
for help on using the changeset viewer.