Yoko

All sides of Injection
It is currently 2025-10-26 13:56:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Ай Нид Хелп!
PostPosted: 2007-08-29 01:52:17 
Offline
User avatar

Joined: 2007-08-29 01:47:16
Posts: 8
Юзал "Search" не нашел того что надо, а то что нашел под себя не настроил..*наверно руки у меня к скриптам не стоят*!
Хелпаните со скриптом на магию...оч.надо!
Не сложный, чтобы кастил *Earthquake* дважды, и медител до конца!, без подбора регов...
Кому не сложно подсобите=)


Top
   
 Post subject:
PostPosted: 2007-08-29 09:08:51 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
не тестировал

Code:
sub Earth()
  var i
  var mana=uo.mana

  for i=0 to 1
    uo.DeleteJournal()
    uo.Cast('Earthquake','self')
    wait(100)
    repeat
      wait(100)
    until uo.InJournal('fizzle') || uo.mana < mana
  next
  while uo.mana < uo.int
    uo.UseSkill('Meditation')
    wait(2500)
  wend
end sub


Top
   
 Post subject:
PostPosted: 2007-08-29 10:05:18 
Offline
User avatar

Joined: 2007-08-29 01:47:16
Posts: 8
Quote:
sub Earth()
var i
var mana=uo.mana

for i=0 to 1
uo.DeleteJournal()
uo.Cast('Earthquake')
wait(100)
repeat
wait(100)
until uo.InJournal('fizzle') || uo.mana < mana
next
while uo.mana < uo.int
uo.UseSkill('Meditation')
wait(2500)
wend
end sub


Вот так заработал!
Спасибо огромное!
ТОлько как зделать чтоб он повторялся?А то он кастит, медитит и вырубается. и если не сложно будет...вставте туда реконект!
Зарание спасибо.


Top
   
 Post subject:
PostPosted: 2007-08-29 11:49:19 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Непонимаю что ты имеешь ввиду "вставить реконектор". Запускай вместе с первым скриптом скрипт Reconnector и всё.
Code:
sub Earth() 
  var i
  var mana=uo.mana

 while not uo.Dead()
  for i=0 to 1
    uo.DeleteJournal()
    uo.Cast('Earthquake','self')
    wait(100)
    repeat
      wait(100)
    until uo.InJournal('fizzle') || uo.mana < mana
  next
  while uo.mana < uo.int
    uo.UseSkill('Meditation')
    wait(2500)
  wend
  wait(100)
 wend
end sub

sub Reconnector()
var ReconnectTime, RFlag
ReconnectTime = '0'
RFlag = 1
Repeat
While (UO.ObjAtLayer('Bpack') == '')
if RFlag Then
ReconnectTime = MakeTime()
RFlag = 0
endif
Wait(20000) # WorldSave Protection
UO.Say('')
Wait(3000)
UO.Say('')
Wait(3000)
UO.Say('')
Wait(3000)
UO.LDblClick(357,164)
UO.LClick(616,459)
Wait(3000)
WEnd
Wait(3000)
if (RFlag == 0) and (ReconnectTime <> '0') Then
UO.Exec('terminate all')
UO.Exec('exec Earth')
UO.TextOpen()
UO.TextPrint('Disconnected & Reconnected @ '+ReconnectTime)
RFlag = 1
ReconnectTime = '0'
endif
Until false
end sub

sub MakeTime()
VAR D, T, Ret, i
Ret = STR(UO.Time())
T = ""
For i = 0 To Len(Ret)
T = Ret[Len(Ret)-i] + T
If (I == 2) OR (I == 4) Then
T = ":" + T
EndIf
Next
Ret = STR(UO.Date())
D = ""
For i = 0 To Len(Ret)
D = Ret[Len(Ret)-i] + D
If (I == 2) OR (I == 4) Then
D = "." + D
EndIf
Next
Ret = T + " @ " + D
RETURN Ret
end sub


Top
   
 Post subject:
PostPosted: 2007-08-29 11:59:17 
Offline
User avatar

Joined: 2007-08-29 01:47:16
Posts: 8
Ты красавчеГ, МОСК...

Спасибо Огромное...

Очень выручил! :D

Вопросик в догонку, а реально написать скрипт на полиморф?

Еще раз спасибо!


Top
   
 Post subject:
PostPosted: 2007-08-29 12:02:38 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
BuTT wrote:
Ты красавчеГ, МОСК...

Спасибо Огромное...

Очень выручил! :D

Вопросик в догонку, а реально написать скрипт на полиморф?

Еще раз спасибо!


Code:
sub morphh()
  uo.WaitMenu('Имя меню или часть имени','Имя или часть имени во что будем морфаться')
  uo.Cast('Polymorph')
end sub


Top
   
 Post subject:
PostPosted: 2007-08-29 12:46:40 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
клады капаешь?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited