Задача - взять из трупа все и положить в мешочек , который лежит в бэкпеке.
Данный скрипт работает, но если в мешочке попробуешь пошевелить вещи- скрипт вылетает.
Я полагаю, что функция UO.IgnoreReset() срабатывает некорректно.
Помогите плз.
Sub Loot()
UO.SetReceivingContainer('0x400265CE')
repeat
UO.FindType('-1','-1','lastcontainer')
UO.Print(' !!! Looting Items: '+str(UO.findcount()))
UO.Ignore('finditem')
UO.Grab('0','finditem')
Wait(500)
until UO.FindCount()==0
UO.IgnoreReset()
UO.UnSetReceivingContainer()
end sub
UO.Ignore('finditem') вешает клиент
Moderators: Murderator+, Murderator
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Constin wrote:а вставки на перле инжект съест?
Если ему дать вилку и ножик - съест.
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Constin wrote:попробуем написать новую функцию)
Имелось в виду использовать уже готовый перловский скриптовый модуль, который соответственно отлично переваривает перл.. Типа вилка и ножик - pinject

А какую вы собрались писать функцию - я не совсем понял..
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Re: UO.Ignore('finditem') вешает клиент
Constin wrote:Задача - взять из трупа все и положить в мешочек , который лежит в бэкпеке.
Данный скрипт работает, но если в мешочке попробуешь пошевелить вещи- скрипт вылетает.
Я полагаю, что функция UO.IgnoreReset() срабатывает некорректно.
Помогите плз.
Блин скока мона говорить:
Code: Select all
Sub Loot()
UO.SetReceivingContainer('0x400265CE')
repeat
UO.FindType('-1','-1','lastcontainer')
UO.Print(' !!! Looting Items: '+str(UO.findcount()))
UO.Grab('0','finditem')
UO.Ignore('finditem')
Wait(500)
until UO.FindCount()==0
UO.IgnoreReset()
UO.UnSetReceivingContainer()
end sub
как он возьмет вещь которую игнорирует? поменяй у себя местами, граб и игнор. а зачем ты вещи в тркпе трогаешь? нетрожжжж...

