Yoko

All sides of Injection
It is currently 2025-11-05 23:42:55

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MassMove Help
PostPosted: 2008-10-23 10:29:40 
Offline
User avatar

Joined: 2007-02-19 05:38:54
Posts: 16
Location: Riga
помогите осущиствить скрипт нада чтобы скрипт раскладывал в 10 мешков по 70 трапедов

трапед Type=0x09B0
мешок Type=0x0E75

_________________
"Player OldparadiseXL"


Top
   
 Post subject:
PostPosted: 2008-11-09 03:43:56 
Offline

Joined: 2008-04-02 08:24:35
Posts: 41
Code:
sub rasklad()
var trap,scrvar,sumka
uo.Exec('addobject trap')
while uo.Targeting()
wait(100)
wend
scrvar = UO.GetGraphic('trap')
repeat
uo.findtype ('0x0E75')
wait (100)
uo.moveitem ('trap','70','finditem')
wait (300)
uo.drophere('finditem')
wait (300)
uo.Exec('addobject trap')
while uo.Targeting()
wait(100)
wend
Endif
if uo.injournal('6666') then
    uo.msg ("Cлушаюсь и повинуюсь!")
uo.DeleteJournal(6666)
    uo.exec('terminate all')
endif
wait (200)
until false
end sub


только придеться тыкать курсором в стопку "трапед??? че такоЕ?"

Можно переделать что бы сам искал, только это уже сам.

Скрипт раскладывает по мешкам то во что тыкнули таргетом в количестве uo.moveitem ('trap','70','finditem')
и перемещает мешок под ноги чару.


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

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