SRL Archive - Jr. Member General Help and Discussion

RS3 can't find colors with FindColorTolerance


lolislol

2013-11-25 02:48:14

I just tried making a simple script for RS3 which would find the color I've put in FindColorTolerance and move the mouse over it with MoveMouse (I know it isn't safe but the fate of this testing account doesn't matter) and for some reason it can't find the color I've put in even with like 50 tolerance and when I put it really high like 180 it finds pretty much a random color and moves the mouse. Here's the script I used:
program testScript;

var x, y : integer;

begin
ActivateClient;
Wait(1500);
if FindColorTolerance(x, y, 6708045, 30, 30, 700, 700, 8) then
begin
Wait(500);
MoveMouse(x, y);
end else
begin
Wait(500);
Writeln('Color not found.');
end;
end.

I've searched around the forums about problems with color finding on RS3 but found none. Is there something that prevents Simba from finding the colors now or something?

Coh3n

2013-11-25 11:44:10

If you are in OGL mode (and not using SMART), I don't think Simba can read the colors.