def run(): print '--> mission Unauthorized Military Presence' if not ship.enableDefense(): return False if not general.openMissionDetails(): return False ship.enableAfterburn() if not overview.activateAccelerationGate(): return False if not overview.switchTo('battle'): return False if not overview.lockTarget('guristas_personnel'): return False if not ship.enableAfterburn(): return False if not ship.approachFor(240): return False if not overview.lockTarget('guristas_personnel', 20): return False if not drones.launchSmall(): return False if not ship.fireOnce(): return False if not drones.engage(): return False # mission item is in wreck while not findAtMissionDetails('v'): # collect overview.pickWreck() if not general.missionObjectiveComplete(): return False # sometimes we already has millitans # but the mission is not complete until all enemy dies overview.seekAndDestory() # just in case overview.pickTarget('guristas_personnel') if not drones.back(): return False print '<-- mission Unauthorized Military Presence\n' return True
def run(): print '--> mission Smuggler lnterteption' if not ship.enableDefense(): return False # 2 pockets for i in range(2): if not overview.activateAccelerationGate(): return False print 'pocket ' + str(i+1) if not drones.launchSmall(): return False ship.enableAfterburn() overview.seekAndDestory() if not drones.back(): return False # loot grustas personal transport while not overview.pickTarget('guristas_personnel'): pass print '<-- mission Smuggler lnterteption\n' return True
def run(): print '--> mission Pick Your Position' if not overview.activateAccelerationGate(): return False if not overview.switchTo('battle'): return False # pocket 1 result = None while not result: time.sleep(0.5) result = findAtFull('close') mouse.leftClickAtP(result) if not overview.pickTarget('minmatar_emissary_1'): return False result = None while not result: time.sleep(0.5) result = findAtFull('close') mouse.leftClickAtP(result) if not overview.activateAccelerationGate(): return False if not overview.switchTo('battle'): return False # back to pocket 0 # double click will not open it! result = overview.findTarget('cargo') if not result: return False mouse.leftClickAtP(result) ship.approach() result = findAtSelectedItem('cargo_small') if not result: result = findAtSelectedItem('cargo_big') if not result: return False mouse.leftClickAtP(result) print 'wait until cargo open' while not findAtFull('loot_all'): time.sleep(0.2) mouse.leftClickAtP(result) result = findAtFull('ship') while not result: result = findAtFull('ship') mouse.leftClickAtP(result) result = findAtFull('minmatar_emissary') while not result: result = findAtFull('minmatar_emissary') mouse.leftDownAtP(result) result = findAtFull('ship_hl') while not result: result = findAtFull('ship_hl') mouse.moveTo(result[0] + 40, result[1] + 60) mouse.leftUp() result = findAtFull('close') while not result: result = findAtFull('close') mouse.leftClickAtP(result) time.sleep(1) result = findAtFull('ship_hl') if not result: result = findAtFull('ship') if result: mouse.moveToP(result) result = findAtFull('x') if result: mouse.leftClickAtP(result) print '<-- mission Pick Your Position\n' return True