Yoko

All sides of Injection
It is currently 2026-01-17 16:09:04

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2004-12-05 04:06:14 
Offline
User avatar

Joined: 2004-11-02 23:52:47
Posts: 86
В последнее время перестал работать перенос в контейнеры.
Вот, пытаюсь перенести из контейнера в пак, пишет инвалид обжект
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"


Top
   
 Post subject:
PostPosted: 2004-12-05 05:56:29 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
Попробуй так мож получится
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()
<...>


Top
   
 Post subject:
PostPosted: 2004-12-05 08:47:43 
Offline
User avatar

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


Top
   
 Post subject:
PostPosted: 2004-12-06 10:51:11 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Optical wrote:
Code:
UO.UnSetReceivingContainer()
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('0','finditem')
нет так


Top
   
 Post subject:
PostPosted: 2004-12-07 18:22:50 
Offline
User avatar

Joined: 2004-11-02 23:52:47
Posts: 86
Sfagnum wrote:
Optical wrote:
Code:
UO.UnSetReceivingContainer()
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('0','finditem')
нет так

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


Top
   
 Post subject:
PostPosted: 2004-12-07 19:33:20 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Optical wrote:
Sfagnum wrote:
Optical wrote:
Code:
UO.UnSetReceivingContainer()
  wait(4000)
    uo.findtype('0x20F6',-1,'ground')
    uo.Grab('0','finditem')
нет так

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


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


Top
   
 Post subject:
PostPosted: 2004-12-07 19:34:20 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
[yhlp_moveitem]


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited