Yoko

All sides of Injection
It is currently 2026-01-19 05:44:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2005-05-21 13:23:38 
Offline
User avatar

Joined: 2005-05-17 17:02:48
Posts: 10
как изменить этот скрипт чтоб он не дедли поисон делал а лузер поисон
Quote:
sub AlchemyPoison()
var Exit=0, LastTimer, TryToPoison

while Exit<>1
uo.DeleteJournal()

uo.FindType('0x0F0E',-1,'backpack') ; Áóòûëêè
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x0F0E','0x0000','0x400DBFDA') ; Êîíòåéíåð ñ áóòûëêàìè (bottle, container)
wait(1000)
uo.Grab('500','finditem')
wait(100)
end if
uo.FindType('0x0F88','0x0000','backpack') ; Íàéò øåéä
if uo.GetQuantity('finditem')<20 then
uo.FindType('0x0F88','0x0000','0x400DBFDA') ; Íàéò øåéä , Êîíòåéíåð
wait(1000)
uo.Grab('1000','finditem')
wait(500)
end if
LastTimer=uo.Timer()
uo.WaitMenu('What','(last)') ; Ìåíþ
uo.UseType(0x0F88) ; Íàéò Øåéä

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
TryToPoison=1
repeat
uo.FindType('0x0F0E','0x0998','my')
if uo.GetQuantity('finditem')>0 then
uo.UseSkill('Poisoning')
uo.WaitTargetObject('0x402ACDF7','finditem') ; Äàããåð
wait(4000)
else
TryToPoison=0
end if
end if
uo.UseSkill('Spirit Speak')
wait(3000)
wend
end sub



Top
   
 Post subject:
PostPosted: 2005-05-21 15:54:53 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Рыть надо тут:
Code:
uo.WaitMenu('What','(last)') ; Ìåíþ 

'(last)' - заменяется на необходимое.
Подробнее в хелпе :wink:


Top
   
 Post subject:
PostPosted: 2005-05-21 17:04:51 
Offline
User avatar

Joined: 2005-05-17 17:02:48
Posts: 10
I'm wrote:
Рыть надо тут:
Code:
uo.WaitMenu('What','(last)') ; Ìåíþ 

'(last)' - заменяется на необходимое.
Подробнее в хелпе :wink:

В принцыпе я догодался что тут вот только вопрос на что необходимое(что вписать надо) :shock: :cry:


Top
   
 Post subject:
PostPosted: 2005-05-22 09:49:25 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
вместо ласт - lesser poison


Top
   
 Post subject:
PostPosted: 2005-05-22 10:58:41 
Offline
User avatar

Joined: 2005-05-17 17:02:48
Posts: 10
Quote:
sub AlchemyPoison()
var Exit=0, LastTimer, TryToPoison

while Exit<>1
uo.DeleteJournal()

uo.FindType('0x0F0E',-1,'backpack') ; Áóòûëêè
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x0F0E','0x0000','0x400DBFDA') ; Êîíòåéíåð ñ áóòûëêàìè (bottle, container)
wait(1000)
uo.Grab('500','finditem')
wait(100)
end if
uo.FindType('0x0F88','0x0000','backpack') ; Íàéò øåéä
if uo.GetQuantity('finditem')<20 then
uo.FindType('0x0F88','0x0000','0x400DBFDA') ; Íàéò øåéä , Êîíòåéíåð
wait(1000)
uo.Grab('1000','finditem')
wait(500)
end if
LastTimer=uo.Timer()
uo.WaitMenu('What','(last)') ; Ìåíþ
uo.UseType(0x0F88) ; Íàéò Øåéä

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
TryToPoison=1
repeat
uo.FindType('0x0F0E','0x0998','my')
if uo.GetQuantity('finditem')>0 then
uo.UseSkill('Poisoning')
uo.WaitTargetObject('0x402ACDF7','finditem') ; Äàããåð
wait(4000)
else
TryToPoison=0
end if
end if
uo.UseSkill('Spirit Speak')
wait(3000)
wend
end sub
sub AlchemyPoison()
var Exit=0, LastTimer, TryToPoison

while Exit<>1
uo.DeleteJournal()

uo.FindType('0x0F0E',-1,'backpack') ; Áóòûëêè
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x0F0E','0x0000','0x400DBFDA') ; Êîíòåéíåð ñ áóòûëêàìè (bottle, container)
wait(1000)
uo.Grab('500','finditem')
wait(100)
end if
uo.FindType('0x0F88','0x0000','backpack') ; Íàéò øåéä
if uo.GetQuantity('finditem')<20 then
uo.FindType('0x0F88','0x0000','0x400DBFDA') ; Íàéò øåéä , Êîíòåéíåð
wait(1000)
uo.Grab('1000','finditem')
wait(500)
end if
LastTimer=uo.Timer()
uo.WaitMenu('What','Lesser Poison') ; Ìåíþ
uo.UseType(0x0F88) ; Íàéò Øåéä

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
TryToPoison=1
repeat
uo.FindType('0x0F0E','0x0998','my')
if uo.GetQuantity('finditem')>0 then
uo.UseSkill('Poisoning')
uo.WaitTargetObject('0x402ACDF7','finditem') ; Äàããåð
wait(4000)
else
TryToPoison=0
end if
end if
uo.UseSkill('Spirit Speak')
wait(3000)
wend
end sub
сеньк за подсказку терь работает как часы и делает лозер поисоны! 8) 8) 8)
Всем кто помог большое СПАСИБО!!!


Top
   
PostPosted: 2005-05-22 12:43:32 
Offline
User avatar

Joined: 2004-07-10 00:38:43
Posts: 203
Location: From DrW
GobliN wrote:
...не дедли поисон делал а лузер поисон...
Интересные потионы однако :roll: :D

_________________
Нет ничего невозможного...
Кто ИЩЕТ, тот всегда найдёт...
Code:
sub UO() 
UO.Chto-To("S Chem-To")
end sub

© I'm


Top
   
PostPosted: 2005-05-22 21:04:09 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
SAMURAI wrote:
GobliN wrote:
...не дедли поисон делал а лузер поисон...
Интересные потионы однако :roll: :D

All for you :D

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


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

All times are UTC+02:00


Who is online

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