Move "puppet" and "account" connection channel ranges out of the Astron reserved space.
This commit is contained in:
parent
8ea908c855
commit
a5868224e8
|
|
@ -338,10 +338,10 @@ class DistributedObjectAI(DistributedObjectBase):
|
|||
self.air.sendUpdate(self, fieldName, args)
|
||||
|
||||
def GetPuppetConnectionChannel(self, doId):
|
||||
return doId + (1L << 32)
|
||||
return doId + (1001L << 32)
|
||||
|
||||
def GetAccountConnectionChannel(self, doId):
|
||||
return doId + (3L << 32)
|
||||
return doId + (1003L << 32)
|
||||
|
||||
def GetAccountIDFromChannelCode(self, channel):
|
||||
return channel >> 32
|
||||
|
|
|
|||
|
|
@ -267,10 +267,10 @@ class DistributedObjectUD(DistributedObjectBase):
|
|||
self.air.sendUpdate(self, fieldName, args)
|
||||
|
||||
def GetPuppetConnectionChannel(self, doId):
|
||||
return doId + (1L << 32)
|
||||
return doId + (1001L << 32)
|
||||
|
||||
def GetAccountConnectionChannel(self, doId):
|
||||
return doId + (3L << 32)
|
||||
return doId + (1003L << 32)
|
||||
|
||||
def GetAccountIDFromChannelCode(self, channel):
|
||||
return channel >> 32
|
||||
|
|
|
|||
Loading…
Reference in New Issue