Yoko

All sides of Injection
It is currently 2025-12-03 19:26:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2007-12-12 22:44:26 
Offline

Joined: 2007-07-20 18:57:45
Posts: 36
Юзал поиск норм скритов ненашел вот этот :
Code:
sub Nitki() 
   VAR Spool='0x0FA0', Hlopok='0x0DF9', Cont='0x416F3EB9', Stanok='0x405274BC',i, Ammount=10

   While NOT UO.Dead()
   UO.FindType(Hlopok,-1,Cont)
   If UO.FindCount() then
   UO.MoveItem('finditem',STR(Ammount),'backpack')
   Endif
      wait(1000)
      For i=1 to Ammount
         checkLag()
   UO.WaitTargetObject(Stanok)
    wait(100)
         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 checklag()
IF UO.Waiting() > 0 THEN
UO.Exec("canceltarget")
END IF
UO.DeleteJournal()
UO.Click('backpack')
REPEAT
WAIT(50)
UNTIL UO.InJournal('backpack')
end sub


Тока берет хлопок 1 раз переделывает нитки в сундук , а еще хлопка не берет , и пишет No Item Found


Top
   
 Post subject:
PostPosted: 2007-12-15 01:42:04 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
Вот попробуй

Code:
sub Nitki() 
 Var Spool = '0x0FA0'
 Var Hlopok = '0x0DF9'
 Var Cont = '0x416F3EB9'
 Var Stanok = '0x405274BC'
 Var i
 Var Ammount = 10
  While not UO.Dead()
    UO.FindType(Hlopok, '-1', Cont)
    If UO.FindCount() then
      UO.MoveItem('finditem', STR(Ammount), 'backpack')
    EndIf
    Wait(1000)
    For i = 1 to Ammount
      CheckLag()
      UO.WaitTargetObject(Stanok)
      Wait(100)
      UO.UseType(Hlopok)
      Wait(3000)
    Next
    UO.FindType(Spool, -1, 'backpack')
    If UO.Count then
      UO.MoveItem('finditem', '-1', Cont)
    EndIf
  Wend
EndSub

sub checklag()
IF UO.Waiting() > 0 THEN
UO.Exec("canceltarget")
END IF
UO.DeleteJournal()
UO.Click('backpack')
REPEAT
WAIT(50)
UNTIL UO.InJournal('backpack')
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:  
cron
Powered by phpBB® Forum Software © phpBB Limited