Yoko
http://forum.yoko.com.ua/

Pick up bolts and arrows
http://forum.yoko.com.ua/viewtopic.php?f=3&t=17734
Page 1 of 1

Author:  Blekota [ 2016-03-11 17:31:58 ]
Post subject:  Pick up bolts and arrows

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!

Author:  shumilman [ 2016-03-13 07:28:57 ]
Post subject:  Re: Pick up bolts and arrows

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

Author:  Trombel [ 2021-06-05 18:22:36 ]
Post subject:  Re: Pick up bolts and arrows

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?

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/