Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2008, 2:21:00 PM (16 years ago)
Author:
scheusso
Message:

compressing and diffing works now (also shipCache on client). server can't move while client connected. preparations for synchronise frequency of synchronisables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/Server.cc

    r1739 r1742  
    264264      //std::cout << "adding gamestate" << std::endl;
    265265      gs->setClientID(cid);
    266       assert(gs->compressData());
    267266      if ( !gs->send() ){
    268267        COUT(3) << "Server: packet with client id (cid): " << cid << " not sended: " << temp->getFailures() << std::endl;
     
    298297      return false;
    299298    }
    300     if(temp->prev()->getBegin()) { //not good if you use anything else than insertBack
    301       temp->prev()->setID(0); //bugfix: not necessary but usefull
     299    if(temp==ClientInformation::getBegin()) { //not good if you use anything else than insertBack
    302300      temp->setID(1);
    303301    }
Note: See TracChangeset for help on using the changeset viewer.