Pick up bolts and arrows

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Blekota
Posts: 8
Joined: 2016-01-17 03:18:53

Pick up bolts and arrows

Post by Blekota »

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!
shumilman
Posts: 5
Joined: 2015-02-21 10:24:12

Re: Pick up bolts and arrows

Post by shumilman »

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
Trombel
Posts: 1
Joined: 2021-06-05 18:00:25

Re: Pick up bolts and arrows

Post by Trombel »

If 0x1BFB is throw from HxB, inject 1508.09 beta HoRLAn with client 306m doesn't see it. If I relog, it started be visible, if I take and put by hand to ground, it again is visible. In older inject 702.11 PaWn it work fine. Same behavior for my script and for script provided above.

Did somebody solve it?
Post Reply