Спаринг подправьте плиз ..

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
kostya.1991
Posts: 17
Joined: 2010-02-23 12:11:48
Location: Россия Тюмень
Contact:

Спаринг подправьте плиз ..

Post by kostya.1991 »

Вот собственно скрипт который нашел на этом же форуме за что благодарю ,
Но всё же вот какое дело , чар начинает хэлить при большом количестве хп тоесть наносить буквально пару ударов и сразу хэлит нужно чтобы было минимум 30хп и начинал хэлить .
Скрипт:

Code: Select all

var kykla='0x0190' ;тип человека -) 
var orygie='0x0EC3';тип оружия -)
var bints='0x0E21'; тип бинта -)

sub train()
uo.findtype(kykla,'-1','ground')
while not uo.dead()
uo.findtype(kykla,'-1','ground')
if uo.gethp('finditem')>20 then
  atack()
else
  heal()
endif
uo.warmode(0)
wait(100)
wend
endsub

sub atack()
uo.usetype(orygie)
uo.waittargetself()
wait(500)
uo.warmode(1)
uo.ignorereset()
uo.ignore('self')
uo.findtype(kykla,'-1','ground')
uo.attack('finditem')
while uo.gethp('finditem')>20
uo.findtype(kykla,'-1','ground')
wait(100)
if uo.gethp('finditem')<19 then
  uo.warmode(0)
endif
wend
uo.warmode(0)
endsub

sub heal()
var moy
var BandBL ='0x0E20'
uo.warmode(0)
UO.Disarm()

uo.FindType('0x1008','-1')
moy=uo.GetSerial('finditem')
UO.WaitTargetObject(Moy)
UO.UseType(BandBL)

uo.deletejournal()
uo.findtype(kykla,'-1','ground')
while not uo.injournal("does not need")
uo.warmode(0)
CheckLag()
uo.waittargetobject('finditem')
uo.usetype(bints)
wait(4000)
uo.findtype(kykla,'-1','ground')
wend
  endsub
 


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

И ещё чуть не забыл добавьте пожалуйста в скрипт спирит спик .
Заранее спасибо . :mrgreen:
Image
Spirit
Posts: 101
Joined: 2006-03-23 19:25:23

Re: Спаринг подправьте плиз ..

Post by Spirit »

if uo.gethp('finditem')>20 then
замени на
if uo.gethp('finditem')>uo.gethp('finditem')/3 then
:O
Spirit
Posts: 101
Joined: 2006-03-23 19:25:23

Re: Спаринг подправьте плиз ..

Post by Spirit »

sub heal()
var moy
var BandBL ='0x0E20'
uo.warmode(0)
UO.Disarm()

uo.FindType('0x1008','-1')
moy=uo.GetSerial('finditem')
UO.WaitTargetObject(Moy)
UO.UseType(BandBL)

uo.deletejournal()
uo.findtype(kykla,'-1','ground')
while not uo.injournal("does not need")
uo.warmode(0)
CheckLag()
uo.waittargetobject('finditem')
uo.usetype(bints)
wait(4000)
uo.findtype(kykla,'-1','ground')
wend
uo.useskill('Spirit Speak')
endsub
:O
kostya.1991
Posts: 17
Joined: 2010-02-23 12:11:48
Location: Россия Тюмень
Contact:

Re: Спаринг подправьте плиз ..

Post by kostya.1991 »

Code: Select all

var kykla='0x0190' ;тип человека -) 
var orygie='0x0EC3';тип оружия -)
var bints='0x0E21'; тип бинта -)

sub train()
uo.findtype(kykla,'-1','ground')
while not uo.dead()
uo.findtype(kykla,'-1','ground')
if uo.gethp('finditem')>20 then
  atack()
else
  heal()
endif
uo.warmode(0)
wait(100)
wend
endsub

