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, помогите кто может