Yoko

All sides of Injection
It is currently 2025-12-25 08:00:04

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: БС
PostPosted: 2006-03-22 22:02:28 
Offline

Joined: 2006-02-01 20:58:04
Posts: 31
Вот скрипт клепает дагеры и сразу их палит... но вот если дагеры заменить напримет на баклер он перестает плавить то что я намудрил.. как быть?
Quote:
sub BlacksmithyIM()
VAR Ingi = '0x1BEF'
VAR Exit=0, LastTimer
while Exit<>1
UO.DeleteJournal()
LastTimer=UO.Timer()
UO.WaitMenu('Blacksmithing','Shields','Shields','buckler') ;Что куем
UO.UseType(0x1BEF) ;Инги айрона

while NOT UO.InJournal("You put") AND NOT UO.InJournal("You have failed")
wait(500)
wend

If UO.InJournal("You have failed") then
repeat
wait(100)
until UO.Timer()>=LastTimer+100 ;Время создания дагера
EndIf

UO.FindType('0x0F51',-1,'backpack')
wait(500)

If UO.GetQuantity('finditem') then
UO.WaitTargetObject('finditem')
UO.UseObject(0x40448838) ; Форж
Endif

UO.FindType('0x404C302B',-1,'backpack')
If UO.GetQuantity('finditem')<10 then
UO.FindType(ingi,-1,'ground') ;Cундук с ингами
wait(1000)
UO.Grab('8','finditem')
Endif
wait(1000)
wend
end sub


Top
   
 Post subject:
PostPosted: 2006-03-22 22:39:12 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
UO.FindType('0x1B73',-1,'backpack') 
wait(500)

If UO.GetQuantity('finditem') then
UO.WaitTargetObject('finditem')
UO.UseObject(0x40448838) ; Форж
Endif


Code:
UO.FindType('0x404C302B',-1,'backpack') 
If UO.GetQuantity('finditem')<10 then
UO.FindType(ingi,-1,'ground') ;Cундук с ингами
wait(1000)
UO.Grab('8','finditem')
Endif


тут ошибка... скорей всего имеолось ввиду

Code:
UO.FindType(ingi,-1,'backpack') 
If UO.GetQuantity('finditem')<10 then
UO.FindType(ingi,-1,'ground') ;Cундук с ингами
wait(1000)
UO.Grab('8','finditem')
Endif


Top
   
 Post subject:
PostPosted: 2006-03-24 02:31:58 
Offline

Joined: 2006-02-01 20:58:04
Posts: 31
Мужыки не плавит баклеры... ничего не могу поделать... зря айрон стынет... помогите


Top
   
 Post subject:
PostPosted: 2006-03-24 06:15:07 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
ViSerT wrote:
Мужыки не плавит баклеры... ничего не могу поделать... зря айрон стынет... помогите


Тебе же написали:

Code:
UO.FindType('0x1B73',-1,'backpack')  ##Тут тип того что плавим
wait(500)

If UO.GetQuantity('finditem') > 0 then
UO.WaitTargetObject('finditem')
UO.UseObject(0x40448838) ; Форж
Endif


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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