Yoko

All sides of Injection
It is currently 2026-01-19 18:52:25

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2007-11-12 14:08:54 
Offline

Joined: 2006-02-28 23:22:21
Posts: 5
народ помогите со скриптом! я качаю арчери а стрелы не попавшие в проивника падают на пол и пропадают! допишите в скрипт цикл что бы он скажим через каждые 2-5 минут подбирал стрелы которые лежат под его ногами! или просто что бы подбирал постоянно!
заранее спасибо!

sub a()
uo.set('finddistance','3')
repeat
uo.findtype('0x0000',-1,'ground') # type of items
if uo.findcount() then
uo.moveitem('finditem')
wait(500)
end if
until uo.findcount()==0
uo.print('читай уроки скриптинга')
end sub


Top
   
 Post subject:
PostPosted: 2007-11-12 14:50:04 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
uo.print('читай уроки скриптинга')


Top
   
 Post subject:
PostPosted: 2007-11-12 16:24:44 
Offline

Joined: 2006-02-28 23:22:21
Posts: 5
и куда её вставлять эту строчку? поправте полностью пожалуйста


Top
   
 Post subject:
PostPosted: 2007-11-12 16:36:59 
Offline
User avatar

Joined: 2007-05-26 00:00:56
Posts: 173
Location: Украина, Ode$$a:[X-TEAM Group]
Barlog wrote:
и куда её вставлять эту строчку? поправте полностью пожалуйста

Посмеялся я от души =))) :lol:

_________________
Image


Top
   
 Post subject:
PostPosted: 2007-11-12 21:40:03 
Offline
User avatar

Joined: 2006-05-25 23:02:02
Posts: 185
Location: Uoo
:twisted: держи :twisted:

Code:
sub strel_loot() 
uo.set('finddistance','4')
repeat
 
    uo.findtype('type_strel','-1','ground')
    if uo.findcount() then
      uo.grab('0','finditem')
      wait(500) # пауза при перекладывании
    else
      wait(8000)
    end if
  next
until uo.dead()
end sub

_________________
kak to tak


Top
   
 Post subject:
PostPosted: 2007-11-13 05:26:50 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
$keR wrote:
:twisted: держи :twisted:

Code:
sub strel_loot() 
uo.set('finddistance','4')
repeat
 
    uo.findtype('type_strel','-1','ground')
    if uo.findcount() then
      uo.grab('0','finditem')
      wait(500) # пауза при перекладывании
    else
      wait(8000)
    end if
  next
until uo.dead()
end sub


Переменную тип стрел объявить надо и ковычки снять


Top
   
 Post subject:
PostPosted: 2007-11-13 18:09:25 
Offline
User avatar

Joined: 2006-05-25 23:02:02
Posts: 185
Location: Uoo
если ты такой умный зачем просить помощи?
я для тебя написал..
"type_strel" сюда вместо
Code:
 "type_strel" 
нада было вставить тип стрел.. теперь понятно?
можно зделать по другому, но зачем*

_________________
kak to tak


Top
   
 Post subject:
PostPosted: 2007-11-13 18:51:45 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Я не просил помощи. Комментировать тогда надо то куда что надо вставить. Для человека не знающего инжект все эти команды лишь набор символов


Top
   
 Post subject:
PostPosted: 2007-11-13 19:08:17 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
$keR wrote:
если ты такой умный зачем просить помощи?
я для тебя написал..
"type_strel" сюда вместо
Code:
 "type_strel" 
нада было вставить тип стрел.. теперь понятно?
можно зделать по другому, но зачем*

Омг.. а я думал это графический тип заданный на соответствующей закладке..

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

All times are UTC+02:00


Who is online

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