Yoko

All sides of Injection
It is currently 2025-12-30 07:34:40

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2004-04-10 22:17:20 
Offline

Joined: 2004-04-10 22:05:01
Posts: 8
скрипт:

Code:
sub main()
var bs_hammer='0x13e3', ingots='0x1bf2', bplate='0x1415' # platemail breastplate
var f=UO.count(bplate), i
wait(500)
if uo.count(bplate)>0 then
wait(500)
smelt(bplate,1)
endif
while uo.count(ingots)>30
if uo.count(bplate)>0 then
wait(500)
smelt(bplate,1)
endif
f=UO.count(bplate)
wait(500)
while f<30 and uo.count(ingots)>30
i=uo.count(ingots)
UO.Exec("waitmenu 'like to make' 'Armors' 'armor' 'Platemail' 'like' 'Breastplate'")
UO.waittargettype(ingots)
uo.deletejournal()
UO.usetype(bs_hammer)
repeat
wait(100)
until i<>uo.count(ingots) or f<>uo.count(bplate)
repeat
wait(100)
until uo.injournal('You stop.')
f=UO.count(bplate)
wend
wend
end sub


sub smelt(item, loop)
var forge='0x0fb1', tongs='0x0fbb', count1,count2
count1=uo.count(item)
if count1>0 then
if loop then
count2=0
else
count2=count1-1
endif
repeat
uo.waittargettype(item)
uo.usetype(tongs)
uo.deletejournal()
repeat
wait(10)
until uo.injournal('What')
uo.waittargetground(forge)
uo.deletejournal()
repeat
wait(100)
until uo.injournal('failed') or uo.injournal('turned')
wait(500)
until uo.count(item)<=count2
endif
end sub



просто кладёте инги + тонги(щипцы) + молоток в пак и идёте спать

а вот просьба....

хотелось бы скрипт на ковку фул Exceptional армора с переплавкой не эксепт и завершением скрипта на момент фула.

при изготовлении Exceptional предмета шард выдаёт сообщение:
Success: Exceptional.

при изготовлении простого предмета:
Success.

не могли бы Вы мне помочь?

Я видел такой скрипт на ownz.spb.ru но не успел скачать :(


Top
   
 Post subject:
PostPosted: 2004-04-11 17:56:20 
Offline

Joined: 2004-04-10 22:05:01
Posts: 8
up


Top
   
 Post subject:
PostPosted: 2004-04-14 20:12:41 
Offline

Joined: 2004-04-10 22:05:01
Posts: 8
up


Top
   
PostPosted: 2004-04-20 10:04:39 
Offline

Joined: 2004-04-20 09:55:06
Posts: 2
Там не нужен случайно после варов сделать внешний цикл с проверкой количества ингов? (а то у меня делает один оборот)
Можно ли избавиться от слёта скрипта?(иногда не находит или брюхо или инги)
Можно ли перед переплавкой uo.click проверять эксептость, а потом выкидывать под ноги? (то есть после первого обращение к цвету вещь остаёться таже, или рандомом берется другая?)


Top
   
 Post subject:
PostPosted: 2004-07-27 06:25:08 
Offline
User avatar

Joined: 2004-04-28 07:54:43
Posts: 10
У меня тоже один круг идёт.. Как это будет выглядеть? :wink:


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