Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 28, 2006, 10:40:56 PM (18 years ago)
Author:
rennerc
Message:

Return of the Network :D

File:
1 edited

Legend:

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

    r9869 r9906  
    11881188          if( NullParent::staticClassID() == leafClassId || Synchronizeable::staticClassID() == leafClassId || NetworkGameManager::staticClassID() == leafClassId)
    11891189          {
    1190             PRINTF(1)("Don't create Object with ID %x, ignored!\n", (int)leafClassId);
     1190            PRINTF(0)("Don't create Object with ID %d, ignored!\n", (int)leafClassId);
    11911191            offset += syncDataLength;
    11921192            continue;
     
    11941194          else
    11951195            ; /// FIXME CLASS_ID :: b = Factory::fabricate( leafClassId );
    1196 
     1196          b = Factory::fabricate( ObjectListBase::retrieveIdentity( leafClassId )  );
    11971197          if ( !b )
    11981198          {
    1199             PRINTF(1)("Could not fabricate Object with classID %x\n", leafClassId);
     1199            PRINTF(1)("Could not fabricate Object with classID %d\n", leafClassId);
    12001200            offset += syncDataLength;
    12011201            continue;
     
    12081208            sync->setSynchronized(true);
    12091209
    1210             PRINTF(0)("Fabricated %s with id %d\n", sync->getClassCName(), sync->getUniqueID());
     1210            PRINTF(1)("Fabricated %s with id %d\n", sync->getClassCName(), sync->getUniqueID());
    12111211          }
    12121212          else
    12131213          {
    1214             PRINTF(1)("Class with ID %x is not a synchronizeable!\n", (int)leafClassId);
     1214            PRINTF(1)("Class with ID %d is not a synchronizeable!\n", (int)leafClassId);
    12151215            delete b;
    12161216            offset += syncDataLength;
Note: See TracChangeset for help on using the changeset viewer.