Yoko

All sides of Injection
It is currently 2026-01-16 23:07:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Insufferable alchemy!
PostPosted: 2010-02-25 18:55:58 
Offline

Joined: 2008-10-19 18:34:50
Posts: 20
Здраствуйте!
Начну со скрипта
Code:
sub main() 
uo.print('Мусорка')
uo.exec('addobject musor')
while uo.targeting()
wait(100)
wend
uo.print('Сумка')
uo.exec('addobject bag')
while uo.targeting()
wait(100)
wend
while not UO.Dead()
reload()
alchemy()
sliv()

#Bootle 0x0f0e
#MR 0x0F86
#Keg 0x1940
#Strenght Potion 0x0f09
#NS 0x0f88
#Great Poison Bottle 0x0f0a

sub alchemy()
while uo.count('0x0f0e') > 1 and UO.Count('0x0f88') > 1
UO.DeleteJournal()
ChekLag()
UO.WaitMenu('What',(4))
UO.UseType(0x0f88)
UO.DeleteJournal()
while NOT UO.InJournal("You put") AND NOT UO.InJournal("Вы")
wait(100)
wend
wend
end sub

sub keg()
var keg=1-uo.count('0x1940') ;Keg
UO.FindType('0x1940','-1','backpack')
UO.DeleteJournal()
UO.SetCatchbag('musor')
uo.exec("grab "+str(keg)+" finditem")
wait(3500)
UO.UnSetReceivingContainer()
UO.UnSetCatchBag()
ChekLag()
end sub

sub sliv()
while uo.count('0x0f0a') > 0
UO.UseType(0x1940)
UO.DeleteJournal()
UO.waittargettype(0x0f0a)
wait (100)
wend
keg()
end sub

sub reload()
UO.UnSetReceivingContainer()
UO.UnSetCatchBag()
var keg=1-uo.count('0x1940')
UO.findtype('0x1940', '-1', 'bag')
uo.exec("grab "+str(keg)+" finditem")
wait(3500)

var MR=800-uo.count('0x0f88') ;Nightshade
if MR > 0 then
UO.findtype('0x0f88', '-1', 'bag')
uo.exec("grab "+str(MR)+" finditem")
ChekLag()
wait(3500)
end if
end sub

sub ChekLag()
UO.DeleteJournal()
UO.Click('backpack')
repeat
wait(50)
until UO.InJournal('backpack')
end sub

Берет из сундука ресурсы и кег, делает бутылки и заливает в кег.
Проблема в том что он один раз сделает и остонавливается.
Скрипт брал из пойска и переделовал для себя, но сделать чтоб он постоянно работал, не смог.
Может кто-то хорошо понимает и может зацыклить его или решить проблему?


Top
   
PostPosted: 2010-02-28 16:33:24 
Offline
User avatar

Joined: 2009-03-06 21:52:25
Posts: 89
А для чего уроки на сайте ? :shock:


Top
   
PostPosted: 2010-03-01 21:23:18 
Offline

Joined: 2009-06-12 20:10:00
Posts: 240
Location: Vasa Smerti(RASToMAN) DRW
страна как он вопще работает
Code:
sub main()
uo.print('Мусорка')
uo.exec('addobject musor')
while uo.targeting()
wait(100)
wend
uo.print('Сумка')
uo.exec('addobject bag')
while uo.targeting()
wait(100)
wend
while not UO.Dead()
reload()
alchemy()
sliv()

а где
Code:
wend
и
Code:
end sub
:shock:


Top
   
PostPosted: 2010-03-03 19:03:01 
Offline

Joined: 2008-10-19 18:34:50
Posts: 20
kostjan wrote:
А для чего уроки на сайте ? :shock:

Это не помощ!!!


Top
   
PostPosted: 2010-03-03 19:04:22 
Offline

Joined: 2008-10-19 18:34:50
Posts: 20
Irina E wrote:
страна как он вопще работает
Code:
sub main()
uo.print('Мусорка')
uo.exec('addobject musor')
while uo.targeting()
wait(100)
wend
uo.print('Сумка')
uo.exec('addobject bag')
while uo.targeting()
wait(100)
wend
while not UO.Dead()
reload()
alchemy()
sliv()

а где
Code:
wend
и
Code:
end sub
:shock:


Спосибо за попытку помоч но я сам не смог разабратся :(


Top
   
PostPosted: 2010-03-03 23:16:17 
Offline

Joined: 2009-06-12 20:10:00
Posts: 240
Location: Vasa Smerti(RASToMAN) DRW
Code:
sub main()
uo.print('Мусорка')
uo.exec('addobject musor')
while uo.targeting()
wait(100)
wend
uo.print('Сумка')
uo.exec('addobject bag')
while uo.targeting()
wait(100)
wend
while not UO.Dead()
reload()
alchemy()
sliv()
wend
end sub

#Bootle 0x0f0e
#MR 0x0F86
#Keg 0x1940
#Strenght Potion 0x0f09
#NS 0x0f88
#Great Poison Bottle 0x0f0a

sub alchemy()
while uo.count('0x0f0e') > 1 and UO.Count('0x0f88') > 1
UO.DeleteJournal()
ChekLag()
UO.WaitMenu('What',(4))
UO.UseType(0x0f88)
UO.DeleteJournal()
while NOT UO.InJournal("You put") AND NOT UO.InJournal("Вы")
wait(100)
wend
wend
end sub

sub keg()
var keg=1-uo.count('0x1940') ;Keg
UO.FindType('0x1940','-1','backpack')
UO.DeleteJournal()
UO.SetCatchbag('musor')
uo.exec("grab "+str(keg)+" finditem")
wait(3500)
UO.UnSetReceivingContainer()
UO.UnSetCatchBag()
ChekLag()
end sub

sub sliv()
while uo.count('0x0f0a') > 0
UO.UseType(0x1940)
UO.DeleteJournal()
UO.waittargettype(0x0f0a)
wait (100)
wend
keg()
end sub

sub reload()
UO.UnSetReceivingContainer()
UO.UnSetCatchBag()
var keg=1-uo.count('0x1940')
UO.findtype('0x1940', '-1', 'bag')
uo.exec("grab "+str(keg)+" finditem")
wait(3500)

var MR=800-uo.count('0x0f88') ;Nightshade
if MR > 0 then
UO.findtype('0x0f88', '-1', 'bag')
uo.exec("grab "+str(MR)+" finditem")
ChekLag()
wait(3500)
end if
end sub

sub ChekLag()
UO.DeleteJournal()
UO.Click('backpack')
repeat
wait(50)
until UO.InJournal('backpack')
end sub


вот пробуЙ


Top
   
PostPosted: 2010-03-04 22:57:33 
Offline

Joined: 2008-10-19 18:34:50
Posts: 20
Работает как часы :) спосибо огромное тебе, Irina E!


Top
   
PostPosted: 2010-03-04 23:04:42 
Offline

Joined: 2009-06-12 20:10:00
Posts: 240
Location: Vasa Smerti(RASToMAN) DRW
нез


Top
   
PostPosted: 2011-01-30 17:01:37 
Offline

Joined: 2008-07-01 18:06:58
Posts: 11
может нимнога и абисните что ано делает


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

All times are UTC+02:00


Who is online

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