Yoko

All sides of Injection
It is currently 2026-01-18 19:42:26

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Мининг
PostPosted: 2005-04-24 21:40:54 
Offline

Joined: 2005-03-11 23:00:30
Posts: 30
Извените меня пожалуйста , может такая тема уже и была. :roll:
Дайте пожалуйста небольшой скриптик на мининг.
Чар встаёт в пещере , запускается скрипт , чар встаёт в хайд , чар копает всё , скрипт оиключается (в ручную). Никакой проверки на ПК , элементали и реколы не надо.
Помогите пожалуйста кому не сложно.


Top
   
 Post subject:
PostPosted: 2005-04-24 22:07:47 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Помоги себе сам зайдя в поиск.


Top
   
 Post subject:
PostPosted: 2005-04-24 22:26:08 
Offline

Joined: 2005-03-11 23:00:30
Posts: 30
Сори , я нюб в инжекте , не знаю что можно удалять , что нельзя. :oops:


Top
   
 Post subject:
PostPosted: 2005-04-24 22:29:34 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Ищи лучше.


Top
   
 Post subject:
PostPosted: 2005-04-24 22:46:39 
Offline

Joined: 2005-03-11 23:00:30
Posts: 30
Не нашёл. Если не сложно выложите сюда. :roll:


Top
   
 Post subject:
PostPosted: 2005-04-25 16:04:38 
Offline
User avatar

Joined: 2004-08-12 19:50:48
Posts: 40
Location: И-нет клуб "Мусорка"
kak mozno nenajti :) znacht neiskal ili nepravilno !

_________________
Да поможет вам Литр , да сохронит вас Второй , во имя Стакана , Бутылки , и святого Огурца - Аминь!
Yoko Повер нах )


Top
   
 Post subject:
PostPosted: 2005-04-25 16:47:13 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
Code:
sub mining()
VAR MaxVes = 600   ; Максимальный вес, подымаемый чаром минус 10-15 стоунов
VAR TileNum = '1339'   ; Тайл пола пещеры (наиболее распространенный тип)
VAR x, y, t, k
VAR MaxTime = 100   ; измеряется в 1/10 сек.
VAR ms1 = "There is nothing"
VAR ms2 = "You can't use"
VAR ms3 = "You put the"
VAR ms4 = "You fail to find any useable ore"
VAR ms5 = "You are too far away"
VAR ms6 = "Try mining elsewhere"
VAR ms7 = "You can't see that"

uo.print('!!Lopata!! ')
uo.exec('addobject Shovel')
while uo.targeting()
wait(100)
wend

while not UO.Hidden()
UO.Warmode("0")
uo.print("Прячемся...")
UO.UseSkill("Hiding")
wait(4000)
wend

for y=-2 to 2
   for x=-2 to 2
      k = 0
      repeat
         UO.DeleteJournal()
         t = UO.Timer()
         k = k + 1
         wait(300)
         UO.WaitTargetTile( TileNum, STR( UO.GetX() + x ), STR( UO.GetY() + y ), 0)
         UO.Useobject("Shovel")
         repeat
            wait(300)
         until UO.InJournal(ms1) OR UO.InJournal(ms2) OR UO.InJournal(ms3) OR UO.InJournal(ms4) OR UO.InJournal(ms5) OR UO.InJournal(ms6) OR UO.InJournal(ms7) OR ((t + MaxTime) < UO.Timer())
         If UO.Weight > MaxVes Then
            ; Вес превышен!
            UO.Print(" Overweight!" )
            return
         Endif
      until ( NOT UO.InJournal(ms4) AND NOT UO.InJournal(ms3) OR (k > 10) )
   next
next
end sub


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

All times are UTC+02:00


Who is online

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