예제 #1
0
def run(client):
    Watch(client)
    Guards(client)
    DetectGameMaster(client)
    PrintMessages(client)

    return simple_later(1, begin, client)
예제 #2
0
파일: entities.py 프로젝트: uotools/GemUO
def run(client):
    PrintMessages(client)

    world = client.world
    for e in world.iter_entities_at(world.player.position.x,
                                    world.player.position.y - 1):
        print e
예제 #3
0
파일: stroll.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Guards(client)

    tc = TileCache(gemuo.config.require_data_path())
    m = CacheMap(WorldMap(BridgeMap(tc.get_map(0)), client.world))

    return StrollWestBritain(client, m)
예제 #4
0
def run(client):
    PrintMessages(client)

    #recall to a Rune called "Britain"
    #return Recall(client, "Britain")

    #recall to a random rune in the backpack
    return Recall(client)
예제 #5
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)

    d = deferred_skills(client)
    d.addCallback(got_skills, client)
    return d
예제 #6
0
def run(client):
    PrintMessages(client)
    Guards(client)

    tc = TileCache('/home/max/.wine/drive_c/uo')
    m = tc.get_map(0)
    exhaust_db = ExhaustDatabase('/tmp/trees.db')

    return AutoKindling(client, m, exhaust_db)
예제 #7
0
파일: merge.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)

    box = find_restock_box(client.world)
    #box = client.world.backpack()
    if box is None:
        raise NoSuchEntity('No box')

    return MergeStacks(client, box, ITEMS_INGOT + ITEMS_LOCKPICK)
예제 #8
0
파일: mine.py 프로젝트: uotools/GemUO
def run(client):
    Watch(client)
    Guards(client)
    DetectGameMaster(client)
    RelPorCaptcha(client)
    PrintMessages(client)
    SkillTraining(client, (SKILL_HIDING,), round_robin=False)

    return simple_later(1, begin, client)
예제 #9
0
파일: kindling.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Guards(client)

    tc = TileCache(gemuo.config.require_data_path())
    m = tc.get_map(0)
    exhaust_db = ExhaustDatabase('/tmp/trees.db')

    return AutoKindling(client, m, exhaust_db)
예제 #10
0
def run(client):
    PrintMessages(client)

    restock_box = find_restock_box(client.world)
    if restock_box is None:
        return defer.fail('No box')

    d = OpenContainer(client, restock_box).deferred
    d.addCallback(restock_box_opened0, client, restock_box)
    return d
예제 #11
0
파일: bandage.py 프로젝트: shyba/gemuo
def run(client):
    PrintMessages(client)

    backpack = client.world.backpack()
    if backpack is None:
        return defer.fail('No backpack')

    d = OpenContainer(client, backpack).deferred
    d.addCallback(backpack_opened, client)
    return d
예제 #12
0
def run(client):
    PrintMessages(client)

    world = client.world
    box = find_box_at(world, world.player.position.x, world.player.position.y - 1)
    if box is None:
        raise NoSuchEntity('No restock box found')

    d = deferred_find_item_in(client, box, lambda x: x.item_id == ITEM_BAG)
    d.addCallback(found_bag, client)
    return d
예제 #13
0
파일: spin.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    AutoHide(client)

    return SpinWool(client)
예제 #14
0
def run(client):
    PrintMessages(client)
    Watch(client)

    return AnswerGump(client)
예제 #15
0
파일: cook.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Watch(client)
    AutoHide(client)

    return CookAllFishSteaks(client)
예제 #16
0
파일: carpentry.py 프로젝트: uotools/GemUO
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return AutoCarpentry(client)
예제 #17
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    StatLock(client, (100, 100, 25))
    return SkillTraining(client, skills, round_robin=False)
예제 #18
0
def run(client):
    PrintMessages(client)
    AutoHide(client)

    return WeaveYarn(client)
예제 #19
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return SkillTraining(client, skills, round_robin=False)
예제 #20
0
파일: dispel_gate.py 프로젝트: shyba/gemuo
def run(client):
    PrintMessages(client)
    return DispelGate(client)
예제 #21
0
def run(client):
    PrintMessages(client)
    RelPorCaptcha(client)
    return MakeBoardsRelpor(client)
예제 #22
0
파일: trade.py 프로젝트: jackuoll/GemUO
def run(client):
    Guards(client)
    AutoCheckSecureTrade(client)
    return PrintMessages(client)
예제 #23
0
파일: fletching.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return AutoFletching(client)
예제 #24
0
파일: parrot.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Guards(client)
    return Parrot(client)
예제 #25
0
파일: magery.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    StatLock(client, (100, 25, 100))
    return AutoMagery(client)
예제 #26
0
파일: heal.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    Watch(client)
    AutoCheckSecureTrade(client)
    return AutoHeal(client)
예제 #27
0
파일: buy.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    #return Buy(client, ITEM_BANDAGE, 1)
    return Buy_at_price(client, ITEM_BANDAGE, 1, 6)
예제 #28
0
파일: janitor.py 프로젝트: jackuoll/GemUO
def run(client):
    PrintMessages(client)
    AutoHide(client)
    return Janitor(client)
예제 #29
0
def run(client):
    Guards(client)
    return PrintMessages(client)
예제 #30
0
파일: tinkering.py 프로젝트: shyba/gemuo
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return AutoTinkering(client)