Page 1 of 1

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

Posted: 2010-05-01 16:31:53
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:

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

Posted: 2010-05-02 18:18:11
by Spirit
if uo.gethp('finditem')>20 then
замени на
if uo.gethp('finditem')>uo.gethp('finditem')/3 then

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

Posted: 2010-05-02 18:24:01
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

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

Posted: 2010-05-03 13:15:05
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

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

Posted: 2010-05-03 13:37:18
by kostya.1991
Спирит не качается :(

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

Posted: 2010-05-05 18:26:29
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 раз, когда начинает лечить куклу.

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

Posted: 2010-05-06 11:10:05
by kostya.1991
теперь он его не хэлит почему то

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

Posted: 2010-05-06 13:00:35
by kostjan
Поставь в самом начале и всё будет ок :wink:

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

Posted: 2010-05-06 21:14:06
by Spirit
kostya.1991 wrote:теперь он его не хэлит почему то

Задержку забыл. :)
После строки uo.useskill('Spirit Speak') поставь wait(3500)

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

Posted: 2010-05-07 14:19:29
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

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

Posted: 2010-05-21 22:43:51
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


пробуЙ