Yoko

All sides of Injection
It is currently 2025-12-04 09:09:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 2005-09-09 11:25:52 
Offline

Joined: 2005-08-13 06:09:28
Posts: 8
подскажите возможно ли в скрипт тинкер локпиков вписать циклично скрипт например спирит спика или эвалюты????
ЗЫ-играю на DRW


Last edited by DeviL [WoF] on 2009-04-03 00:16:24, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2005-09-09 11:48:07 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Взято из скриптв Асканели:

Где-нить в начале скрипт пишешь:
Code:
var LastTimer=UO.Timer() 


Потом в скрипт вставляешь:
Code:
   if UO.Timer()>(LastTimer+3000) then 
      if uo.skillval("Spirit Speak",1)<1000 then
         uo.print("Spirit Speak...")
         p=0
         repeat
            p=p+1
            uo.useskill ("Spirit Speak")
            uo.deletejournal()
            repeat
               wait(10)
            until UO.InJournal("netherworld") or UO.InJournal("You must wait to perform another action") or uo.dead()
         until (UO.InJournal("You establish a connection to the netherworld.")) or (p>=10) or uo.dead()
      end if
      uo.usetype('0x097B')
      wait(1000)
      LastTimer=UO.Timer()
   end if


Top
   
 Post subject:
PostPosted: 2005-09-24 11:52:11 
Offline

Joined: 2005-08-13 06:09:28
Posts: 8
спс Лео!


Top
   
 Post subject:
PostPosted: 2005-09-24 11:54:24 
Offline

Joined: 2005-08-13 06:09:28
Posts: 8
еше раз попрошу помоши.....плз....
я тут чето нарисовал чтоб с магери спирит качался но чет непашет(
глянь плз че не так
Code:
sub PoisonSelf() 
var LastTimer=UO.Timer()
while uo.mana >= uo.INT
Uo.Exec("cast 'Poison' self")
wait(2500)
wend

while uo.mana < UO.INT
Uo.Exec("useskill Meditation")
wait(500)
wend
uo.exec("exec PoisonSelf")
  if UO.Timer()>(LastTimer+3000) then
      if uo.skillval("Spirit Speak",1)<1000 then
         uo.print("Spirit Speak...")
         p=0
         repeat
            p=p+1
            uo.useskill ("Spirit Speak")
            uo.deletejournal()
            repeat
               wait(10)
            until UO.InJournal("netherworld") or UO.InJournal("You must wait to perform another action") or uo.dead()
         until (UO.InJournal("You establish a connection to the netherworld.")) or (p>=10) or uo.dead()
      end if
      uo.usetype('0x097B')
      wait(1000)
      LastTimer=UO.Timer()
   end if
endsub


Top
   
 Post subject:
PostPosted: 2005-09-24 11:57:10 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Лучше так

Code:
sub PoisonSelf() 
var LastTimer=UO.Timer()
while uo.mana >= uo.INT
Uo.Exec("cast 'Poison' self")
wait(2500)
  if UO.Timer()>(LastTimer+3000) then
      if uo.skillval("Spirit Speak",1)<1000 then
         uo.print("Spirit Speak...")
         p=0
         repeat
            p=p+1
            uo.useskill ("Spirit Speak")
            uo.deletejournal()
            repeat
               wait(10)
            until UO.InJournal("netherworld") or UO.InJournal("You must wait to perform another action") or uo.dead()
         until (UO.InJournal("You establish a connection to the netherworld.")) or (p>=10) or uo.dead()
      end if
      uo.usetype('0x097B')
      wait(1000)
      LastTimer=UO.Timer()
   end if
wend

while uo.mana < UO.INT
Uo.Exec("useskill Meditation")
wait(500)
wend
uo.exec("exec PoisonSelf")
endsub

_________________
Image


Top
   
 Post subject:
PostPosted: 2005-09-24 12:05:10 
Offline

Joined: 2005-08-13 06:09:28
Posts: 8
в нем чето ругаеться на 11 строку - Variable undefined - P =(


Top
   
 Post subject:
PostPosted: 2005-09-24 12:10:34 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
:oops:
В начале напиши var p

_________________
Image


Top
   
 Post subject:
PostPosted: 2005-09-24 12:15:06 
Offline

Joined: 2005-08-13 06:09:28
Posts: 8
да,кастует и медитит...но почемуто не спирит спичит*((пишит ю маст ваит ту перформ эназе экшн(


Top
   
 Post subject:
PostPosted: 2005-09-24 12:21:15 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Значит не успевает, поставь задержку после каста побольше.

_________________
Image


Top
   
 Post subject:
PostPosted: 2005-09-24 12:30:20 
Offline

Joined: 2005-08-13 06:09:28
Posts: 8
чет у мнгу ниче не получается :? :( :cry:


Top
   
 Post subject:
PostPosted: 2005-09-24 15:40:29 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Code:
sub PoisonSelf()
Var LastTimer=UO.Timer()
while UO.Mana >= UO.INT
UO.Cast('Poison','self')
wait(2500)
wend
   if UO.Timer()>(LastTimer+3000) then
         p=0
         repeat
            p=p+1
            uo.useskill ("Spirit Speak")
            uo.deletejournal()
            repeat
               wait(10)
            until UO.InJournal("netherworld") or UO.InJournal("You must wait to perform another action") or uo.dead()
         until (UO.InJournal("You establish a connection to the netherworld.")) or (p>=10) or uo.dead()
      LastTimer=UO.Timer()
   end if
UO.UseSkill('Meditation')
repeat
wait(500)
until UO.Mana >= UO.INT
UO.Exec("exec PoisonSelf")
endsub

_________________
Image


Top
   
 Post subject:
PostPosted: 2005-10-09 16:16:48 
Offline

Joined: 2005-10-07 17:34:36
Posts: 7
а как сделать чтобы после неудачной попытки медитировать он начинал ещё раз медитировать, а спиприт спик не в какую не хочет работатть, сервак тоже ДРВ


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
Powered by phpBB® Forum Software © phpBB Limited