Yoko

All sides of Injection
It is currently 2018-12-12 19:44:02

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Pick up bolts and arrows
PostPosted: 2016-03-11 17:31:58 
Offline

Joined: 2016-01-17 03:18:53
Posts: 8
Hello, i have issues with bolts and arrows that drop out of monster while shooting it. They can not be picked up via injection. When i place bolt/arrow on ground myself, script will pick it up, when they pop out of mob, inj ignores it. When i enter ID of that one bolt into moveitem script, its working, but when i enter just TYPE and color, nothing. When i relog, i can pick it up.
I noticed that bolts and arrows droped out of monster looks visualy lower then arrow or bolt i place on the same spot, its like 1 point above it. ,info confirms that, two bolt on the one tile, one from mob another droped by hand, they have diferent Z coord.

Thank you!


Top
   
PostPosted: 2016-03-13 07:28:57 
Offline

Joined: 2015-02-21 10:24:12
Posts: 5
i use this

sub lootarrow()
var r, arr
DIM arrow[2]
arrow[1]=0x1BFB
arrow[2]=0x0F3F
UO.Set('finddistance','3')
For r=1 to 2
repeat
UO.FindType(arrow[r],-1, 1)
if uo.FindCount('finditem')>0 then
arr=UO.GetSerial('finditem')
uo.grab("0", arr)
wait(100)
endif
until uo.FindCount('finditem')==0 or Uo.InJournal ('overweighted')
next
UO.Ignorereset()
end sub


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 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