def d_setLocation(self, parentId, zoneId):
     theStack = StackTrace(start = 1)
     if self.prevLocStack and len(theStack.trace) == len(self.prevLocStack.trace) and map(lambda x: x[1], theStack.trace) == map(lambda x: x[1], self.prevLocStack.trace):
         base.cr.centralLogger.writeClientEvent('bad ship team: %s setLoc' % self.doId)
     else:
         base.cr.centralLogger.writeClientEvent('bad ship team: %s' % self.doId + theStack.compact()[1:len(theStack.compact())])
         self.prevLocStack = theStack
     DistributedSimpleShip.d_setLocation(self, parentId, zoneId)
 def d_setLocation(self, parentId, zoneId):
     theStack = StackTrace(start = 1)
     if self.prevLocStack and len(theStack.trace) == len(self.prevLocStack.trace) and map(lambda x: x[1], theStack.trace) == map(lambda x: x[1], self.prevLocStack.trace):
         base.cr.centralLogger.writeClientEvent('bad ship team: %s setLoc' % self.doId)
     else:
         base.cr.centralLogger.writeClientEvent('bad ship team: %s' % self.doId + theStack.compact()[1:len(theStack.compact())])
         self.prevLocStack = theStack
     DistributedSimpleShip.d_setLocation(self, parentId, zoneId)