Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9387 in orxonox.OLD


Ignore:
Timestamp:
Jul 21, 2006, 1:43:27 PM (18 years ago)
Author:
patrick
Message:

bringing the max connection stuff down

Location:
branches/proxy/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/proxy/proxy_settings.cc

    r9357 r9387  
    2121#include "loading/load_param.h"
    2222
    23 
     23#include "debug.h"
    2424
    2525
  • branches/proxy/src/lib/network/shared_network_data.cc

    r9384 r9387  
    2020#include "state.h"
    2121
    22 
     22#include "debug.h"
    2323
    2424
     
    4040//     this->newUniqueID = ProxySettings::getInstance()->getMaxPlayer() + 2;
    4141//   else
    42     this->newUniqueID = NET_MAX_CONNECTIONS + 2;
     42  this->newUniqueID = NET_MAX_CONNECTIONS + 2;
    4343  this->nodeType = NET_CLIENT;
    4444}
  • branches/proxy/src/lib/network/shared_network_data.h

    r9384 r9387  
    1212
    1313//!< maximal connectinons for the server
    14 #define NET_MAX_CONNECTIONS 100
     14#define NET_MAX_CONNECTIONS 2
    1515
    1616class NetworkStream;
  • branches/proxy/src/util/game_rules.cc

    r9357 r9387  
    5050  BaseObject::loadParams(root);
    5151
    52   PRINTF(0)("GameRules::loadParams(...) hit me\n");
    5352  LoadParamXML(root, "MissionGoal", this, GameRules, loadMissionGoal)
    5453      .describe("an XML-Element to load the missions from");
     
    5958void GameRules::loadMissionGoal(const TiXmlElement* root)
    6059{
    61   PRINTF(0)("Trying to load MissionGoals\n");
     60  PRINTF(4)("Trying to load MissionGoals\n");
    6261  const TiXmlElement* element = root->FirstChildElement();
    6362  while( element != NULL)
     
    9190    return;
    9291
    93   PRINTF(0)("Received Event: Kill\n");
     92  PRINTF(4)("Received Event: Kill\n");
    9493
    9594  this->killList.push_back( kill );
Note: See TracChangeset for help on using the changeset viewer.