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

Как.....
http://forum.yoko.com.ua/viewtopic.php?f=20&t=2933
Page 1 of 1

Author:  Ekkie [ 2005-02-01 12:09:16 ]
Post subject:  Как.....

Как к этому скрипту ещё медитацию прибавить??
sub a()
while UO.Count('0x1F37','0x0000') > 0
uo.waittargetself()
uo.usetype('0x1F37','0x0000')
wait(1000)
wend
end sub

Author:  JIupus [ 2005-02-01 13:11:35 ]
Post subject: 

для кого темы "Скрипты..." прикреплены?
Ояень советую заглядывать туда и в поиск: http://yoko.netroof.net/forum/viewtopic ... 4838#14838

Author:  JIupus [ 2005-02-01 13:13:16 ]
Post subject:  Re: Как.....

Попробуй так
Code:
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

Author:  Ekkie [ 2005-02-01 13:20:58 ]
Post subject:  Re: Как.....

JIupus wrote:
Попробуй так
Code:
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

Не....Не работает медитациа.

Author:  JIupus [ 2005-02-01 13:32:58 ]
Post subject:  Re: Как.....

Так должна работать
Code:
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

Author:  Ekkie [ 2005-02-01 13:39:05 ]
Post subject:  Re: Как.....

JIupus wrote:
Так должна работать
Code:
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

"Line 13: Variable undefind-LASTTIMER

Author:  Askaneli [ 2005-02-01 14:10:43 ]
Post subject:  Re: Как.....

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

Author:  Ekkie [ 2005-02-01 14:58:35 ]
Post subject:  Re: Как.....

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

Не как не медитирует...=((((

Author:  Sfagnum [ 2005-02-01 15:03:10 ]
Post subject:  Re: Как.....

Ekkie wrote:
Askaneli wrote:
Code:
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

Не как не медитирует...=((((
ну промазал человек ;) теперь прально.

Author:  Ekkie [ 2005-02-01 15:16:33 ]
Post subject:  Re: Как.....

Sfagnum wrote:
Ekkie wrote:
Askaneli wrote:
Code:
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

Не как не медитирует...=((((
ну промазал человек ;) теперь прально.

Ура !!! Ти мои спасител!!!

Author:  Askaneli [ 2005-02-01 15:30:19 ]
Post subject:  Re: Как.....

Sfagnum wrote:
Ekkie wrote:
Askaneli wrote:
Code:
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

Не как не медитирует...=((((
ну промазал человек ;) теперь прально.

Я исправлял Var LastTimer поставил
В циклы не вникал !!!

Author:  Sfagnum [ 2005-02-01 15:51:50 ]
Post subject:  Re: Как.....

Askaneli wrote:
Я исправлял Var LastTimer поставил
В циклы не вникал !!!
будешь теперь отмазываться :lol:

Author:  Askaneli [ 2005-02-02 06:11:09 ]
Post subject:  Re: Как.....

Sfagnum wrote:
Askaneli wrote:
Я исправлял Var LastTimer поставил
В циклы не вникал !!!
будешь теперь отмазываться :lol:

Такой вот я !!!

Author:  BETEPAH [ 2005-02-02 11:42:32 ]
Post subject: 

Болтуны )))) топик Клоуз

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