Yoko

All sides of Injection
It is currently 2026-01-16 19:42:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2009-07-06 17:53:14 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Code:
sub drop()
uo.msg('bank');
wait(100)
uo.findtype('-1','-1','-1');
while uo.findcount()
uo.findtype('-1','-1','-1');
if uo.findcount() then
uo.moveitem('finditem','-1','0x400F3B79')
wait(800)
else
uo.print('no items');
endif
wend
end sub


Этот скрипт сбрасывает все вещи, которые находятся в паке в мешок, находящийся в банке. Мне нужно, чтобы он сбрасывал не все вещи, а игнорировал такие итемы, как спелбука, рунбука и тд. Так можно сделать?)

_________________
:O


Top
   
PostPosted: 2009-07-06 18:26:00 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Code:
sub drop()
uo.ignore('ID 1 предмета')
uo.ignore('ID 2 предмета')
;.......;
uo.msg('bank');
wait(100)
uo.findtype('-1','-1','my');
while uo.findcount()
uo.findtype('-1','-1','my');
if uo.findcount() then
uo.moveitem('finditem','-1','0x400F3B79')
wait(800)
else
uo.print('no items');
endif
wend
UO.IgnoreReset()
end sub


Top
   
PostPosted: 2009-07-06 18:42:37 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Mirage wrote:
Code:
sub drop()
uo.ignore('ID 1 предмета')
uo.ignore('ID 2 предмета')
;.......;
uo.msg('bank');
wait(100)
uo.findtype('-1','-1','my');
while uo.findcount()
uo.findtype('-1','-1','my');
if uo.findcount() then
uo.moveitem('finditem','-1','0x400F3B79')
wait(800)
else
uo.print('no items');
endif
wend
UO.IgnoreReset()
end sub
Благодарю. :)

_________________
:O


Top
   
 Post subject:
PostPosted: 2009-07-06 19:57:37 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
А возможно игнорировать по типу предмета?

_________________
:O


Top
   
 Post subject:
PostPosted: 2009-07-06 23:40:23 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Spirit wrote:
А возможно игнорировать по типу предмета?

а возможно. Уроки инжекта ртфм.

по секрету 'finditem' = id найденного по типу предмета. Дальше додумаешь сам нано


Top
   
 Post subject:
PostPosted: 2009-07-07 00:13:01 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Mirage wrote:
Spirit wrote:
А возможно игнорировать по типу предмета?

а возможно. Уроки инжекта ртфм.

по секрету 'finditem' = id найденного по типу предмета. Дальше додумаешь сам нано
О, чёт не додумался сразу, спс. :)

_________________
:O


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

All times are UTC+02:00


Who is online

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