Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9540 in orxonox.OLD


Ignore:
Timestamp:
Jul 28, 2006, 9:30:47 AM (18 years ago)
Author:
patrick
Message:

some small doc entry

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/README.NETWORK

    r9531 r9540  
    1414 - the clients cant get its ip in the handleHandshakes without throuwing sigseg
    1515 - 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
    1617
    1718
     
    6667PERMISSION_ALL                 : all clients can write this variable
    6768
     69Only the master server should have the permission to create new WorldEntities and to add them to the game
    6870
    6971
     
    7981===============
    8082The message manager has special handling if its a master/proxy: the messages will simply be forwarded to the other server
     83
     84
     85Proxy Control:
     86==============
     87The ProxyControl class manages the state of the network by exchanging state messages.
  • branches/proxy/src/lib/network/proxy/proxy_control.cc

    r9539 r9540  
    103103bool ProxyControl::messageHandlerNewClient( MessageType messageType, byte * data, int dataLength, void * someData, int senderId, int destinationId  )
    104104{
    105   PRINTF(0)("Got Signal: new player arrived");
     105  PRINTF(0)("Got Signal: new player arrived\n");
    106106  // part for the master server
    107107  if( SharedNetworkData::getInstance()->isMasterServer())
Note: See TracChangeset for help on using the changeset viewer.