Yoko

All sides of Injection
It is currently 2026-01-16 21:37:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2004-07-09 15:21:26 
Offline

Joined: 2004-07-09 15:14:26
Posts: 3
Location: Moscow
sub hide()
hide:
UO.useskill('Hiding')
If UO.Hidden() THEN
Goto stels
Endif
Else
Wait(10500)
Goto hide
stels:
Wait(10500)
UO.useskill('Stealth')
If UO.Hidden() THEN
Goto stels
Endif
Else
Wait(10500)
Goto hide
end sub

Это я сам написал
Вчера инжект скачал он говорит на 25 строчке ошибка


Top
   
 Post subject:
PostPosted: 2004-07-09 17:16:52 
Offline

Joined: 2004-04-26 00:36:26
Posts: 45
Ты не в тех местах енд иф ставил! =)
Так у меня заработал твой скрипт! +)

Code:
sub hide() 
hide:
   UO.useskill('Hiding')
   If UO.Hidden() THEN
      Goto stels
   Else
      Wait(10500)
      Goto hide
   End if
stels:
   Wait(10500)
   UO.useskill('Stealth')
   If UO.Hidden() THEN
      Goto stels
   Else
      Wait(10500)
      Goto hide
   End if
end sub


Top
   
 Post subject:
PostPosted: 2004-07-09 17:29:28 
Offline

Joined: 2004-04-15 14:50:06
Posts: 73
Location: Moscow
А лучше использовать так, трудно смотреть на него с огромным количеством ГОТО поробуй вот этот лучше

Code:
sub hide()
 while not uo.dead()
   uo.useskill('Hiding')
   wait(10500)
   while uo.hidden()
    uo.UseSkill('Stealth')
    wait(10500)
   wend
 wend
endsub

_________________
Я где то рядом... 8)


Top
   
 Post subject:
PostPosted: 2004-07-09 19:55:54 
Offline

Joined: 2004-07-09 15:14:26
Posts: 3
Location: Moscow
СПАСИБО!!


Top
   
 Post subject:
PostPosted: 2004-07-10 01:03:58 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
SVG wrote:
А лучше использовать так, трудно смотреть на него с огромным количеством ГОТО поробуй вот этот лучше

Code:
sub hide()
 while not uo.dead()
   uo.useskill('Hiding')
   wait(10500)
   while uo.hidden()
    uo.UseSkill('Stealth')
    wait(10500)
   wend
 wend
endsub

:P
Code:
sub hide()
 while not uo.dead()
  if uo.hidden() then
    uo.UseSkill('Stealth')
  else
   uo.useskill('Hiding')
  end if
  wait(10500)
 wend
endsub


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

All times are UTC+02:00


Who is online

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