Esempio n. 1
0
 def __init__ (self,sigdis, detectiondis, gendis, minships, genships, fighterprob, enemyprob, capprob, credits_to_maximize_difficulty, capdist):#negative garbage collect dist disables that feature
     Director.Mission.__init__(self)
     self.loops=(difficulty (credits_to_maximize_difficulty),
           random_encounters (sigdis, detectiondis, gendis, minships,genships,fighterprob,enemyprob,capprob,capdist),
           trading (),
           dynamic_universe,
           #garbage_collect (),
           hideProgress())
Esempio n. 2
0
 def __init__ (self,sigdis, detectiondis, gendis, minships, genships, fighterprob, enemyprob, capprob, credits_to_maximize_difficulty, capdist):#negative garbage collect dist disables that feature
     Director.Mission.__init__(self)
     self.loops=(difficulty (credits_to_maximize_difficulty),
           random_encounters (sigdis, detectiondis, gendis, minships,genships,fighterprob,enemyprob,capprob,capdist),
           trading (),
           dynamic_universe,
           #garbage_collect (),
           hideProgress())
    def __init__ (self,sigdis, detectiondis, gendis, minships, genships, fighterprob, enemyprob, capprob, credits_to_maximize_difficulty, capdist):#negative garbage collect dist disables that feature
#print "initing direct"
        Director.Mission.__init__(self)
#print "done direct"
        self.loops=(difficulty (credits_to_maximize_difficulty),
              random_encounters (sigdis, detectiondis, gendis, minships,genships,fighterprob,enemyprob,capprob,capdist),
              trading (),
              dynamic_universe,
              total_jump.total_jump()
    #          garbage_collect (),

              )
Esempio n. 4
0
 def __init__(
         self, sigdis, detectiondis, gendis, minships, genships,
         fighterprob, enemyprob, capprob, credits_to_maximize_difficulty,
         capdist):  #negative garbage collect dist disables that feature
     debug.debug("initing direct")
     Director.Mission.__init__(self)
     debug.debug("done initing direct")
     self.loops = (
         difficulty(credits_to_maximize_difficulty),
         random_encounters(sigdis, detectiondis, gendis, minships, genships,
                           fighterprob, enemyprob, capprob, capdist),
         trading(), dynamic_universe, total_jump.total_jump()
         #          garbage_collect (),
     )
Esempio n. 5
0
	def __init__(self):
		from trading import trading
		from random_encounters import random_encounters
		import dynamic_universe
		
		Director.Mission.__init__(self)
		global _server_inst
		_server_inst=self
		
		self.playerlist=[]
		self.loopnum=0
		self.loops=(
			random_encounters (3000,5000,500,3,2,.6,.25,.1,2000),
			trading (),
			dynamic_universe,
			)