Yoko
http://forum.yoko.com.ua/

Глючит перенос предметов
http://forum.yoko.com.ua/viewtopic.php?f=20&t=2148
Page 1 of 1

Author:  Optical [ 2004-12-05 04:06:14 ]
Post subject:  Глючит перенос предметов

В последнее время перестал работать перенос в контейнеры.
Вот, пытаюсь перенести из контейнера в пак, пишет инвалид обжект
Code:
<...>
CheckLag()
uo.print('Unload loot...')
uo.useobject('backpack')
wait(1000)
uo.useobject(Cont)
   uo.findtype('0x0F0E','0x0388',Cont)
   UO.Grab('1','finditem','backpack')
   wait(1000)
<...>

Может это из-за "finddistance" или из-за "uo.SetReceivingContainer"

Author:  666Man666 [ 2004-12-05 05:56:29 ]
Post subject: 

Попробуй так мож получится
Code:
<...> 
CheckLag()
UO.print('Unload loot...')
UO.useobject('backpack')
UO.SetReceivingContainer(backpack)
UO.useobject(Cont)
wait(1000)
UO.findtype('0x0F0E','0x0388',Cont)
If UO.GetQuantity('finditem') > 0 Then
UO.Grab('0','finditem')
wait(1500)
Else
UO.print('Not Loot!... Go away nOOb')
EndIf
UO.UnSetReceivingContainer()
<...>

Author:  Optical [ 2004-12-05 08:47:43 ]
Post subject: 

Хм, заработало :D
А как таким же способом с земли в контейнер? %)
Так?
Code:
UO.UnSetReceivingContainer(Cont)
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('finditem')
UO.UnSetReceivingContainer()

Author:  Sfagnum [ 2004-12-06 10:51:11 ]
Post subject: 

Optical wrote:
Code:
UO.UnSetReceivingContainer()
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('0','finditem')
нет так

Author:  Optical [ 2004-12-07 18:22:50 ]
Post subject: 

Sfagnum wrote:
Optical wrote:
Code:
UO.UnSetReceivingContainer()
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('0','finditem')
нет так

м? а как он узнает куды кидать?

Author:  AGRS [ 2004-12-07 19:33:20 ]
Post subject: 

Optical wrote:
Sfagnum wrote:
Optical wrote:
Code:
UO.UnSetReceivingContainer()
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('0','finditem')
нет так

м? а как он узнает куды кидать?


Наверное смотрит в переменную, которую UnSetReceivingContainer() сбрасывает. :)

Author:  Yoko [ 2004-12-07 19:34:20 ]
Post subject: 

[yhlp_moveitem]

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/