msemtex
2012-08-05 14:27:01
Hi, I'am creating a bone collector.
This is the findbone procedure that finds bones until the inventory is full:
My issue is that it only searches within the very bottom right of the runescape "main" screen (Where your avatar is, and the action happens).
On a side note, how can I make the search better, how do I add more colour codes to the FindObj() line.
All help is appreciated.
Matt
This is the findbone procedure that finds bones until the inventory is full:
procedure FindBone;
var x, y: integer;
begin
if FindObj(x,y, 'ake', 15857114, 10) then
repeat
Mouse(x,y,2,2,false);
ChooseOption('ake');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
until(InvFull);
end;
My issue is that it only searches within the very bottom right of the runescape "main" screen (Where your avatar is, and the action happens).
On a side note, how can I make the search better, how do I add more colour codes to the FindObj() line.
All help is appreciated.
Matt