Yoko
http://forum.yoko.com.ua/

Спаринг подправьте плиз ..
http://forum.yoko.com.ua/viewtopic.php?f=20&t=15727
Page 1 of 1

Author:  kostya.1991 [ 2010-05-01 16:31:53 ]
Post subject:  Спаринг подправьте плиз ..

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

Author:  Spirit [ 2010-05-02 18:18:11 ]
Post subject:  Re: Спаринг подправьте плиз ..

if uo.gethp('finditem')>20 then
замени на
if uo.gethp('finditem')>uo.gethp('finditem')/3 then

Author:  Spirit [ 2010-05-02 18:24:01 ]
Post subject:  Re: Спаринг подправьте плиз ..

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

Author:  kostya.1991 [ 2010-05-03 13:15:05 ]
Post subject:  Re: Спаринг подправьте плиз ..

Code:
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

Author:  kostya.1991 [ 2010-05-03 13:37:18 ]
Post subject:  Re: Спаринг подправьте плиз ..

Спирит не качается :(

Author:  Spirit [ 2010-05-05 18:26:29 ]
Post subject:  Re: Спаринг подправьте плиз ..

Code:
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 раз, когда начинает лечить куклу.

Author:  kostya.1991 [ 2010-05-06 11:10:05 ]
Post subject:  Re: Спаринг подправьте плиз ..

теперь он его не хэлит почему то

Author:  kostjan [ 2010-05-06 13:00:35 ]
Post subject:  Re: Спаринг подправьте плиз ..

Поставь в самом начале и всё будет ок :wink:

Author:  Spirit [ 2010-05-06 21:14:06 ]
Post subject:  Re: Спаринг подправьте плиз ..

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

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

Author:  kostya.1991 [ 2010-05-07 14:19:29 ]
Post subject:  Re: Спаринг подправьте плиз ..

поставил всё равно не хелит
Code:
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

Author:  Irina E [ 2010-05-21 22:43:51 ]
Post subject:  Re: Спаринг подправьте плиз ..

Code:
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


пробуЙ

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/