Yoko

All sides of Injection
It is currently 2025-12-23 05:00:02

All times are UTC+02:00




Post new topic  Reply to topic  [ 23 posts ]  Go to page Previous 1 2
Author Message
 Post subject:
PostPosted: 2006-02-24 00:32:33 
Offline
User avatar

Joined: 2006-02-04 04:39:51
Posts: 42
В журнале проявляется , шард ДрВ


Top
   
 Post subject:
PostPosted: 2006-02-24 01:24:11 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
На ДРВ не играю и темболее в уо
если есть гарантия что заклинание прошло когда мана была снята. то можно проверить журнал на наличие физла...
В общем ни ктоне дает гарантию что от этого скрипта не будет крашить%))
Code:
Sub InitCross() 
   uo.SetGlobal('cross', '0')
end sub

sub WaitManaChange(now)
   while uo.mana >= now
      wait(100)
   wend
end sub
   
Sub Cross()
   if uo.waiting() then
      uo.canceltarget()
   end if
   if uo.GetGlobal('cross') == '0' then
         uo.waittargettile('0',str(uo.getX('laststatus')),str(uo.getY('laststatus')),str(uo.getZ('laststatus')))
         uo.DeleteJournal()
         uo.cast('Wall of Stone')
         WaitManaChange(uo.mana)
        if not uo.InJournal('fizzle') then
           uo.SetGlobal('cross', '1')
        end if
   else
         if uo.GetGlobal('cross') == '1' then       
      uo.waittargettile('0',str(uo.getX('laststatus')),str(uo.getY('laststatus')+1),str(uo.getZ('laststatus')))
      uo.DeleteJournal()
           uo.cast('Wall of Stone')
           WaitManaChange(uo.mana)
           if not uo.InJournal('fizzle') then
              uo.SetGlobal('cross', '2')
           end if
         else
      if uo.GetGlobal('cross') == '2' then
                  UO.Say("Ai?e, ai?e ynii - ?oiau ia iiaanei!")
                  uo.waittargettile('0',str(uo.getX('laststatus')),str(uo.getY('laststatus')+1),str(uo.getZ('laststatus')))
                  uo.DeleteJournal()
                  uo.cast('Fire Field')
                  WaitManaChange(uo.mana)
              if not uo.InJournal('fizzle') then
                 uo.SetGlobal('cross', '0')
              end if
            end if
         end if
   end if
end sub


ПС проверь
Code:
if not uo.InJournal('fizzle') then
на возможность не верного сообщения в журнале...


Top
   
 Post subject:
PostPosted: 2008-02-11 20:28:59 
Offline

Joined: 2006-08-31 15:05:51
Posts: 44
Проблема у меня такая,впринципе скрипт на стенки робит нормально,но есть проблема в том что,когда ставиш одного игрока в кресты все нормально,но когда уже другого он ставит стенку на моего чара.Пробовал сам руками таргет делать,но все равно ставит на меня.Помогите пожалуйста...)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 23 posts ]  Go to page Previous 1 2

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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