# Thread: Is finding feathers broken?

1. ## Is finding feathers broken?

Hi guys,

Just been fiddling around with making a basic lumby chicken killer and feather looter for OSRS with Lape Reflection and noticed that item finding for feathers on the ground seems to be acting strangely in the sense that it will only correctly identify that there is a feather on the ground to loot 1/10 times. At first I thought I just had an error in my code until I tested it with bones instead and found that worked 100% of the time.

I am just using

Simba Code:
varLoots: TReflectGroundItem;If Not Loots.Find('Feather')then    begin      writeln('did not find item');      Exit;    end;

Now that will pretty much return 'did not find item' nearly every time except with the odd occurance where it works, as soon as I change it to bones though as mentioned above it works every time?

Any ideas?

-RK

2. SRL Junior Member
Join Date
Feb 2014
Location
UDFj-39546284
Posts
73
Mentioned
1 Post(s)
Quoted
41 Post(s)
Try this. Not using arrays will only find the item on the bottom of the pile.

Code:
program Pickup;
{$DEFINE SMART} {$i Reflection/Reflection.simba}

const
ItemsToPickup = ['Feather', 'Abyssal whip'];  // Items to Pickup

var
Grounds: TReflectGroundItemArray;
I: Integer;

begin
Grounds.GetAll(20);

for I := 0 to High(Grounds) do
begin
if IsArrInStr(ItemsToPickup, Grounds[I].GetName) then
begin
Reflect.Mouse.Move(Grounds[I].GetMSPoint, 3, 3);
Reflect.Mouse.Click(Mouse_Right);
Reflect.Text.ChooseOption(Grounds[I].GetName);
end;
end;
end.

3. Originally Posted by Bulbasaur
Try this. Not using arrays will only find the item on the bottom of the pile.

Code:
program Pickup;
{$DEFINE SMART} {$i Reflection/Reflection.simba}

const
ItemsToPickup = ['Feather', 'Abyssal whip'];  // Items to Pickup

var
Grounds: TReflectGroundItemArray;
I: Integer;

begin
Grounds.GetAll(20);

for I := 0 to High(Grounds) do
begin
if IsArrInStr(ItemsToPickup, Grounds[I].GetName) then
begin
Reflect.Mouse.Move(Grounds[I].GetMSPoint, 3, 3);
Reflect.Mouse.Click(Mouse_Right);
Reflect.Text.ChooseOption(Grounds[I].GetName);
end;
end;
end.
Ah thank you! I thought it might have been something to do with it being in a pile...Strangely though, this increased the chance it has of finding a feather to maybe 60% but it still constantly is unable to find feathers when there's tiles all over the place with them, very strange!

4. SRL Junior Member
Join Date
Feb 2014
Location
UDFj-39546284
Posts
73
Mentioned
1 Post(s)
Quoted
41 Post(s)
Originally Posted by rkroxpunk
still constantly is unable to find feathers when there's tiles all over the place with them, very strange!
Try setting Grounds.GetAll(20); to a lower number, like 2 or 3, to limit the tile distance it searches for the item.

5. Originally Posted by Bulbasaur
Try setting Grounds.GetAll(20); to a lower number, like 2 or 3, to limit the tile distance it searches for the item.
Yep still doesn't make a difference other than it finds them less often. I've been busy the last few days so haven't had a proper chance to test/troubleshoot further hoping to give it a shot this weekend.

6. When you said it finds them, do you mean it adds them to the array or that it mouses to them?

7. Originally Posted by Probably Glitched
When you said it finds them, do you mean it adds them to the array or that it mouses to them?
The array, if it gets added to the array it's able to mouse to them without issue but the problem was getting them added to the array. Never fully figured this out, my only thought was maybe there were too many items in the area and the function wasn't adding them all to the array, it was very hit and miss.

8. Registered User
Join Date
Jun 2016
Posts
14
Mentioned
0 Post(s)
Quoted
3 Post(s)
I found a fix and posted in in Bugs. But in case you're still having the trouble trying to do it and want a fix now before it's officially updated.

Sorry for bringing up an old thread. I tried to PM him but can't yet. But I figure if anyone else is having the same problem at the moment, it was worth posting here too. (This is the thread I found when I was having the same problem too)