Yoko

All sides of Injection
It is currently 2026-01-17 18:01:51

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-11-18 18:42:53 
Offline
User avatar

Joined: 2004-11-14 20:23:48
Posts: 24
Location: не важно!
Code:
##################################################################### 
; Tinker. v.1.00b (c) Edred
;
; ×àð áåð¸ò èç ñóìêè èíãè, êðàôòèò áóòûëêè
; ëîæèò èõ â òó æå ñóìêó .
; Åñëè èíãè êîí÷èëèñü âûõîä.
;
sub tinker()
   VAR Sunduk = '0x4004CF26'       ; ñåðèàë ñóíäóêà
   VAR Ingi = '0x1BEF'          ;  òèï èíãîâ
   VAR Instrum = '0x1EBC'          ; èíñòðóìåíò òèíêåðà
   VAR Bottle = '0x0F0E'          ; òèï áóòûëîê
   VAR Kolvo = 400        ; ñêîëüêî èíãîâ áðàòü
   VAR k = 0
   repeat
   While TRUE
      UO.FindType( Ingi, -1, Sunduk )   ; èùåì èíãè â ñóíäóêå
      If UO.FindCount() == 0 Then
         UO.Print("Iron Ingots not found, script terminated")
         return
      Endif
      UO.Grab( Str( Kolvo ), 'finditem' )
      wait( 2000 )
      While UO.Count( Ingi ) > 20
         ; ???? ? ???? ???? ????
         UO.Print('Ostalos ' + Str( UO.Count( Ingi ) ) + ' ingots' )
         UO.DeleteJournal()
         
         UO.WaitMenu ('Tinkering', 'Tools', 'Tools', 'Empty bottle' )
         UO.UseType(Instrum)
         k = 0
         while NOT UO.InJournal('You put') AND NOT UO.InJournal('fail') AND ( k < 30 )
            k = k + 1
            wait(500)
         wend
         if UO.Count( Bottle ) > 10 then
            UO.FindType( Bottle, -1, -1 )
            UO.MoveItem( 'finditem', 0, Sunduk )
            wait( 1000 )
            UO.Print( 'Bottle moved' )
         end if
      Wend
   Wend
   until UO.Dead()
end sub

Помогите, какаято фигнЯ тут, чар берет из сундука инги и все не кравтит!!

_________________
-=$؆=-


Top
   
 Post subject:
PostPosted: 2004-11-18 18:46:27 
Offline
User avatar

Joined: 2004-11-14 20:23:48
Posts: 24
Location: не важно!
рЕБЯТ СОРИ НЕУВИДЕЛ ДРУГОЙ ПОСТ, СОРИ!

_________________
-=$؆=-


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