Yoko

All sides of Injection
It is currently 2026-01-16 21:22:32

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2009-07-16 20:44:53 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Есть скрипт на лут:

Code:
sub loot() 
var i
dim a[95]
a[0]="0x1086" #bracelet of mana regeneration
a[1]="0x1B76" #item 1

<...>

a[94]="0x09D0" #apples

uo.set('finddistance','5')
for i=0 to 94
uo.findtype(a[i],'-1','ground')
if uo.findcount() then
uo.moveitem('finditem')
wait(800)
end if
next
end sub


Работает хорошо, но если есть повторяющиеся вещи, он лутает только в одном экземпляре, надо чтоб лутил всё. Помогите пожалуйсто его как-то исправить. Просто несколько раз ввести тип предмета - не вариант. :)

_________________
:O


Top
   
PostPosted: 2009-07-17 06:11:48 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Code:
sub loot() 
var i
dim a[95]
a[0]="0x1086" #bracelet of mana regeneration
a[1]="0x1B76" #item 1

<...>

a[94]="0x09D0" #apples

uo.set('finddistance','5')
for i=0 to 94
uo.findtype(a[i],'-1','ground')
if uo.findcount() then
repeat
uo.moveitem('finditem')
wait(800)
uo.findtype(a[i],'-1','ground')
until not uo.findcount()
end if
next
end sub


Top
   
 Post subject:
PostPosted: 2009-07-17 14:38:00 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
спс

_________________
:O


Top
   
 Post subject:
PostPosted: 2009-07-17 16:43:08 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Spirit wrote:
спс

нез


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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