Yoko

All sides of Injection
It is currently 2025-11-08 20:01:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2007-12-10 12:08:06 
Offline

Joined: 2007-03-16 21:14:31
Posts: 65
Почемуто на абисе нефурычит все вродебы правильно

Code:
sub BS()  #Êó¸ì äàããåðû... 
var maxweight=(uo.str*4 + 30)
var   xxx,óóó,time,done,bsstart
bsstart=uo.skillval('Blacksmithing')
Wait(500)
time=8
done=1
#UO.automenu('Blacksmithing','Weapons') #ïî÷åìó-òî ïåðåñòàëî ðàáîòàòü ñ íèìè...
#UO.automenu('Weapons','Fencing')
#UO.automenu('Fencing','dagger')
repeat
 if uo.hidden() == 0 then
  repeat
   uo.useskill('Hiding')
   uo.deletejournal()
   wait(1000)
    while not uo.injournal("You can't seem") and not uo.injournal("You have hidden")
     wait(100)
    wend 
  until uo.hidden() == 1
 end if
# Íà÷èíàåì âûâîä íèêîìó íå íóæíûõ ñîîáùåíèé =)
 uo.print('You have '+str(uo.count("0x1BEF"))+' ings left')
 uo.setglobal('xxx',uo.count("0x1BEF")/3)
 uo.print('It will be enough for '+uo.getglobal('xxx')+' daggers')
 uo.print('Average time per dagger : '+str(time/done)+' sec')
 uo.setglobal('óóó',time/done*uo.count("0x1BEF")/180)
 uo.print('Expectably time left : '+uo.getglobal('óóó')+' min')
 uo.print('Skill raised during this script by : '+str((uo.skillval('Blacksmithing')-bsstart)/10))
 uo.print('And is now equal : '+str(uo.skillval('Blacksmithing')/10))
# Çàêàí÷èâàåì âûâîä
 UO.Set('quiet', '1')
# wait(50)
 UO.WaitMenu('Blacksmithing','Weapons','Weapons','Fencing','Fencing','dagger')
 UO.usetype("0x1BEF")
# Ïîþçàëè èíãè
 UO.DeleteJournal()
 time=time+0.1
 while not UO.InJournal("You put the dagger") and not UO.InJournal("You fail") and not UO.InJournal("You have fail")
  Wait(100)
  time=time+0.1
 wend
# È ïðîæäàëè "óìíóþ" ïàóçó
 done=done+1 
 UO.Set('quiet', '0')
# wait(50)
until (UO.Count('0x1BEF',0) < 20) # åñëè ìåíüøå, òî ïî÷åìó-òî çàòûêàåòñÿ íà âûáîðå äàããåðà
end sub


Top
   
 Post subject:
PostPosted: 2007-12-10 21:20:21 
Offline

Joined: 2007-06-11 22:57:49
Posts: 118
помогите пожаалусто сделать так чтобы он в мусорник выкидывал сделанное

Code:
sub Blacksmithing() 
var Exit=0, LastTimer
while Exit<>1
uo.DeleteJournal()
LastTimer=uo.Timer()
uo.WaitMenu('Blacksmithing','Weapons','Weapons','Swords','Swords','dagger')
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
end if

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

if uo.GetQuantity('finditem') then
uo.WaitTargetObject('finditem')
uo.UseObject('0x40001072') ; Форж
end if

uo.FindType('0x1BEF',-1,'backpack')
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x1BEF','0x0000','0x40001234') ;Cундук с ингами
wait(1000)
uo.Grab('1000','finditem')
Endif
wait(1000)
wend   
end sub


Top
   
 Post subject:
PostPosted: 2007-12-11 13:55:20 
Offline

Joined: 2007-06-11 22:57:49
Posts: 118
помогите пожалуйсто!


Top
   
 Post subject:
PostPosted: 2007-12-12 13:34:28 
Offline

Joined: 2007-06-11 22:57:49
Posts: 118
скажите пожалуйсто - а в этом скипте он инготы берёт из судука или их самому м бакпак ложить надо?


Top
   
 Post subject:
PostPosted: 2007-12-15 01:44:35 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
Во-втором скрипте инги берёт из сундука, а скованные даггеры плавит


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 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited