コード例 #1
0
ファイル: adv_snipe.py プロジェクト: Buckaboobob/NGU-scripts
            print("Reassign NGU Magic")
            f.assign_ngu(idle_magic, [2], magic=True)
        #            f.blood_magic(7, reverse=True)
        idle_magic = f.get_idle_cap(2)
        idle_energy = f.get_idle_cap(1)
    print("Sniping")
    nav.menu("adventure")
    f.kill_titan("BEAST1")
    f.adventure(19, highest=False)
    f.snipe(19, 10, once=False, bosses=True, manual=True)
    print("Finished Snipe")

w = Window()
i = Inputs()
nav = Navigation()
feature = Features()
#ngui = NGUI(nav_obj=nav, input_obj=i)
Window.x, Window.y = i.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400, 600)
time.sleep(2)
rt = feature.get_rebirth_time()
start_procedure(feature, rt)

while True:
    rt = feature.get_rebirth_time()
    spells = feature.check_spells_ready()
    start_procedure(feature, rt)
#    if spells:  # check if any spells are off CD
#        for spell in spells:
#            feature.cast_spell(spell)
    feature.save_check()
    feature.pit()
コード例 #2
0
        tracker.adjustxp()


#    print("Going into Sleep till 30 mins up?")
#    print(str(f.rt_to_seconds()) + " < end")

    if rt > end:
        f.do_rebirth()
        time.sleep(1)
        rt = f.rt_to_seconds()
    return

w = Window()
i = Inputs()
nav = Navigation()
feature = Features()
#ngui = NGUI(nav)

Window.x, Window.y = i.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400, 600)
nav.menu("inventory")

u = UpgradeEM(37500, 37500, 1, 1, 3)
r3unlocked = False

print(f"Top left found at: {w.x}, {w.y}")

tracker = Tracker(30)

while True:  # main loop
    speedrun(30, feature)
    tracker.progress()
コード例 #3
0
    f.pit()
    f.spin()
    f.save_check()
    tracker.progress()
    u.em()
    tracker.adjustxp()
    while time.time() < end:
        time.sleep(0.1)

    return


w = Window()
i = Inputs()
nav = Navigation()
feature = Features()

Window.x, Window.y = i.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400, 600)
nav.menu("inventory")

u = Upgrade(37500, 37500, 2, 2, 3)

print(w.x, w.y)

tracker = Tracker(3)
c = Challenge()

while True:  # main loop
    feature.questing()
    #feature.boost_equipment()
    #feature.ygg()
コード例 #4
0
ファイル: main.py プロジェクト: johnnieholic/NGU-scripts
    f.pit()
    f.spin()
    f.save_check()
    tracker.progress()
    u.buy()
    tracker.adjustxp()
    while time.time() < end:
        time.sleep(0.1)

    return


w = Window()
i = Inputs()
nav = Navigation()
feature = Features()

Window.x, Window.y = i.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400, 600)
nav.menu("inventory")

u = UpgradeEM(37500, 37500, 2, 2, 3)

print(w.x, w.y)

tracker = Tracker(5)
c = Challenge()

while True:  # main loop
    #feature.questing()
    feature.itopod_snipe(300)
    tracker.progress()
コード例 #5
0
ファイル: 24h.py プロジェクト: johnnieholic/NGU-scripts
            f"doing itopod for {duration} seconds while waiting for adv training to activate"
        )
        f.itopod_snipe(duration)

    f.advanced_training(2e12)
    f.gold_diggers([x for x in range(1, 13)])
    f.reclaim_bm()
    f.wandoos(True)
    f.assign_ngu(f.get_idle_cap(), [x for x in range(1, 10)])
    f.assign_ngu(f.get_idle_cap(True), [x for x in range(1, 8)], True)


w = Window()
i = Inputs()
nav = Navigation()
feature = Features()

Window.x, Window.y = i.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400, 600)
nav.menu("inventory")
rt = feature.get_rebirth_time()
start_procedure(feature, rt)

while True:
    rt = feature.get_rebirth_time()
    feature.nuke()
    feature.gold_diggers([x for x in range(1, 13)])
    feature.merge_inventory(8)  # merge uneqipped guffs
    spells = feature.check_spells_ready()
    if spells:  # check if any spells are off CD
        feature.reclaim_ngu(True)  # take all magic from magic NGUs
        for spell in spells:
コード例 #6
0
import coordinates as coords

parser = argparse.ArgumentParser()
parser.add_argument("-c",
                    "--challenge",
                    required=True,
                    type=int,
                    help="select which challenge you wish to run (1-11")
parser.add_argument("-t",
                    "--times",
                    required=True,
                    type=int,
                    help="number of times to run challenge")
args = parser.parse_args()
w = Window()
feature = Features()

Window.x, Window.y = feature.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400,
                                          600)
feature.menu("inventory")

print(f"Top left found at: {w.x}, {w.y}")

c = Challenge()

print(f"Running challenge #{args.challenge} {args.times} times")
for x in range(args.times):
    c.start_challenge(args.challenge)

while True:  # main loop
    feature.itopod_snipe(300)
コード例 #7
0
		assaign_NGU()

	NotInFarmZone = False
	for x in ManualKillList:
		NotInFarmZone = True
		print("Manually killing " + x)
		while int(TITANS[x]["KillTime"] - time.time()) <= timeToWait:
			createTimeStamp(x, feature.kill_titan(x))
	return NotInFarmZone



w = Window()
i = Inputs()
nav = Navigation()
feature = Features()

Window.x, Window.y = i.pixel_search(ncon.TOP_LEFT_COLOR, 10, 10, 400, 600)
nav.menu("inventory")




#feature.kill_titan("BEAST1")
#exit()
	
while feature.questing():
	time.sleep(0.1)
#feature.adventure(itopod=True, itopodauto=True)
#exit()
コード例 #8
0
from classes.features import Features
from classes.window import Window
from classes.challenge import Challenge
import usersettings as userset
import coordinates as coords
import time

parser = argparse.ArgumentParser()
parser.add_argument("-z",
                    "--zone",
                    required=True,
                    type=int,
                    help="select which zone you wish to snipe")
args = parser.parse_args()
w = Window()
feature = Features()

Window.x, Window.y = feature.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400,
                                          600)
feature.menu("inventory")

print(f"Top left found at: {w.x}, {w.y}")

feature.menu("adventure")
feature.click(*coords.LEFT_ARROW, button="right")
feature.click(625, 500)
time.sleep(userset.MEDIUM_SLEEP)
if feature.check_pixel_color(*coords.IS_IDLE):
    feature.click(*coords.ABILITY_IDLE_MODE)

while True:  # main loop
コード例 #9
0
"""Questing Script."""

# Helper classes
from classes.features import Features
from classes.window import Window

import coordinates as coords

w = Window()
feature = Features()

Window.x, Window.y = feature.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400,
                                          600)
feature.menu("inventory")

print(f"Top left found at: {w.x}, {w.y}")

choice = ""
answers = {"y": True, "ye": True, "yes": True, "n": False, "no": False}
print(
    "If you currently have an active quest that either is minor or has been subcontracted, consider skipping it before starting if you intend to use butter"
)
while choice not in answers:
    choice = input("Use butter for major quests? y/n: ").lower()

while True:  # main loop
    text = feature.get_quest_text()
    majors = feature.get_available_majors()
    if majors == 0 and (coords.QUESTING_MINOR_QUEST in text.lower()
                        or coords.QUESTING_NO_QUEST_ACTIVE in text.lower()):
        feature.questing(major=True)
コード例 #10
0
"""AP farming script."""

# Helper classes
from classes.features import Features
from classes.window import Window

import coordinates as coords

w = Window()
feature = Features()

Window.x, Window.y = feature.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400,
                                          600)
feature.menu("inventory")

print(f"Top left found at: {w.x}, {w.y}")

while True:  # main loop
    feature.itopod_ap(600)
    feature.pit()
コード例 #11
0
"""ITOPOD Sniping script."""

# Helper classes
from classes.features import Features
from classes.stats import Tracker
from classes.window import Window

import coordinates as coords
import constants as const
import time

Window.__init__(object)

feature = Features()

Window.x, Window.y = feature.pixel_search(coords.TOP_LEFT_COLOR, 0, 0, 400,
                                          600)
feature.menu("inventory")
import requirements
print(f"Top left found at: {Window.x}, {Window.y}")

tracker = Tracker(5)

while True:  # main loop
    titans = feature.check_titan_status()
    if titans:
        for titan in titans:
            feature.kill_titan(titan)
    feature.itopod_snipe(300)
    feature.pit()
    tracker.progress()