Как.....
Moderators: Murderator+, Murderator
Как.....
Как к этому скрипту ещё медитацию прибавить??
sub a()
while UO.Count('0x1F37','0x0000') > 0
uo.waittargetself()
uo.usetype('0x1F37','0x0000')
wait(1000)
wend
end sub
sub a()
while UO.Count('0x1F37','0x0000') > 0
uo.waittargetself()
uo.usetype('0x1F37','0x0000')
wait(1000)
wend
end sub
для кого темы "Скрипты..." прикреплены?
Ояень советую заглядывать туда и в поиск: http://yoko.netroof.net/forum/viewtopic ... 4838#14838
Ояень советую заглядывать туда и в поиск: http://yoko.netroof.net/forum/viewtopic ... 4838#14838
Re: Как.....
Попробуй так
Code: Select all
sub a()
while UO.Count('0x1F37','0x0000') > 0
uo.waittargetself()
uo.usetype('0x1F37','0x0000')
wait(1000)
wend
Repeat
uo.deletejournal()
uo.useskill('Meditation')
Wait(3000)
Until UO.InJournal("You must wait to perform another action") or uo.mana >= uo.int
While uo.mana < uo.int
Wait(100)
Wend
Wait(100)
Wend
end subRe: Как.....
Не....Не работает медитациа.JIupus wrote:Попробуй такCode: Select all
sub a() while UO.Count('0x1F37','0x0000') > 0 uo.waittargetself() uo.usetype('0x1F37','0x0000') wait(1000) wend Repeat uo.deletejournal() uo.useskill('Meditation') Wait(3000) Until UO.InJournal("You must wait to perform another action") or uo.mana >= uo.int While uo.mana < uo.int Wait(100) Wend Wait(100) Wend end sub
Re: Как.....
Так должна работать
Code: Select all
sub a()
while UO.Count('0x1F37','0x0000') > 0
uo.waittargetself()
uo.usetype('0x1F37','0x0000')
wait(1000)
wend
while UO.Mana<UO.Int
LastTimer=UO.Timer()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200
UO.DeleteJournal()
wait(2000)
wend
end subRe: Как.....
"Line 13: Variable undefind-LASTTIMERJIupus wrote:Так должна работатьCode: Select all
sub a() while UO.Count('0x1F37','0x0000') > 0 uo.waittargetself() uo.usetype('0x1F37','0x0000') wait(1000) wend while UO.Mana<UO.Int LastTimer=UO.Timer() UO.UseSkill('Meditation') repeat wait(100) until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200 UO.DeleteJournal() wait(2000) wend end sub
Re: Как.....
Code: Select all
sub a()
Var LastTimer
while UO.Count('0x1F37','0x0000') > 0
uo.waittargetself()
uo.usetype('0x1F37','0x0000')
wait(1000)
wend
while UO.Mana<UO.Int
LastTimer=UO.Timer()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200
UO.DeleteJournal()
wait(2000)
wend
end subСделал дело - флуди смело !!!
Re: Как.....
Не как не медитирует...=((((Askaneli wrote:Code: Select all
sub a() Var LastTimer while UO.Count('0x1F37','0x0000') > 0 uo.waittargetself() uo.usetype('0x1F37','0x0000') wait(1000) wend while UO.Mana<UO.Int LastTimer=UO.Timer() UO.UseSkill('Meditation') repeat wait(100) until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200 UO.DeleteJournal() wait(2000) wend end sub
Re: Как.....
ну промазал человекEkkie wrote:Не как не медитирует...=((((Askaneli wrote:Code: Select all
sub a() Var LastTimer while UO.Count('0x1F37','0x0000') > 0 uo.waittargetself() uo.usetype('0x1F37','0x0000') wait(1000) while UO.Mana<UO.Int LastTimer=UO.Timer() UO.UseSkill('Meditation') repeat wait(100) until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200 UO.DeleteJournal() wait(2000) wend wend end sub
Re: Как.....
Ура !!! Ти мои спасител!!!Sfagnum wrote:ну промазал человекEkkie wrote:Не как не медитирует...=((((Askaneli wrote:Code: Select all
sub a() Var LastTimer while UO.Count('0x1F37','0x0000') > 0 uo.waittargetself() uo.usetype('0x1F37','0x0000') wait(1000) while UO.Mana<UO.Int LastTimer=UO.Timer() UO.UseSkill('Meditation') repeat wait(100) until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200 UO.DeleteJournal() wait(2000) wend wend end subтеперь прально.
Re: Как.....
Я исправлял Var LastTimer поставилSfagnum wrote:ну промазал человекEkkie wrote:Не как не медитирует...=((((Askaneli wrote:Code: Select all
sub a() Var LastTimer while UO.Count('0x1F37','0x0000') > 0 uo.waittargetself() uo.usetype('0x1F37','0x0000') wait(1000) while UO.Mana<UO.Int LastTimer=UO.Timer() UO.UseSkill('Meditation') repeat wait(100) until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200 UO.DeleteJournal() wait(2000) wend wend end subтеперь прально.
В циклы не вникал !!!
Сделал дело - флуди смело !!!
Re: Как.....
будешь теперь отмазыватьсяAskaneli wrote:Я исправлял Var LastTimer поставил
В циклы не вникал !!!
Re: Как.....
Такой вот я !!!Sfagnum wrote:будешь теперь отмазыватьсяAskaneli wrote:Я исправлял Var LastTimer поставил
В циклы не вникал !!!
Сделал дело - флуди смело !!!