Yoko

All sides of Injection
It is currently 2026-03-12 21:47:20

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2004-08-01 22:58:40 
Offline
Junior Expert
User avatar

Joined: 2004-04-12 20:26:41
Posts: 150
Code:
sub DRAG()

UO.Print("что перекладывать?")
uo.exec('addobject what')
 while uo.targeting()
 wait(100)
wend

UO.Print("от куда перекладывать?")
uo.exec('addobject TOT1')
 while uo.targeting()
 wait(100)
wend

UO.Print("куда перекладывать?")
uo.exec('addobject TOT')
 while uo.targeting()
 wait(100)
wend

 repeat
   UO.FindType('what','0x0000','TOT1')
   wait(200)
   UO.MoveItem('finditem','400','TOT')
   wait(500) 
 until not UO.FindCount('finditem')>0
end sub



Вместо того, чтобы перекладывать только итем одного типа, перекладывается всё содержимое пака :(


Top
   
 Post subject:
PostPosted: 2004-08-01 23:21:13 
Offline

Joined: 2004-04-05 11:59:21
Posts: 69
Location: RunUO
и чем тебе не нравится команда
Code:
,massmove
???


Top
   
 Post subject:
PostPosted: 2004-08-02 20:46:16 
Offline
Junior Expert
User avatar

Joined: 2004-04-12 20:26:41
Posts: 150
У меня от неё клиент крашиться


Top
   
 Post subject:
PostPosted: 2004-08-03 04:10:21 
Offline
User avatar

Joined: 2004-05-11 12:27:22
Posts: 54
поставь галку
"no client hung message"

_________________
Каждый манчкин в старости мечтает иметь кресло-качалку ;)


Top
   
 Post subject:
PostPosted: 2004-08-05 04:52:58 
Offline
User avatar

Joined: 2004-05-11 12:27:22
Posts: 54
а вообще ошибка у тебя сдесь
UO.FindType('what','0x0000','TOT1')
правильный синтаксис файндтайпа :
Uo.FindType(type,color,container)
ты ему задаешь конкретный айди обьекта what, а не тип обьектов

_________________
Каждый манчкин в старости мечтает иметь кресло-качалку ;)


Top
   
 Post subject:
PostPosted: 2004-08-05 10:24:00 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Замени Findtype на Finditem


Top
   
 Post subject:
PostPosted: 2004-08-05 10:47:43 
Offline
Junior Expert
User avatar

Joined: 2004-04-12 20:26:41
Posts: 150
Спасибо :)

Но как тогда зная серийник шмотки получить её тип? Это было бы удобней используя метод в моём скрипте, что бы не добавлять тип нужной вещи вручную


Top
   
 Post subject:
PostPosted: 2004-08-05 12:32:31 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Ex-Brodyaga wrote:
Спасибо :)

Но как тогда зная серийник шмотки получить её тип? Это было бы удобней используя метод в моём скрипте, что бы не добавлять тип нужной вещи вручную


UO.GetGraphic.


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