Page 1 of 1

FindType видит, но "you can't see the target"

Posted: 2012-02-10 21:27:31
by Nearga
Доброго времени суток.

Правлю код тейлоринга, клепаю повязку на тело (Sash).
Создается без проблем, но ножницами резаться не хочет. А точней - находиться.

Код резки:

Code: Select all

*****

UO.DeleteJournal()
   while not UO.InJournal("failed") and not UO.InJournal("You put")
     checklag()
   wend


    if uo.InJournal('put') then
      uo.FindType('0x1541','-1','backpack')
      while uo.FindCount()
         uo.FindType('0x1541','-1','backpack')
         uo.WaitTargetObject('finditem')
         uo.UseObject(0x0f9e)
         wait(750)
      wend
    end if


результат:
Image

Re: FindType видит, но "you can't see the target"

Posted: 2012-02-10 23:02:22
by Mirage
uo.UseObject(0x0f9e)

uo.UseObject('ID объекта') ; 0x1232456789
uo.usetype(TYPE предмета) ; 0x1234

почувствуйте разницу ;)

ps кавычки не забываем.

Re: FindType видит, но "you can't see the target"

Posted: 2012-02-11 00:54:30
by Nearga
Ощутил, спасибо - так и думал, что в мелочи дело :)