SRL Archive - Jr. Member General Help and Discussion

MiniMap search help


Element17

2014-05-08 13:08:44

procedure findPatch();

begin
if not isLoggedIn() then
exit;

minimap.tpaWalk(7704993, 29, point(minimap.x2, minimap.y1), 10);


end;

Bare bones right now but I since the upgrade to SRL 6 and use of lape I haven't coded since before that. How can I go about only searching for the bottom half of the minimap for the above color? I am making a simple F2P script and releasing it here in the Jr. Members section.

riwu

2014-05-08 18:48:54

You have to create a new function and just change the self.getBounds() in findColorsTolerance() to self.x1, self.cy, self.x2, self.y2.