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

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Nearga
Posts: 53
Joined: 2012-02-10 15:17:10

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

Post 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
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

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

Post by Mirage »

uo.UseObject(0x0f9e)

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

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

ps кавычки не забываем.
Nearga
Posts: 53
Joined: 2012-02-10 15:17:10

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

Post by Nearga »

Ощутил, спасибо - так и думал, что в мелочи дело :)
Post Reply