Yoko

All sides of Injection
It is currently 2024-03-29 12:43:10

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2013-04-05 16:52:48 
Offline

Joined: 2012-04-21 19:04:19
Posts: 5
Доброго времени суток,
Есть вот такой вот скрипт, что где нужно поменять, чтоб он делал не Lesser Poison, а обычный Poison.



sub Alchemy()
VAR Exit=0, LastTimer
uo.print('Сундук с регами и бутылками')
uo.exec('addobject Bag')
while uo.targeting()
wait(100)
wend
uo.print('Сундук куда бутылки бросать')
uo.exec('addobject Bag2')
while uo.targeting()
wait(100)
wend
while Exit<>1
UO.DeleteJournal()
UO.FindType('0x0F0E','0x0998','backpack')
If UO.GetQuantity('finditem')>0 Then
UO.SetReceivingContainer('Bag2')
wait(1000)
UO.Grab('all','finditem')
wait(1000)
UO.UnSetReceivingContainer()
Endif
UO.FindType('0x0F0E',-1,'backpack')
If UO.GetQuantity('finditem')<10 then
UO.FindType('0x0F0E','0x0000','Bag')
wait(1000)
UO.Grab('500','finditem')
wait(1000)
Endif
UO.FindType('0x0F88','0x0000','backpack')
If UO.GetQuantity('finditem')<20 then
UO.FindType('0x0F88','0x0000','Bag')
wait(1000)
UO.Grab('400','finditem')
wait(1000)
Endif
LastTimer=UO.Timer()
UO.DeleteJournal()
UO.UseType('0x0F88')
UO.WaitMenu('What','Poison')
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You toss the failed")
wait(500)
wend
If UO.InJournal("You toss the failed") then
repeat
wait(100)
until UO.Timer()>=LastTimer+100
Else
EndIf
wend
end sub


Top
   
PostPosted: 2013-04-05 18:18:38 
Offline
User avatar

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


Top
   
PostPosted: 2013-04-05 19:19:42 
Offline

Joined: 2012-04-21 19:04:19
Posts: 5
ZeroDX wrote:
кажется в вейтменю можно выставить номер выбора, но точно не помню... и возможно придётся ковырнуть проверку на кол-во регов в паке


Пробовал выставлять в вейтменю, написало что выбирает Пойсон, а делало Лессер.


Top
   
PostPosted: 2013-04-05 20:35:00 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Пойзонки вроде только кликом в определенные корординаты. Мб в версиях инжекта после 700 это пофикшено, но не факт.
Вместо
Code:
UO.WaitMenu('What','Poison')

Поставь
Code:
uo.ldblclick(X,Y)
wait(500)

X и Y вставь координаты пойзона в менюшке. Узнать их можно через UO Pilot


Top
   
PostPosted: 2013-04-05 20:47:54 
Offline

Joined: 2012-04-21 19:04:19
Posts: 5
Спасибо, завтра зайду попробую.


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 14 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