Yoko

All sides of Injection
It is currently 2025-11-14 14:19:15

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2007-04-30 12:50:22 
Offline
User avatar

Joined: 2007-04-21 14:06:19
Posts: 79
Смотрел готовые, но там вроде нет такого!
нужно чтоб хайдил и ходил верх и вниз по 2-3 шага, если расхайдился опять вставал в хайд, и если не удача при хайде повторить попытку!
заранее благодарю!


Top
   
 Post subject:
PostPosted: 2007-04-30 13:21:08 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
Code:
sub Stealth() 
   var i=1
   repeat
      for i=1 to 8
         if not uo.hidden() then 
            UO.DeleteJournal()
            UO.UseSkill("Hiding")
            Repeat
               Wait(10)
            Until UO.InJournal("You have hidden yourself well") or UO.InJournal("You can't seem to hide here.")
         end if
         uo.press(35)
         wait(200)
      next
      for i=1 to 8
         if not uo.hidden() then 
            UO.DeleteJournal()
            UO.UseSkill("Hiding")
            Repeat
               Wait(10)
            Until UO.InJournal("You have hidden yourself well") or UO.InJournal("You can't seem to hide here.")
         end if
         uo.press(33)
         wait(200)
      next
      Wait(100)
   until UO.Dead()
end sub

_________________
Шард Антарес
Ururu


Top
   
 Post subject:
PostPosted: 2007-04-30 13:53:18 
Offline
User avatar

Joined: 2007-04-21 14:06:19
Posts: 79
Спосибо конечно, но что то он не ходит! м...?


Top
   
 Post subject:
PostPosted: 2007-04-30 14:14:33 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Ходить должен, другое дело, что в скрипте недоработка.

Ситуация - чар вышел из хайда, пытается схайдится - физл, делает шаг и только после этого вновь пытается схайдится.

Налицо нерациональный подход - впустую тратиться время, пусть и ~200ms, но всё равно время.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2007-04-30 14:37:14 
Offline
User avatar

Joined: 2007-04-21 14:06:19
Posts: 79
Неа, не ходит :( шард - Олд Оском Фре, а в чем может быть дело? не хождения м?


Top
   
 Post subject:
PostPosted: 2007-04-30 22:06:16 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
проверь сообщения, которые пишут при хайде

_________________
Шард Антарес

Ururu


Top
   
 Post subject:
PostPosted: 2007-04-30 22:44:09 
Offline
User avatar

Joined: 2007-04-21 14:06:19
Posts: 79
Вотс встановится в хайд, я так понимаю при попытке ходьбы в журнале пишет:
This server protected by UNSP v.2.95b.
Look at www.****.ru (c) "Digital Worlds"


Top
   
 Post subject:
PostPosted: 2007-05-01 05:50:13 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
Увеличь паузы и сними галочку в настройках УО, всегда бег.

_________________
Шард Антарес

Ururu


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 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