Yoko

All sides of Injection
It is currently 2026-01-18 19:03:39

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SOS!!!
PostPosted: 2005-04-09 02:35:24 
Offline

Joined: 2005-02-13 12:47:38
Posts: 2
Ребят, не могли бы вы помочь, мне срочно нужен скрипт на переработку Хлопка в Нитки
Суть скрипта: чтобы брал из сундука 100 хлопка перерабатывал в нитки и кидал их обратно в сундук...
Реально ли так сделать :?:

За рание Спасибо!


Top
   
 Post subject:
PostPosted: 2005-04-09 10:55:36 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Наверняка. Но у меня на шарде нет ни хлопка, ни ниток. :shock:


Top
   
 Post subject:
PostPosted: 2005-04-09 10:59:13 
Offline

Joined: 2005-02-13 12:47:38
Posts: 2
Edred wrote:
Наверняка. Но у меня на шарде нет ни хлопка, ни ниток. :shock:

Досадно...


Top
   
 Post subject:
PostPosted: 2005-04-09 13:17:16 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Code:
sub Spool()
   VAR Spool='0x0FA0', Hlopok='0x0DF9', Cont='0x405D148A', Stanok='0x41691939',i

   While NOT UO.Dead()
      UO.FindType(Hlopok,-1,Cont)
      UO.Grab(STR(80),'finditem')
      For i=0 to 79
         CheckLag()
         UO.WaitTargetObject(Stanok)
         UO.UseType(Hlopok)
         wait(3000)
      Next
      UO.SetReceivingContainer(Cont)
      UO.FindType(Spool,-1,'backpack')
      UO.Grab('all','finditem')
      UO.UnSetReceivingContainer(Cont)
   Wend
end sub


sub Cloth()
   VAR Spool='0x0FA0', Clotch='0x0DF9', Bolt='0x0F95'
   VAR Cont='0x405D148A', Stanok='0x4133B797',i
   
   While NOT UO.Dead()
      UO.UnSetCatchBag(Cont)
      UO.FindType(Spool,-1,Cont)
      UO.Grab(STR(10),'finditem')
      For i=0 to 9
         CheckLag()
         UO.WaitTargetObject(Stanok)
         UO.UseType(Spool)
      Next
      wait(1000)
      UO.SetCatchBag(Cont)
      UO.FindType(Bolt,-1,'my')
;      UO.Grab('all','finditem')
      UO.WaitTargetObject('finditem')
      UO.UseObject('0x40B421C8') ;scisors
      wait(2000)
      UO.UnSetCatchBag(Cont)
   Wend
end sub



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

All times are UTC+02:00


Who is online

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