Yoko

All sides of Injection
It is currently 2026-05-19 06:35:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2006-03-13 14:01:13 
Offline

Joined: 2006-02-08 10:29:37
Posts: 15
Code:
sub tinkering()


VAR boks = '0x4000EFD6'
VAR boks2 = '0x4000AE6C'
Var col1
Var col2

na4alo:

 wait (1000)

#delauem Axle
col1 = uo.Count ( '0x1BDD', '0x0000' ) ; logs
uo.cancelmenu()
While col1 >= 4
wait ( 1500 )
uo.waittargettype ( '0x1BDD', '0x0000' ) ; logs
wait ( 100 )
uo.automenu('Tinkering','Misc')
uo.automenu( 'Misc', 'Wooden Items')
uo.automenu( 'Wooden Items', 'Axle')
UO.UseType ( '0x1ebc' ) ;instryment
wait ( 3500 )
col1 = uo.Count ( '0x1BDD', '0x0000' ) ; logs
wait ( 500 )
Wend


#vikidivaem sdelanoe
col2 = uo.Count ( '0x1051', '0x0000' )   ;AXLE
While col2 > 0
 wait ( 100 )
 UO.FindType( '0x1051', 'backpack')
 wait ( 100 )
 uo.moveitem('finditem','all',boks2)
 wait (100)
 col2 = uo.Count ( '0x1BDD' )
wend
wait ( 1000 )



#berem 400 logov iz boks(a)
 UO.FindType( '0x1BDD', '0x0000', boks)
 wait ( 100 )
 uo.moveitem('finditem','400','backpack')
 wait (1000)



wait ( 100 )
goto na4alo
endsub


Ошибка возникает когда делается AXLE, помогите кто может


Top
   
PostPosted: 2006-03-13 14:16:13 
Offline

Joined: 2006-02-03 06:53:36
Posts: 64
какая ошибка то?


Top
   
 Post subject:
PostPosted: 2006-03-13 14:17:34 
Offline

Joined: 2006-02-08 10:29:37
Posts: 15
Unhandled exception in parser


Top
   
 Post subject:
PostPosted: 2006-03-13 14:25:40 
Offline

Joined: 2006-02-03 06:53:36
Posts: 64
Mitya wrote:
Unhandled exception in parser

в какой момент? он успевает чтото сделать?


Top
   
 Post subject:
PostPosted: 2006-03-13 14:30:40 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
ошибка не очевидная попробуйц отформатировать нормально


Top
   
 Post subject:
PostPosted: 2006-03-13 14:39:18 
Offline

Joined: 2006-02-08 10:29:37
Posts: 15
да успевает, делает делает и ощибка.
много сделать не успевает, где-то штук 10 сделает и вылетает


Top
   
 Post subject:
PostPosted: 2006-03-13 14:42:27 
Offline

Joined: 2006-02-03 06:53:36
Posts: 64
тогда подозреваю дело в этом:
uo.moveitem('finditem','all',boks2)
вместо 'all' поставить 0 или 1


Top
   
 Post subject:
PostPosted: 2006-03-13 14:46:56 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
sub tinkering() 
VAR boks = '0x4000EFD6'
VAR boks2 = '0x4000AE6C'
Var col1
Var col2
   uo.automenu('Tinkering','Misc')
   uo.automenu('Misc', 'Wooden Items')
   uo.automenu('Wooden Items', 'Axle')
   while not uo.Dead()
      wait(1000)
      #delauem Axle
      col1 = uo.Count('0x1BDD', '0x0000') ; logs
      While col1 >= 4
         wait(1500)
         uo.waittargettype('0x1BDD', '0x0000') ; logs
         wait(100)
         UO.UseType('0x1ebc') ;instryment
         wait(3500)
         col1 = uo.Count('0x1BDD', '0x0000') ; logs
         wait(500)
      Wend
      #vikidivaem sdelanoe
      col2 = uo.Count('0x1051', '0x0000')   ;AXLE
      While col2 > 0
         wait(100)
         UO.FindType('0x1051', 'backpack')
         wait(100)
         uo.moveitem('finditem','all',boks2)
         wait(100)
         col2 = uo.Count('0x1BDD')
      wend
      wait(1000)
      #berem 400 logov iz boks(a)
      UO.FindType('0x1BDD', '0x0000', boks)
      wait(100)
      uo.moveitem('finditem', '400', 'backpack')
      wait(1000)
   wend
end sub

пробуй...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 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