Yoko

All sides of Injection
It is currently 2024-03-28 15:49:06

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2010-03-15 21:52:57 
Offline

Joined: 2005-07-11 00:42:39
Posts: 3
Quote:
Code:
sub main()
while not uo.dead()

if uo.mana < uo.int-30 then
uo.useskill('Meditation')
repeat
wait(1000)
until uo.mana < uo.int
else

uo.waittargetself()
uo.cast('Invisibility')
repeat
uo.deletejournal()
wait(100)
until uo.injournal("fizzles") or uo.hidden()
hungry()
endif
wend
end sub


sub hungry()
var i
UO.ServerPrint(".hungry")
Wait(500)
i=UO.LastMessage()
If i=="You aren't hungry at all" Then
uo.usetype("0x097B")
Wait(1500)
EndIf
end sub


По не понятным причинам действия чара просто останавливаются. Подскажите, в чём проблема!? =\


Top
   
PostPosted: 2010-03-16 06:40:20 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
1)
Code:
sub main()
   while not uo.dead()
      if uo.mana < uo.int-30 then
         uo.useskill('Meditation')
         repeat
            wait(1000)
         until uo.mana < uo.int
      else
         uo.waittargetself()
         uo.cast('Invisibility')
         uo.deletejournal()
         repeat
            wait(100)
         until uo.injournal("fizzles") or uo.hidden()
         hungry()
      endif
   wend
end sub
sub hungry()
   var i
   UO.ServerPrint(".hungry")
   Wait(500)
   i=UO.LastMessage()
   If i=="You aren't hungry at all" Then
      uo.usetype("0x097B")
      Wait(1500)
   EndIf
end sub

2)если тебе не удается войти в медитацию или тебе ее сбивают то виснет вот тут:
Code:
         repeat
            wait(1000)
         until uo.mana < uo.int

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 10 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited