Example #1
0
 def Run(self, memStream=None):
     self.state = service.SERVICE_START_PENDING
     Service.Run(self, memStream)
     self.numInQueue = 0
     self.pcQueue = uthread.Queue(0)
     self.semaphore = uthread.Semaphore('spawnTestSema', 1, True)
     self.go = False
     self.hasStarted = False
     self.state = service.SERVICE_RUNNING
Example #2
0
 def Run(self, memStream=None):
     Service.Run(self, memStream)
     self.corpBookmarkMgr = sm.RemoteSvc('corpBookmarkMgr')
     self.bookmarkMgr = sm.RemoteSvc('bookmark')
     self.lastUpdateTime = None
     self.validCategories = (const.categoryCelestial,
                             const.categoryAsteroid, const.categoryStation,
                             const.categoryShip, const.categoryStarbase,
                             const.categoryPlanetaryInteraction)
     self.bookmarksPrimed = False
Example #3
0
 def Run(self, *args):
     Service.Run(self, *args)
     self.isLoaded = False
     self.configNamesAndDefaults = None
     self.cachedPresetsFromServer = {}
     self.LoadPresetsFromUserSettings()
     self.activeOverviewPreset = settings.user.overview.Get(
         'activeOverviewPreset', DEFAULT_PRESET_NAME)
     self.activeBracketPreset = None
     self.AddDefaultPresetsToAllPresets()
     self.StorePresetsInSettings()
Example #4
0
    def Run(self, *args, **kwargs):
        try:
            self._initialize_season_manager()
            self._initialize_finished_goals()
            self._initialize_challenges()
        except Exception:
            self.current_season = None
            log.LogTraceback('Failed to run seasonService')

        self.update_challenge_thread = None
        self.challenges_for_update = []
        Service.Run(self, *args, **kwargs)
Example #5
0
 def Run(self, memStream=None):
     """
     State constant assignment and base class Run() call
     """
     self.state = service.SERVICE_START_PENDING
     Service.Run(self, memStream)
     self.numInQueue = 0
     self.pcQueue = uthread.Queue(0)
     self.semaphore = uthread.Semaphore('spawnTestSema', 1, True)
     self.go = False
     self.hasStarted = False
     self.state = service.SERVICE_RUNNING
Example #6
0
 def Run(self, *args):
     Service.Run(self, *args)
     self.incursionData = None
     self.enableSoundOverrides = False
     self.stationAudioPlaying = False
     self.addStationSoundThreadRunning = False
     self.isDisablingHud = False
     self.isActivatingHud = False
     self.incursionChatInfoByTaleId = {}
     self.waitingIncursionChannelTaleID = set()
     self.rewardsByID = {}
     self.soundUrlByKey = {'hangar': 10004,
      const.groupStation: 10007,
      const.groupAsteroidBelt: 10003,
      'enterSystem': 10005}
Example #7
0
 def Run(self, *args):
     Service.Run(self, *args)
     self.incursionData = None
     self.currentVisualStyleIntensity = 0.0
     self.targetVisualStyleIntensity = 0.0
     self.isFadingVisualStyle = False
     self.visualStyleEnabled = False
     self.enableSoundOverrides = False
     self.enablingGodRays = False
     self.stationAudioPlaying = False
     self.addStationSoundThreadRunning = False
     self.isDisablingHud = False
     self.isActivatingHud = False
     self.constellationForJoinedTaleID = {}
     self.waitingIncursionChannelTaleID = set()
     self.rewardsByID = {}
     self.soundUrlByKey = {
         'hangar': 10004,
         const.groupStation: 10007,
         const.groupAsteroidBelt: 10003,
         'enterSystem': 10005
     }
Example #8
0
 def Run(self, *args):
     Service.Run(self, *args)
     self.isLoaded = False
Example #9
0
 def Run(self, memStream=None):
     Service.Run(self, memStream)
     self.remoteCorpBookmarkMgr = sm.RemoteSvc('corpBookmarkMgr')
     self.lastUpdateTime = None
     self.getFromBookmarkID = None
     self.GetBookmarks()
Example #10
0
 def Run(self, *args):
     Service.Run(self, *args)
     uthread.worker('ConnectionService::LongCallTimer',
                    self.__LongCallTimer)
 def Run(self, *args, **kwargs):
     Service.Run(self, *args, **kwargs)