Assembla home | Assembla project page
 
Show
Ignore:
Timestamp:
11/08/08 00:16:10 (1 year ago)
Author:
McMahon
Message:

SQL Update
StructureManager? - new interface for creating+updating player structures (houses + harvesters)
Updated harvester remove harv data
[Buildings] thanks to Farmer John its now (0,0,1,0) instead of (0,0,0,1) - rejoice player housing works! (sorta)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • core3/trunk/MMOCoreORB/src/server/zone/objects/player/PlayerImplementation.cpp

    r910 r912  
    11471147 
    11481148                linkType = 0xFFFFFFFF; 
    1149                 broadcastMessage(link(parent), 128, false); 
     1149                //linkType = 0x04; 
     1150                broadcastMessage(link(parent->getObjectID(), 0xFFFFFFFF), 128, false); 
    11501151 
    11511152        } catch (...) { 
     
    12631264 
    12641265                                        if (building != newBuilding) { 
     1266                                                cout << "Does this actually ever happen when someone goes from one building to another?" << endl; 
    12651267                                                removeFromBuilding(building); 
    12661268 
     
    12691271                                } 
    12701272 
     1273                                // remove from old cell 
    12711274                                ((CellObject*) parent)->removeChild(_this); 
    12721275                        } 
     1276 
     1277                        //cout << "Cell Transition.  Old: " << hex << parent <<  dec << " New: " << hex << newParent << dec << endl; 
     1278                        // add to new cell 
    12731279                        parent = newParent; 
    12741280                        ((CellObject*) parent)->addChild(_this); 
     1281 
     1282                        //linkType = 0x04; 
     1283                        broadcastMessage(link(parent->getObjectID(), 0xFFFFFFFF), 128, false); 
     1284 
    12751285                } 
    12761286 
     
    14651475                info("removing from building"); 
    14661476 
    1467                 broadcastMessage(link(0, 0xFFFFFFFF), 128, false); 
     1477                //broadcastMessage(link(0, 0x04), 128, false); 
     1478                broadcastMessage(link((uint64)0, (uint32)0xFFFFFFFF), 128, false); 
    14681479 
    14691480                ((CellObject*)parent)->removeChild(_this);