Exemplo n.º 1
0
def run(client):
    Watch(client)
    Guards(client)
    DetectGameMaster(client)
    PrintMessages(client)

    return simple_later(1, begin, client)
Exemplo n.º 2
0
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
Exemplo n.º 3
0
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)
Exemplo n.º 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)
Exemplo n.º 5
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)

    d = deferred_skills(client)
    d.addCallback(got_skills, client)
    return d
Exemplo n.º 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)
Exemplo n.º 7
0
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)
Exemplo n.º 8
0
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)
Exemplo n.º 9
0
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)
Exemplo n.º 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
Exemplo n.º 11
0
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
Exemplo n.º 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
Exemplo n.º 13
0
def run(client):
    PrintMessages(client)
    AutoHide(client)

    return SpinWool(client)
Exemplo n.º 14
0
def run(client):
    PrintMessages(client)
    Watch(client)

    return AnswerGump(client)
Exemplo n.º 15
0
def run(client):
    PrintMessages(client)
    Watch(client)
    AutoHide(client)

    return CookAllFishSteaks(client)
Exemplo n.º 16
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return AutoCarpentry(client)
Exemplo n.º 17
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    StatLock(client, (100, 100, 25))
    return SkillTraining(client, skills, round_robin=False)
Exemplo n.º 18
0
def run(client):
    PrintMessages(client)
    AutoHide(client)

    return WeaveYarn(client)
Exemplo n.º 19
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return SkillTraining(client, skills, round_robin=False)
Exemplo n.º 20
0
def run(client):
    PrintMessages(client)
    return DispelGate(client)
Exemplo n.º 21
0
def run(client):
    PrintMessages(client)
    RelPorCaptcha(client)
    return MakeBoardsRelpor(client)
Exemplo n.º 22
0
def run(client):
    Guards(client)
    AutoCheckSecureTrade(client)
    return PrintMessages(client)
Exemplo n.º 23
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return AutoFletching(client)
Exemplo n.º 24
0
def run(client):
    PrintMessages(client)
    Guards(client)
    return Parrot(client)
Exemplo n.º 25
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    StatLock(client, (100, 25, 100))
    return AutoMagery(client)
Exemplo n.º 26
0
def run(client):
    PrintMessages(client)
    Watch(client)
    AutoCheckSecureTrade(client)
    return AutoHeal(client)
Exemplo n.º 27
0
def run(client):
    PrintMessages(client)
    #return Buy(client, ITEM_BANDAGE, 1)
    return Buy_at_price(client, ITEM_BANDAGE, 1, 6)
Exemplo n.º 28
0
def run(client):
    PrintMessages(client)
    AutoHide(client)
    return Janitor(client)
Exemplo n.º 29
0
def run(client):
    Guards(client)
    return PrintMessages(client)
Exemplo n.º 30
0
def run(client):
    PrintMessages(client)
    Guards(client)
    Watch(client)
    return AutoTinkering(client)