Yoko

All sides of Injection
It is currently 2025-12-20 10:59:33

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Хелп!
PostPosted: 2006-10-23 07:40:28 
Offline
User avatar

Joined: 2006-09-14 10:38:08
Posts: 39
Киньте заготовочку на хил со скролов ГХ плз!

_________________
все что нас не убивает - делает нас крепче!


Top
   
 Post subject:
PostPosted: 2006-10-23 13:33:20 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
uo.FindType(type,color,'backpack')
if uo.FindCount() then
  uo.WaitTargetSelf()
  uo.UseObject('finditem')
else
  uo.Cast('Greater Heal','self')
end if


Top
   
 Post subject:
PostPosted: 2006-10-24 10:12:55 
Offline
User avatar

Joined: 2006-09-14 10:38:08
Posts: 39
Чого воно неработает? Переделывал на лумбер из майнинга куска... руки кривые вот напеределывал пАмАгЫтЕ!

Code:
sub chop_spot() 
UO.DeleteJournal()
   var maxChopTime=7000
   var times=0
   var timeout=0
   var try=0
   ToHide()
   While (UO.InJournal("There are no"))==0
    try=try+1
    UO.Print("Try = "+str(try))
      UO.Print("Lumber time!")
      UO.DeleteJournal()
      UO.WaitTargetTile("1339",STR(UO.GetX()),STR(UO.GetY()),"0")
      UO.UseType("0x0f43")  ; ???????? ??????
      timeout=0
      times = times +1
      if times>20 then
       wait(maxChopTime)
          times = 0
      endif
         Repeat
            timeout=timeout+1000
           Wait(1000)
            #UO.Print("Waiting...")
       Until UO.InJournal("You put") OR UO.InJournal("You can't think") OR UO.InJournal("There are no") OR timeout>maxChopTime
   Wend
   return 0
end sub

_________________
все что нас не убивает - делает нас крепче!


Top
   
 Post subject:
PostPosted: 2006-10-24 13:48:03 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
Ты забыл процедуру ToHide() из исходного скрипта вставить.

_________________
DerMeister сейчас на нейрале!


Top
   
 Post subject:
PostPosted: 2006-10-24 19:22:40 
Offline
User avatar

Joined: 2006-09-14 10:38:08
Posts: 39
ок вставил почти заработало... я понял в чем проблема когда копает он копает под собой... а дерево рубиццо рядом вот я незнаю каг написать штоб он типо вкруг сибя проверял есть ли де рубануть... или чтото в этом роде!

_________________
все что нас не убивает - делает нас крепче!


Top
   
 Post subject:
PostPosted: 2006-10-24 19:49:35 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
возьми конструкцию обкопки вокруг например.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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