Yoko

All sides of Injection
It is currently 2025-11-05 17:43:23

All times are UTC+02:00




Post new topic  Reply to topic  [ 36 posts ]  Go to page 1 2 Next
Author Message
PostPosted: 2006-03-18 11:33:08 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
можете написать скрипт чтобы чар drag'ал еду по 1 стейку на лошадку
просто сам не представляю как надо сделать


Top
   
 Post subject:
PostPosted: 2006-03-18 12:33:42 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Педали это обычный контейнер. То есть двигаешь в нее хавку как в сумку.


Top
   
 Post subject:
PostPosted: 2006-03-18 18:56:37 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
var horse = ' ID of horse '
var eat = ' Type of something to eat '
moveitem(eat,'1',horse)


Top
   
 Post subject:
PostPosted: 2006-03-18 19:25:38 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
а вот что ознаает единица в последней команде?
Code:
moveitem(eat,'1',horse)


Top
   
 Post subject:
PostPosted: 2006-03-18 19:28:12 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
098 wrote:
а вот что ознаает единица в последней команде?
Code:
moveitem(eat,'1',horse)


А додумать тяжело??? Количество. :evil:


Top
   
 Post subject:
PostPosted: 2006-03-18 19:29:42 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
var horse = ' ID of horse ' 
var eat = ' ID of something to eat '
moveitem(eat,'1',horse)


Top
   
 Post subject:
PostPosted: 2006-03-18 19:39:16 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Grin wrote:
Code:
 
var eat = ' ID of something to eat '


с головой в порядке, грин?


Top
   
 Post subject:
PostPosted: 2006-03-18 19:43:23 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
спс


Top
   
 Post subject:
PostPosted: 2006-03-18 19:48:59 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
не такой команды moveitem
function not found


Top
   
 Post subject:
PostPosted: 2006-03-18 19:51:32 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
098 wrote:
не такой команды moveitem
function not found


ыыы а хелп не помогает???
UO.Moveitem


Top
   
 Post subject:
PostPosted: 2006-03-18 19:59:31 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
Code:
sub korm_loshad()
var horse = '0x00008F9E'
var eat = '0x097B'
uo.moveitem(eat,'1',horse)
end sub

сообщение в уо:
Can't Pickup item
Can't Pickup item


Top
   
 Post subject:
PostPosted: 2006-03-18 20:04:46 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
098 wrote:
Code:
sub korm_loshad()
var horse = '0x00008F9E'
var eat = '0x097B'
uo.moveitem(eat,'1',horse)
end sub

сообщение в уо:
Can't Pickup item
Can't Pickup item


Попробуй:

Code:
if каое то условие then 
      UO.SetReceivingContainer('ID животины')
         wait(500)
      UO.FindType('жратва')
         if UO.GetQuantity('finditem')>0 then
            UO.Grab('5','finditem')
               wait(500)
         end if
      UO.UnSetReceivingContainer('ID животины')


Last edited by Kynep on 2006-03-18 20:05:29, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-03-18 20:05:08 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
через

Code:
uo.findtype(eat,'1','backpack')
uo.moveitem('finditem','1',horse)
пробуй


Top
   
 Post subject:
PostPosted: 2006-03-18 20:09:12 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
Quote:
÷åðåç

Code:
uo.findtype(eat,'1','backpack')
uo.moveitem('finditem','1',horse)
ïðîáóé


Object not found


Top
   
 Post subject:
PostPosted: 2006-03-18 20:12:33 
Offline

Joined: 2006-02-01 20:19:03
Posts: 125
Quote:
Code:
if каое то условие then 
      UO.SetReceivingContainer('ID животины')
         wait(500)
      UO.FindType('жратва')
         if UO.GetQuantity('finditem')>0 then
            UO.Grab('5','finditem')
               wait(500)
         end if
      UO.UnSetReceivingContainer('ID животины')


вот енто работает
только
если не сложно- можешь объяснить механизм работы


Top
   
 Post subject:
PostPosted: 2006-03-18 20:16:06 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
098 wrote:
Quote:
Code:
if каое то условие then 
      UO.SetReceivingContainer('ID животины')
         wait(500)
      UO.FindType('жратва')
         if UO.GetQuantity('finditem')>0 then
            UO.Grab('5','finditem')
               wait(500)
         end if
      UO.UnSetReceivingContainer('ID животины')


вот енто работает
только
если не сложно- можешь объяснить механизм работы


Строка из хелп:
Code:
Описание: grab •
Синтакс: ,grab [quantity] [object]
none uo.grab([quantity],[object])
Тема: Работа с обьектами Ключевые слова: command, uoscript, utility, objhandling


--------------------------------------------------------------------------------

Берёт quantity указаного обьекта object и ложит в сумку. Сумка переставляется командой setreceivingcontainer. Количество по умолчанию или нулевое значение означает взять всё. Если обьект не указан, предлагается указать его прицелом.


Top
   
 Post subject:
PostPosted: 2006-03-18 22:08:24 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
а 4 апреля 2004 года , этот вопрос поднимался. Всё таки поиск рулит:

viewtopic.php?t=9


Top
   
 Post subject:
PostPosted: 2006-03-18 23:08:29 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
You Must Die wrote:
через

Code:
uo.findtype(eat,'1','backpack')
uo.moveitem('finditem','1',horse)
пробуй

Ну что умник? какой первый парамент в мув итеме? а ? дурак...


Top
   
 Post subject:
PostPosted: 2006-03-19 06:59:10 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Grin wrote:
You Must Die wrote:
через

Code:
uo.findtype(eat,'1','backpack')
uo.moveitem('finditem','1',horse)
пробуй

Ну что умник? какой первый парамент в мув итеме? а ? дурак...


чё умник, иди выспись.
Code:
moveitem('ID'...)
-это надо с дубу рухнуть, чтобы такое написать.
И параметр Типа бля, или finditem , который тоже задаётся FindTYPE'ом. Так что , иди нубам в другие топы мозги пудри.


Top
   
 Post subject:
PostPosted: 2006-03-19 13:05:17 
Offline
User avatar

Joined: 2006-03-08 11:59:41
Posts: 122
НЕ ID А ТИП ЖРАТВЫ ПОСТАВЬ!

_________________
СМЕРТЬ ФЛУДЕРАМ!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 36 posts ]  Go to page 1 2 Next

All times are UTC+02:00


Who is online

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