Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9375 in orxonox.OLD for branches/proxy/src/lib


Ignore:
Timestamp:
Jul 21, 2006, 11:26:03 AM (18 years ago)
Author:
patrick
Message:

hard core debug output enabled. there is a untraceable strange bug. stuck.

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

Legend:

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

    r9374 r9375  
    625625    for ( SynchronizeableList::iterator it = synchronizeables.begin(); it != synchronizeables.end(); it++ )
    626626    {
     627
    627628      int oldOffset = offset;
    628629      Synchronizeable & sync = **it;
     630
    629631
    630632      // do not include synchronizeables with uninit id and syncs that don't want to be synchronized
     
    644646      if ( sync.getLeafClassID() == CL_NULL_PARENT )
    645647        continue;
     648
    646649
    647650      assert( sync.getLeafClassID() != 0);
     
    658661      offset += n;
    659662
    660       // make space for size
     663      // make space for packet size
    661664      offset += INTSIZE;
    662665
  • branches/proxy/src/lib/network/shared_network_data.cc

    r9374 r9375  
    3737  this->defaultSyncStream = NULL;
    3838
    39   if(State::isOnline())
     39  if( State::isOnline())
    4040    this->newUniqueID = ProxySettings::getInstance()->getMaxPlayer() + 2;
    4141  else
  • branches/proxy/src/lib/network/synchronizeable.cc

    r9371 r9375  
    207207      n = (*it)->writeToBuf( stateTo->data+i, stateTo->dataLength - i );
    208208      //NETPRINTF(0)("getvar %s %d\n", (*it)->getName().c_str(), n);
     209      PRINTF(0)("getvar %s %d\n", (*it)->getName().c_str(), n);
    209210      stateTo->sizeList.push_back( n );
    210       //(*it)->debug();
     211      // this is only for very hardcore debug sessions
     212      // (*it)->debug();
    211213      i += n;
    212214    }
     
    325327      i += n;
    326328      //NETPRINTF(0)("%s::setvar %s %d\n", getClassName(), (*it)->getName().c_str(), n);
     329      PRINTF(0)("%s::setvar %s %d\n", getClassName().c_str(), (*it)->getName().c_str(), n);
    327330      //(*it)->debug();
    328331      if ( (*it)->getHasChanged() )
Note: See TracChangeset for help on using the changeset viewer.