Yoko

All sides of Injection
It is currently 2026-01-17 14:10:42

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2004-11-14 12:52:38 
Offline

Joined: 2004-08-29 08:33:44
Posts: 116
Дайте пож скрипт чтобы чар перетаскивал все найденные объекты по типу в пешок


Top
   
 Post subject:
PostPosted: 2004-11-14 13:03:52 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Code:
SUB DropTypeToCont(Type, Color, Cont)
; Сбрасывание всех предметов типа (Type, Color) из пака в Cont
  Repeat
    UO.FindType(Type, Color, 'backpack')
    UO.Print('DropTypeToCont - '+STR(UO.FindCount()))
    If UO.FindCount()>0 Then
      UO.MoveItem('finditem', '0', Cont)
      Wait(LootTime)
      CheckLag()
    EndIf
    UO.FindType(Type, Color, 'backpack')
  Until UO.FindCount()<1
END SUB


Top
   
 Post subject:
PostPosted: 2004-11-14 14:23:09 
Offline

Joined: 2004-08-29 08:33:44
Posts: 116
AGRS wrote:
Code:
SUB DropTypeToCont(Type, Color, Cont)
; Сбрасывание всех предметов типа (Type, Color) из пака в Cont
  Repeat
    UO.FindType(Type, Color, 'backpack')
    UO.Print('DropTypeToCont - '+STR(UO.FindCount()))
    If UO.FindCount()>0 Then
      UO.MoveItem('finditem', '0', Cont)
      Wait(LootTime)
      CheckLag()
    EndIf
    UO.FindType(Type, Color, 'backpack')
  Until UO.FindCount()<1
END SUB

АГЕРЕСИК всегда выручит :)))) спасибо


Top
   
 Post subject:
PostPosted: 2004-11-14 15:18:04 
Offline

Joined: 2004-08-29 08:33:44
Posts: 116
мда..... а настроить то я не смог :oops:


Top
   
 Post subject:
PostPosted: 2004-11-14 18:27:38 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
то что возможно надо менять Type, Color, Cont,'backpack',LootTime
то чего тут нет и надо либо писать либо выкидывать  CheckLag()

так что, как видишь, не всё так просто для тех, кто не хочет разбираться


Top
   
 Post subject:
PostPosted: 2004-11-14 21:18:47 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Вах! Народ отсталый. Надо набор стандартных функций пособрать, в соседнем разделе опубликовать.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 10 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