def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.recallInvasion = False self.waitingOnStatus = False self.index = None self.currentTask = '' self.sendHello()
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.recallInvasion = False self.waitingOnStatus = False self.index = None self.currentTask = '' self.sendHello()
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.chatMode2channel = { 1: OtpDoGlobals.OTP_MOD_CHANNEL, 2: OtpDoGlobals.OTP_ADMIN_CHANNEL, 3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL, }
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.air.netMessenger.accept('shardStatus', self, self.handleShardStatus) self.recallInvasion = False self.waitingOnStatus = False self.index = None self.currentTask = '' self.sendHello()
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) if not MANAGER_DOID: self.notify.warning('A manager DoId is not defined!') return self.uberdogUp = False self.sendUpdate('hello', [MANAGER_DOID]) taskMgr.doMethodLater(HEARTBEAT_INTERVAL * 2, self.reportUdLost, self.uniqueName('noResponseTask'))
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.air.netMessenger.accept('shardStatus', self, self.handleShardStatus) self.recallInvasion = False self.waitingOnStatus = False self.index = None self.currentTask = '' self.sendHello()
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) if not MANAGER_DOID: self.notify.warning('A manager DoId is not defined!') return self.uberdogUp = False self.sendUpdate('hello', [MANAGER_DOID]) taskMgr.doMethodLater(HEARTBEAT_INTERVAL * 2, self.reportUdLost, self.uniqueName('noResponseTask'))
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.chatMode2channel = { 1: OtpDoGlobals.OTP_MOD_CHANNEL, 2: OtpDoGlobals.OTP_ADMIN_CHANNEL, 3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL, } self.air = air self.accept('requestToonAccess', self.getToonAccess) self.accept('warningUpdate', self.updateWarnings) self.accept('requestOffenses', self.sendAvatarOffenses) self.accept('sendSystemMessage', self.sendSystemMessage) self.accept('chatBan', self.banAvatar)
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.chatMode2channel = { 1: OtpDoGlobals.OTP_MOD_CHANNEL, 2: OtpDoGlobals.OTP_ADMIN_CHANNEL, 3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL, } self.air = air self.accept('requestToonAccess', self.getToonAccess) self.accept('warningUpdate', self.updateWarnings) self.accept('requestOffenses', self.sendAvatarOffenses) self.accept('sendSystemMessage', self.sendSystemMessage) self.accept('chatBan', self.banAvatar) self.accountId = 0 self.domain = str(ConfigVariableString('ws-domain', 'localhost')) self.key = str(ConfigVariableString('ws-key', 'secretkey'))
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.sendUpdate('lobbyManagerAIHello', [simbase.air.lobbyManager.doId])
def announceGenerate(self): assert self.notify.debugCall() DistributedObjectGlobalAI.announceGenerate(self) SettingsMgrBase.announceGenerate(self) self.sendUpdate('requestAllChangedSettings', [])
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.latestIssueStr = ''
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) # Inform the UD that we as an AI have started up, and tell him the doId of our partymanager, so they can talk self.sendUpdate('partyManagerAIHello', [simbase.air.partyManager.doId])
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.sendUpdateToUD('addChatManager', [self.doId])
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.inventories = {}
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.msgChannels = {}
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.holiday = 0
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.air = air
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) self.sendUpdate('lobbyManagerAIHello', [simbase.air.lobbyManager.doId])
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) # Inform the UD that we as an AI have started up, and tell him the doId of our partymanager, so they can talk self.uberdogUp = False self.sendUpdate('partyManagerAIHello', [simbase.air.partyManager.doId]) taskMgr.doMethodLater(5, self.reportUdLost, 'noResponseTask')
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self)
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) # Inform the UD that we as an AI have started up, and tell him the doId of our partymanager, so they can talk self.sendUpdate('partyManagerAIHello', [simbase.air.partyManager.doId])
def __init__(self, cr): DistributedObjectGlobalAI.__init__(self, cr) self.doNotListenToChannel = True
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air)
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) # Inform the UD that we as an AI have started up self.uberdogUp = False self.sendUpdate('partyManagerAIHello', [simbase.air.partyManager.doId])
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self)
def announceGenerate(self): DistributedObjectGlobalAI.announceGenerate(self) # Inform the UD that we as an AI have started up, and tell him the doId of our partymanager, so they can talk self.uberdogUp = False self.sendUpdate('partyManagerAIHello', [simbase.air.partyManager.doId]) taskMgr.doMethodLater(5, self.reportUdLost, 'noResponseTask')
def delete(self): assert self.notify.debugCall() SettingsMgrBase.delete(self) DistributedObjectGlobalAI.delete(self)