Yoko

All sides of Injection
It is currently 2026-03-19 04:28:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-11-26 12:56:48 
Offline

Joined: 2004-10-15 21:16:48
Posts: 5
sub tinker()
VAR Sunduk = '0x4002FDE3' ; ?????? ???????
VAR Ingi = '0x1BEF' ; ??? ?????
VAR Instrum = '0x1EBC' ; ??? ??????????? ???????
VAR Lockpick = '0x0F0E' ; ??? ???????
VAR Kolvo = 200 ; ????? ?????
VAR k = 0
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 ) > 0
; ???? ? ???? ???? ????
UO.Print('Ostalos ' + Str( UO.Count( Ingi ) ) + ' ingots' )
UO.DeleteJournal()
UO.CancelMenu()
UO.WaitMenu ('Tinkering', 'Tools', 'Tools', 'lockpick' )
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( lockpick ) > 0 then
UO.FindType( lockpick, -1, -1 )
UO.MoveItem( 'finditem', 1, Sunduk )
wait( 1000 )
UO.Print( 'lockpick moved' )
end if
Wend
Wend
end sub





Почему отмычки обратно в сундук не ложит?


Top
   
PostPosted: 2004-11-26 14:39:52 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Fugleman wrote:
Code:
if UO.Count( lockpick ) > 0 then 
           UO.FindType( lockpick, '-1','backpack' )
           UO.MoveItem( 'finditem', '-1', Sunduk )
           wait( 1000 )
           UO.Print( 'lockpick moved' )
end if

Почему отмычки обратно в сундук не ложит?


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:  
Powered by phpBB® Forum Software © phpBB Limited