def announceGenerate(self):
     DistributedObjectGlobalAI.announceGenerate(self)
     self.recallInvasion = False
     self.waitingOnStatus = False
     self.index = None
     self.currentTask = ''
     self.sendHello()
Example #2
0
 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.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'))
Example #5
0
 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)
     # 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)
Example #9
0
 def announceGenerate(self):
     DistributedObjectGlobalAI.announceGenerate(self)
     self.sendUpdate('lobbyManagerAIHello', [simbase.air.lobbyManager.doId])
Example #10
0
 def announceGenerate(self):
     DistributedObjectGlobalAI.announceGenerate(self)
     self.sendUpdateToUD('addChatManager', [self.doId])
 def announceGenerate(self):
     DistributedObjectGlobalAI.announceGenerate(self)
Example #12
0
 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)
     # 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')
Example #14
0
 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)
     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')
Example #17
0
 def announceGenerate(self):
     assert self.notify.debugCall()
     DistributedObjectGlobalAI.announceGenerate(self)
     SettingsMgrBase.announceGenerate(self)
     self.sendUpdate('requestAllChangedSettings', [])