sub atack()
uo.usetype(orygie)
uo.waittargetself()
wait(500)
uo.warmode(1)
uo.ignorereset()
uo.ignore('self')
uo.findtype(kykla,'-1','ground')
uo.attack('finditem')
while uo.gethp('finditem')>20
uo.findtype(kykla,'-1','ground')
wait(100)
if uo.gethp('finditem')<19 then
  uo.warmode(0)
endif
wend
uo.warmode(0)
endsub

sub heal()
var moy
var BandBL ='0x0E20'
uo.warmode(0)
UO.Disarm()

uo.FindType('0x1008','-1')
moy=uo.GetSerial('finditem')
UO.WaitTargetObject(Moy)
UO.UseType(BandBL)

uo.deletejournal()
uo.findtype(kykla,'-1','ground')
while not uo.injournal("does not need")
uo.warmode(0)
CheckLag()
uo.waittargetobject('finditem')
uo.usetype(bints)
wait(4000)
uo.findtype(kykla,'-1','ground')
wend
uo.useskill('Spirit Speak')
endsub
 


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


Вот так да?
Протестирую отпишусь :P
Image
kostya.1991
Posts: 17
Joined: 2010-02-23 12:11:48
Location: Россия Тюмень
Contact:

Re: Спаринг подправьте плиз ..

Post by kostya.1991 »

Спирит не качается :(
Image
Spirit
Posts: 101
Joined: 2006-03-23 19:25:23

Re: Спаринг подправьте плиз ..

Post by Spirit »

Code: Select all

var kykla='0x0190' ;тип человека -) 
var orygie='0x0EC3';тип оружия -)
var bints='0x0E21'; тип бинта -)

sub train()
uo.findtype(kykla,'-1','ground')
while not uo.dead()
uo.findtype(kykla,'-1','ground')
if uo.gethp('finditem')>uo.gethp('finditem')/3 then
  atack()
else
  heal()
endif
uo.warmode(0)
wait(100)
wend
endsub

sub atack()
uo.usetype(orygie)
uo.waittargetself()
wait(500)
uo.warmode(1)
uo.ignorereset()
uo.ignore('self')
uo.findtype(kykla,'-1','ground')
uo.attack('finditem')
while uo.gethp('finditem')>uo.gethp('finditem')/3
uo.findtype(kykla,'-1','ground')
wait(100)
if uo.gethp('finditem')<uo.gethp('finditem')/3 then
  uo.warmode(0)
endif
wend
uo.warmode(0)
endsub

sub heal()
var moy
var BandBL ='0x0E20'
uo.useskill('Spirit Speak')
uo.warmode(0)
UO.Disarm()

uo.FindType('0x1008','-1')
moy=uo.GetSerial('finditem')
UO.WaitTargetObject(Moy)
UO.UseType(BandBL)

uo.deletejournal()
uo.findtype(kykla,'-1','ground')
while not uo.injournal("does not need")
uo.warmode(0)
CheckLag()
uo.waittargetobject('finditem')
uo.usetype(bints)
wait(4000)
uo.findtype(kykla,'-1','ground')
wend
endsub
 


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


Попробуй так. Спирит он юзает 1 раз, когда начинает лечить куклу.
:O
kostya.1991
Posts: 17
Joined: 2010-02-23 12:11:48
Location: Россия Тюмень
Contact:

Re: Спаринг подправьте плиз ..

Post by kostya.1991 »

теперь он его не хэлит почему то
Image
kostjan
Posts: 89
Joined: 2009-03-06 21:52:25
Contact:

Re: Спаринг подправьте плиз ..

Post by kostjan »

Поставь в самом начале и всё будет ок :wink:
Spirit
Posts: 101
Joined: 2006-03-23 19:25:23

Re: Спаринг подправьте плиз ..

Post by Spirit »

kostya.1991 wrote:теперь он его не хэлит почему то

