Yoko

All sides of Injection
It is currently 2025-10-25 19:22:29

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2008-01-21 19:48:54 
Offline

Joined: 2008-01-21 13:48:34
Posts: 2
из воды ловлю паки с ГП но они падают на землю мне необходимо поставить на макрос! чтобы он ГП из каждого нового мешка мне в пак клал! и все! без замарочек нашёт веса рекола и так далие!


зарание сенкс!


Top
   
 Post subject:
PostPosted: 2008-01-22 10:45:20 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Code:
sub LootGoldFromBags()

Var BagWithGoldType = "0x0E76"   # тип мешка
Var BagWithGoldColor = "0x0000"  # цвет мешка
Var DragDelay = 750

While Not UO.Dead()
  UO.Set("finddistance", 1)
  UO.FindType(BagWithGoldType, BagWithGoldColor, 1)
  If UO.FindCount() > 0 Then
    UO.UseObject("finditem")
    Wait(DragDelay)
    UO.Exec("emptycontainer " + Str(DragDelay) + " finditem backpack")
    UO.Ignore("finditem")
    Wait(DragDelay)
  EndIf
  Wait(1000)
Wend

endsub


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 2 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