Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 24, 2008, 3:54:46 PM (17 years ago)
Author:
scheusso
Message:

some adjustments

Location:
code/branches/network3/src/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/src/network/GameStateClient.cc

    r1168 r1175  
    118118          ///sigsegv is receved after the COUT(4) above
    119119          Synchronisable *no = dynamic_cast<Synchronisable *>(ID((unsigned int) sync.classID)->fabricate());
     120          COUT(4) << "loadsnapshort: classid: " << sync.classID << " objectID: " << sync.classID << " length: " << sync.length << std::endl;
    120121          no->objectID=sync.objectID;
    121122          no->classID=sync.classID;
  • code/branches/network3/src/network/Server.cc

    r1168 r1175  
    180180  */
    181181  bool Server::sendGameState() {
    182     COUT(4) << "malloc(1000) 1" << std::endl;
    183     malloc(1000);
    184182    COUT(5) << "Server: starting function sendGameState" << std::endl;
    185183    ClientInformation *temp = clients;
     
    197195        continue;
    198196      }
    199       COUT(4) << "malloc(1000) 2" << std::endl;
    200       malloc(1000);
    201197      COUT(5) << "Server: doing gamestate gamestate preparation" << std::endl;
    202198      int gid = temp->getGamestateID(); //get gamestate id
Note: See TracChangeset for help on using the changeset viewer.