Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2006, 10:15:18 AM (18 years ago)
Author:
patrick
Message:

making the node id system as consistant as possible

File:
1 edited

Legend:

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

    r9406 r9449  
    99UserId:
    1010containing the id of a user (==client). This id must be unique within a orxonox network its used especialy in the NetworkStream for node identification and also in the Synchronizeable base class for permissions checking (PERMISSION_OWNER)
    11 WARNING:
    12 There is some correlation between userids and the maxplayer, do not touch this.
     11
     12the connections belonging tu toe userId's are stored in the NetworkStream::peers std::map. As a keyvalue the userId's are used. Therefore the usage of this peers map is very delicate. Don't ever try to add anything you are not sure about the id stuff.
     13
     14There are some reserved id's, don't mess with them:
     150 :                  Master Server
     161 :                  First Proxy Server
     172 :                  Second Proxy Server
     183 :                  Third Proxy Server
     194 :                  Fourth Proxy Server
     20.
     21.
     22.
     23NET_MAX_PROXY        The maximal number of proxy servers
     24NET_MAX... + 1       First Client
     25NET_MAX... + 2       Second Client
     26.
     27.
     28.
     29NET_MAX_CONNECTION   Last client
     30
    1331
    1432
Note: See TracChangeset for help on using the changeset viewer.