Yoko

All sides of Injection
It is currently 2025-12-24 19:59:47

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Скрипт?
PostPosted: 2005-06-27 01:02:40 
Offline

Joined: 2005-04-16 23:33:13
Posts: 104
Привет

Парни вот есть трабла когда закидывают сундуками или еще чем то......то обкладывают так:
Code:
   #
 #  #
  #

Возможно сделать так чтобы брал как можно быстрее только с одной стороны т.е:
Code:
   #-Вот только с этой стороны чтобы брал
 #  #
  #

Просто не реально брать все сразу не успеть не как.......хелпаните с скриптом?


Top
   
 Post subject:
PostPosted: 2005-06-27 07:00:08 
Offline
User avatar

Joined: 2005-05-21 07:12:12
Posts: 163
Location: DRW
Попробуй вот так:

Code:
sub sunduk()
VAR X, Y, typ='.....'
UO.set('finddistance','3')
UO.IgnoreReset()
UO.FindType(typ, '-1', 'ground')
if  UO.FindCount() then
   X=UO.GetX('finditem')
   Y=UO.GetY('finditem')
   while UO.FindCount()
      UO.Ignore('finditem')
      if  UO.GetX('finditem')==X and UO.GetY('finditem')==Y then
         UO.MoveItem('finditem', '0', 'backpack')
         wait(500)
      endif
      UO.FindType(typ, '-1', 'ground')
   wend
endif
end sub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 13 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:  
Powered by phpBB® Forum Software © phpBB Limited