Перейти к содержанию
Форум шарда Middle-Earth

Поиск сообщества

Показаны результаты для тегов '8.11.x'.

  • Поиск по тегам

    Введите теги через запятую.
  • Поиск по автору

Тип контента


Форумы

  • Административный
    • Важная информация + новости
    • Middle-Earth Development
    • Предложения и пожелания
  • Игровой
    • Основной форум
    • FAQ
    • Болталка
    • Рынок
    • Турнирный раздел
    • РПГ и квесты
  • Скрипты для вспомогательных програм
    • Общий
    • Injection
    • Stealth
    • Orion
  • Проблемы и наказания
    • Технические вопросы
    • Баны, jail и наказания
    • Жалобы на стафф

Поиск результатов в...

Поиск результатов, которые содержат...


Дата создания

  • Начало

    Конец


Дата обновления

  • Начало

    Конец


Фильтр по количеству...

Регистрация

  • Начало

    Конец


Группа


AIM


MSN


Сайт


ICQ


Yahoo


Jabber


Skype


Город


Интересы

Найдено: 3 результата

  1. stealth version 8.11.4 Фишинг с берега. Новый! Как запустить: читать тут Что делает: ловит рыбу удочкой ничего не скидываем (карты, соски, обувь остаётся в паке) жрёт авто реконект (советую не включать встроенный столсовский реконектор, так как он имеет неприятную особенность зависать при длительных падениях сервака, да и на скрипты это влияет так себе...) Инструкция по применению: кидаем чару в пак удочки и еду(если надо, меняем на свой тип) FOOD = 0x097B # Type еды, сейчас фишстейки ставим возле берега запускаем скрипт следим за появлением капчи и появлением красно\серых упырей from datetime import datetime, timedelta from py_stealth import * """ в бекпак еду, удочки встаём возле берега и запускаем скрипт """ POLE = 0x0DBF RANGE = 6 FOOD = 0x097B # Type еды, сейчас фишстейки def msg(Message): print(Message) ClientPrintEx(0, 60, 2, Message) def DCC(message, TimeWait=15000): if Dead() or not Connected() or not CheckLag(TimeWait): print(f"{message}: You dead, or something else!") return False return True def CheckConnect(WaitTime=15000): if Connected() and Hidden(): for i in range(0, 10): if Hidden(): UOSay(' ') Wait(500) else: break if Connected() and not Hidden() and not CheckLag(WaitTime): Disconnect() Wait(5000) if not Connected(): print('CheckConnect.py : Not connected to server!') print('CheckConnect.py : Reconnected...') while not Connected(): Connect() for i in range(0, 10): if Hidden(): UOSay(' ') Wait(500) else: break CheckLag(5000) if Connected() and not Hidden() and not CheckLag(8000): Disconnect() print('CheckConnect.py : Server connection restored.') return False return True def CheckSave(): Time = datetime.now() - timedelta(0, 30) if InJournalBetweenTimes('Saving World State', Time, datetime.now()) >= 0: Wait(30000) def OpenPack(Container=Backpack()): while LastContainer() != Container: if DCC(OpenPack): break CheckSave() UseObject(Container) end = 0 while end >= 5: if LastContainer() == Backpack(): break Wait(1000) end += 1 def Hungry(food=0x097B, place=Backpack()): # food default "fish steaks", search in you backpack while True: if Dead() or not Connected() or not CheckLag(): print("Hungry: You dead, or not connected or hard lags!") return False if f := FindType(food, place): ct = datetime.now() UseObject(f) Wait(1000) if WaitJournalLine(ct, 'Я объелся', 700): return True else: print("Hungry: not found food!") return False def CheckPole(): if not CheckConnect() or Dead(): return False CheckSave() if LastContainer() != Backpack(): OpenPack() if GetType(ObjAtLayer(RhandLayer())): Disarm() if GetType(ObjAtLayer(LhandLayer())) == POLE: return ObjAtLayer(LhandLayer()) if FindType(POLE, Backpack()): return FindItem() else: print('ERROR: у меня нет инструмента') return False def CheckTile(x, y): tile = [0, 6038, 6039, 6040, 6041, 6042, 6043, 13422, 13423, 13424, 13425, 13426, 13427, 13428, 13429, 13430, 13431, 13432, 13433, 13434, 13435, 13436, 13437, 13438, 13439, 13440, 13441, 13442, 13443, 13444, 13456, 13457, 13458, 13459, 13460, 13461, 13462, 13463, 13464, 13465, 13466, 13467, 13468, 13469, 13470, 13471, 13472, 13473, 13474, 13475, 13476, 13477, 13478, 13479, 13480, 13481, 13482, 13493, 13494, 13495, 13496, 13497, 13498, 13499, 13500, 13501, 13502, 13503, 13504, 13505, 13506, 13507, 13508, 13509, 13510, 13511, 13512, 13513, 13514, 13515, 13516, 13517, 13518, 13519, 13520, 13521, 13522, 13523, 13524, 168, 169, 170, 310, 16368, 16369, 16370, 168, 169, 170, 171, 310, 311] r = ReadStaticsXY(x, y, WorldNum()) for i in tile: if len(r) <= 0: return False if r[len(r) - 1].get('Tile') == i: return r[len(r)-1] return False def CheckCaptcha(pole): while IsGump(): g = GetGumpInfo(GetGumpsCount() - 1) if g.get('Text')[0][0].find("капча"): msg(">>>>>>>> Нужно ввести капчу!\n" "если клиент был закрыт и при заходе клиентом капчи нет, просто юзани удочку...") while IsGump(): Wait(1000) msg(">>>>>>>> отлично продолжаем...") if not TargetPresent(): UseObject(pole) Wait(1000) def Fishing(x, y, z, tile): while True: CheckConnect() if Dead(): msg('Чар мёртв') return False if pole := CheckPole(): Hungry() if TargetPresent(): CancelTarget() ct = datetime.now() while not TargetPresent(): CheckSave() CheckLag() UseObject(pole) CheckCaptcha(pole) WaitForTarget(2500) if WaitForTarget(2500): WaitTargetTile(tile, x, y, z) if WaitJournalLineSystem(ct, "Fishing шанс на успех|There doesn't", 15000): if InJournalBetweenTimes("There doesn't", ct, datetime.now()) != -1: return True else: return False def main(): while True: CheckConnect() if Dead(): msg('Чар мёртв') return ct = 0 for x in range(GetX(Self())-RANGE, GetX(Self())+RANGE): for y in range(GetY(Self())-RANGE, GetY(Self())+RANGE): if CheckTile(x, y): ct += 1 if ct <= 0: msg(f'ERROR: Не вижи тайлов для ловли в радиусе: {RANGE}') return for x in range(GetX(Self())-RANGE, GetX(Self())+RANGE): for y in range(GetY(Self())-RANGE, GetY(Self())+RANGE): if coord := CheckTile(x, y): if not Fishing(coord.get('X'), coord.get('Y'), coord.get('Z'), coord.get('Tile')): return False if __name__ == '__main__': main() if Connected(): Disconnect() msg('END SCRIPT!')
  2. stealth version 8.11.4 Фишинг с лодки. Новый! Как запустить: читать тут Чем богат?: ловит рыбу удочкой скидывает на пол всю пойманную обувь жрёт авто реконект (советую не включать встроенный столсовский реконектор, так как он имеет неприятную особенность зависать при длительных падениях сервака, да и на скрипты это влияет так себе...) бегает к трешбочке что бы утилизировать по всем канонам гринписа: сос бутылки, карты, старые сети... моё время после похода к бочке, понуро плетётся к трюму за новой удочкой ну и самостоятельно (как взрослый мальчик) возвращается на своё место и продолжает рыбачить Инструкция по применению: отплываем на лодке от берега на 1-2 экрана (30-40 тайлов) забиваем трюм лодки удочками ставим треш бочку на лодке в рыбаков суём жареные фишстейки(если что то другое, указываем в скрипте) FOOD = 0x097B # Type еды, сейчас фишстейки запускаем скрипт ??? profit АХТУНГ! При появлении капчи действие скрипта я не проверял, но запилил реакцию, так что при нахождении бага, пишите да поможет вам бог. from datetime import datetime, timedelta from py_stealth import * FOOD = 0x097B # Type еды, сейчас фишстейки def msg(Message): print(Message) ClientPrintEx(0, 60, 2, Message) def DCC(message, TimeWait=15000): if Dead() or not Connected() or not CheckLag(TimeWait): print(f"{message}: You dead, or something else!") return False return True def CheckConnect(WaitTime=15000): if Connected() and Hidden(): for i in range(0, 10): if Hidden(): UOSay(' ') Wait(500) else: break if Connected() and not Hidden() and not CheckLag(WaitTime): Disconnect() Wait(5000) if not Connected(): print('CheckConnect.py : Not connected to server!') print('CheckConnect.py : Reconnected...') while not Connected(): Connect() for i in range(0, 10): if Hidden(): UOSay(' ') Wait(500) else: break CheckLag(5000) if Connected() and not Hidden() and not CheckLag(8000): Disconnect() print('CheckConnect.py : Server connection restored.') return False return True def CheckSave(): Time = datetime.now() - timedelta(0, 30) if InJournalBetweenTimes('Saving World State', Time, datetime.now()) >= 0: Wait(30000) def OpenPack(Container=Backpack()): while LastContainer() != Container: if DCC(OpenPack): break CheckSave() UseObject(Container) end = 0 while end >= 5: if LastContainer() == Backpack(): break Wait(1000) end += 1 def Hungry(): # food default "fish steaks", search in you backpack while True: if Dead() or not Connected() or not CheckLag(15000): print("Hungry: You dead, or not connected or hard lags!") return False OpenPack() FindType(FOOD, Backpack()) if FindCount() <= 0: print("Hungry: not food!") return ct = datetime.now() if TargetPresent(): CancelTarget() UseObject(FindItem()) if not WaitJournalLine(ct, 'Я объелся', 5000): Wait(100) else: return True def DropTrash(board): # Drop boots boot = [0x170A, 0x170B, 0x170C, 0x170D, 0x170E, 0x170F, 0x1710, 0x1711] for i in boot: CheckConnect() while f := FindType(i, Backpack()): if not CheckLag(): break DropHere(f) # Drop trash trash = [0x0DC8, # сети 0x14ED, # карты 0x099F] # бутылки while trashBarrel := FindType(0x0E77, Ground()): x, y = GetX(trashBarrel), GetY(trashBarrel) if board[0]['XMin'] <= x <= board[0]['XMax'] and board[0]['YMin'] <= y <= board[0]['YMax']: if newMoveXY(x, y, False, 1, True): break else: Ignore(trashBarrel) if trashBarrel <= 0: msg("ERROR: не вижу или не могу добраться до Trash barrel!") return False for i in trash: CheckConnect() while f := FindType(i, Backpack()): if not CheckLag(): break MoveItem(f, 1, trashBarrel, 0, 0, 0) def GetPole(): CheckConnect() CheckSave() board = GetMultis() fX, fY = GetX(Self()), GetY(Self()) DropTrash(board) while hold := FindType(0x3E65, Ground()): x, y = GetX(hold), GetY(hold) if board[0]['XMin'] <= x <= board[0]['XMax'] and board[0]['YMin'] <= y <= board[0]['YMax']: if not newMoveXY(x, y, False, 1, True): msg(f"ERROR: не могу добраться до трюма x:{x}, y{y}") return False else: break if LastContainer() != hold: UseObject(hold) for i in range(5): Wait(1000) if LastContainer() == hold: break if i >= 5 and LastContainer() != hold: msg(f"ERROR: не могу открыть трюм x:{GetX(hold)}, y:{GetY(hold)}") return False if FindType(0x0DBF, hold): MoveItem(FindItem(), 1, Backpack(), 0, 0, 0) newMoveXY(fX, fY, False, 0, True) return FindItem() else: print('ERROR: в трюме нет удочек, мне нечем ловить!') return False def CheckPole(): if not CheckConnect() or Dead(): return False CheckSave() if LastContainer() != Backpack(): OpenPack() if GetType(ObjAtLayer(RhandLayer())): Disarm() if GetType(ObjAtLayer(LhandLayer())) == 0x0DBF: return ObjAtLayer(LhandLayer()) if FindType(0x0DBF, Backpack()): return FindItem() if pole := GetPole(): return pole return False def CheckCaptcha(pole): while IsGump(): g = GetGumpInfo(GetGumpsCount() - 1) if g.get('Text')[0][0].find("капча"): msg(">>>>>>>> Нужно ввести капчу!\n" "если клиент был закрыт и при заходе клиентом капчи нет, просто юзани удочку...") while IsGump(): Wait(1000) msg(">>>>>>>> отлично продолжаем...") if not TargetPresent(): UseObject(pole) Wait(1000) def Fishing(x, y, z): while True: CheckConnect() if Dead(): msg('Чар мёртв') return False if pole := CheckPole(): Hungry() if TargetPresent(): CancelTarget() while not TargetPresent(): CheckSave() CheckLag() while IsGump(): CloseSimpleGump(GetGumpsCount()-1) UseObject(pole) CheckCaptcha(pole) WaitForTarget(2500) ct = datetime.now() if WaitForTarget(2500): WaitTargetXYZ(x, y, z) if WaitJournalLine(ct, "Fishing шанс на успех|There doesn't", 60000): if InJournalBetweenTimes("There doesn't", ct, datetime.now()) != -1: return True else: return False def GetTiles(): typeTile = [168, 169, 170, 171, 310, 311] array = [] board = GetMultis() for x in range(GetX(Self()) - 6, GetX(Self()) + 6): for y in range(GetY(Self()) - 6, GetY(Self()) + 6): if (x > board[0]['XMax'] or x < board[0]['XMin']) and (y > board[0]['YMax'] or y < board[0]['YMin']): tile = GetCell(x, y, WorldNum()) for t in typeTile: if tile['Tile'] == t: array.append({'X': x, 'Y': y, 'Z': tile['Z']}) break return array if len(array) else False def main(): while True: CheckConnect() if Dead(): msg('Чар мёртв') return arrayTile = GetTiles() if not len(arrayTile): msg(f'ERROR: Не вижи тайлов для ловли в радиусе: 6 тайлов') return for tile in arrayTile: if not Fishing(tile['X'], tile['Y'], tile['Z']): return False if __name__ == '__main__': SetFindDistance(10) SetFindVertical(10) SetMoveOpenDoor(True) SetMoveCheckStamina(0) SetMoveThroughNPC(0) main() if Connected(): Disconnect() msg('END SCRIPT!') SetARStatus(False) Disconnect()
  3. stealts v. 8.11.4 Как запустить: читать тут Собственно сабж Чар берёт из банка нужное кол-во логов для 1 крафта - крафтит вещь, если не получилось, добирает логов, если получилось скидывает удочку\ки в банк сам жрёт, сам реконектится Никаких счётчиков на кол-во скрафченных вещей нет! Будет пилить эти палки пока есть из чего! Оставить чара в Ньюби Городе, в пак ему кинуть щипцы тинкертулса, в банк закинуть жареной рыбки если хотите что бы чар с начало кидал удочки в контейнер в банке, указать ID контейнера в: CONTAINER = 0x69F8D06A # указать ID контейнера в банке иначе будет кидать в банк После того как контейнер заполнится, будет складывать всё в банк под завязку, ну или пока не кончатся логи. Логи должны быть ПРОСТЫЕ! from py_stealth import * from datetime import datetime as dt from datetime import timedelta CONTAINER = 0x69F8D06A # указать ID контейнера в банке иначе будет кидать в банк def CheckSave(): Time = dt.now() - timedelta(0, 30) if InJournalBetweenTimes('Saving World State', Time, dt.now()) >= 0: Wait(30000) return False return True def Hungry(food=0x097B, place=Backpack()): # food default "fish steaks", search in you backpack while True: if Dead() or not Connected() or not CheckLag(15000): print("Hungry: You dead, or not connected or hard lags!") return False FindType(food, place) if FindCount() <= 0: print("Hungry: not food!") return ct = dt.now() UseObject(FindItem()) Wait(1000) if InJournalBetweenTimes('Я объелся', ct, dt.now()) != -1: return True def OpenPack(Container=Backpack()): while LastContainer() != Container: if Dead() or not Connected() or not CheckLag(): print("OpenPack: You dead, or something else!") break CheckSave() UseObject(Container) end = 0 while end >= 5: if LastContainer() == Backpack(): break Wait(1000) end += 1 def msg(Message): print(Message) ClientPrintEx(0, 60, 2, Message) def CheckConnect(WaitTime=15000): for i in range(0, 10): if Hidden(): UOSay(' ') Wait(500) else: break if Connected() and not CheckLag(WaitTime): Disconnect() Wait(5000) if not Connected(): print('CheckConnect.py : Not connected to server!') print('CheckConnect.py : Reconnected...') while not Connected(): Connect() CheckLag(5000) if Connected() and not CheckLag(8000): Disconnect() print('CheckConnect.py : Server connection restored.') return False return True def GetTool(): if f := FindType(0x1EBC, Backpack()): return f else: msg("ERROR: в бекпаке нет tinker's tools") return False def GetWood(): FindTypeEx(0x1BDD, 0xffff, Backpack(), False) if FindQuantity() >= 5: return True count = abs(5 - FindQuantity()) if count == 0: return True FindTypeEx(0x1BDD, 0xffff, ObjAtLayer(BankLayer()), False) if FindQuantity() >= count: MoveItem(FindItem(), count, Backpack(), 0, 0, 0) return True return False def CraftPole(tool): AutoMenu("Select", "Tools") AutoMenu("Select", "Pole") cTime = dt.now() if TargetPresent(): CancelTarget() UseObject(tool) if WaitForTarget(5000): if f := FindType(0x1BDD, Backpack()): WaitTargetObject(f) msg1 = "You don't have enough material to make this!" msg2 = "You destroy some material." msg3 = "You create" if WaitJournalLine(cTime, f"{msg1}|{msg2}|{msg3}", 15000): if InJournalBetweenTimes(msg3, cTime, dt.now()) != -1: return True Wait(100) return False def MovePoleInBank(): if GetType(CONTAINER) > 0: cont = CONTAINER else: cont = ObjAtLayer(BankLayer()) while f := FindType(0x0DBF, Backpack()): bTime = dt.now() MoveItem(f, 1, cont, 0, 0, 0) Wait(100) if InJournalBetweenTimes("full", bTime, dt.now()) != -1: if cont == ObjAtLayer(BankLayer()): msg("Все контейнеры заполнены!") return False cont = ObjAtLayer(BankLayer()) return True def main(): while True: if not CheckConnect(): OpenPack() if Dead(): msg('ERROR: Я мёртв') return False if Dist(GetX(Self()), GetY(Self()), 3031, 3370) < 1: if not newMoveXY(3031, 3370, 0, 1, True): msg('ERROR: не могу дойти до банка') return False t = 0 while LastContainer() != ObjAtLayer(BankLayer()): if t > 4: msg('ERROR: Не могу открыть банк') return False t += 1 UOSay('bank') Wait(5000) Hungry(place=ObjAtLayer(BankLayer())) tool = GetTool() if not GetWood(): return False if CraftPole(tool): if not MovePoleInBank(): return False if __name__ == '__main__': main() SetARStatus(False) Disconnect() msg('END SCRIPT')
×
×
  • Создать...