Yoko

All sides of Injection
It is currently 2026-01-21 04:03:32

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2006-07-12 15:21:24 
Offline

Joined: 2004-09-02 15:15:17
Posts: 13
Вобщем у нас на серваке ввели такую фичю что под собой копать незя. Как здесь исправить чтоб он копал на 1 клетку в сторону? левее правее сзади, не важно.
Code:
sub mine_spot() 
   var maxMineTime=30000
   var times=0
   var timeout=0
while not UO.Hidden()
UO.Warmode("0")
uo.print("Ïðÿ÷åìñÿ...")
UO.UseSkill("Hiding")
wait(4000)
wend
   While UO.InJournal("Íåò")==0
   UO.Print("Mining time!")
   UO.DeleteJournal()

   UO.WaitTargetTile("1340",STR(UO.GetX()),STR(UO.GetY()),"0")
   UO.UseType("0x0E85")
   timeout=0
   times = times +1
   if times>20 then
      wait(maxMineTime)
      times = 0
   endif
   Repeat
      timeout=timeout+200
      Wait(200)
      #UO.Print("Waiting...")
      Until UO.InJournal("ïîëîæèëè") OR UO.InJournal("You loosen")OR UO.InJournal("Íåò") OR timeout>maxMineTime
   Wend

   return 0
end sub


Top
   
 Post subject:
PostPosted: 2006-07-12 15:27:00 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
Code:
UO.WaitTargetTile("1340",STR(UO.GetX()+1),STR(UO.GetY()+1),"0")


админ у вас гений, типа баг закрыл...


Top
   
 Post subject:
PostPosted: 2006-07-12 15:31:46 
Offline

Joined: 2004-09-02 15:15:17
Posts: 13
спасибо, сам разобрался после того как написал :) Незнаю чаво он там закрыл, но тупость какая-то.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited