Yoko

All sides of Injection
It is currently 2025-10-15 09:32:05

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2004-05-17 19:38:08 
Offline

Joined: 2004-05-17 19:31:50
Posts: 10
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 и Perfect не переплавлялся с переплавкой не эксепт и завершением скрипта на момент фула.

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

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

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

не могли бы Вы мне помочь?
очень нужен скрипт плиз хелп


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 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