Задержку забыл. :)
После строки uo.useskill('Spirit Speak') поставь wait(3500)
:O
kostya.1991
Posts: 17
Joined: 2010-02-23 12:11:48
Location: Россия Тюмень
Contact:

Re: Спаринг подправьте плиз ..

Post by kostya.1991 »

поставил всё равно не хелит

Code: Select all

var kykla='0x0190' ;тип человека -) 
var orygie='0x0E82';тип оружия -)
var bints='0x0E21'; тип бинта -)

sub train()
uo.findtype(kykla,'-1','ground')
while not uo.dead()
uo.findtype(kykla,'-1','ground')
if uo.gethp('finditem')>uo.gethp('finditem')/3 then
  atack()
else
  heal()
endif
uo.warmode(0)
wait(100)
wend
endsub

sub atack()
uo.usetype(orygie)
uo.waittargetself()
wait(500)
uo.warmode(1)
uo.ignorereset()
uo.ignore('self')
uo.findtype(kykla,'-1','ground')
uo.attack('finditem')
while uo.gethp('finditem')>uo.gethp('finditem')/3
uo.findtype(kykla,'-1','ground')
wait(100)
if uo.gethp('finditem')<uo.gethp('finditem')/3 then
  uo.warmode(0)
endif
wend
uo.warmode(0)
endsub

sub heal()
var moy
var BandBL ='0x0E20'
uo.useskill('Spirit Speak')
wait(3500)
uo.warmode(0)
UO.Disarm()

uo.FindType('0x1008','-1')
moy=uo.GetSerial('finditem')
UO.WaitTargetObject(Moy)
UO.UseType(BandBL)

uo.deletejournal()
uo.findtype(kykla,'-1','ground')
while not uo.injournal("does not need")
uo.warmode(0)
CheckLag()
uo.waittargetobject('finditem')
uo.usetype(bints)
wait(4000)
uo.findtype(kykla,'-1','ground')
wend
endsub
 


Sub CheckLag()
    UO.DeleteJournal()
    UO.Click('backpack')
    repeat
       wait(50)
    until UO.InJournal('backpack')
end sub
Image
Irina E
Posts: 240
Joined: 2009-06-12 20:10:00
Location: Vasa Smerti(RASToMAN) DRW

Re: Спаринг подправьте плиз ..

Post by Irina E »

Code: Select all

var kykla='0x0190' ;тип человека -)
var orygie='0x0E82';тип оружия -)
var bints='0x0E21'; тип бинта -)

sub train()
uo.findtype(kykla,'-1','ground')
while not uo.dead()
uo.findtype(kykla,'-1','ground')
if uo.gethp('finditem')>uo.gethp('finditem')/3 then
  atack()
else
  heal()
endif
uo.warmode(0)
wait(100)
uo.useskill('Spirit Speak')
wait(3500)
wend
endsub

sub atack()
uo.usetype(orygie)
uo.waittargetself()
wait(500)
uo.warmode(1)
uo.ignorereset()
uo.ignore('self')
uo.findtype(kykla,'-1','ground')
uo.attack('finditem')
while uo.gethp('finditem')>uo.gethp('finditem')/3
uo.findtype(kykla,'-1','ground')
wait(100)
if uo.gethp('finditem')<uo.gethp('finditem')/3 then
  uo.warmode(0)
endif
wend
uo.warmode(0)
endsub

sub heal()
var moy
var BandBL ='0x0E20'
uo.warmode(0)
UO.Disarm()

uo.FindType('0x1008','-1')
moy=uo.GetSerial('finditem')
UO.WaitTargetObject(Moy)
UO.UseType(BandBL)

uo.deletejournal()
uo.findtype(kykla,'-1','ground')
while not uo.injournal("does not need")
uo.warmode(0)
CheckLag()
uo.waittargetobject('finditem')
uo.usetype(bints)
wait(4000)
uo.findtype(kykla,'-1','ground')
wend
endsub
 


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


пробуЙ
Post Reply