I am currently learning to script and it's sending me insane with all the errors that I'm getting, but I got this message in the Simba debug box.
Warning! You passed a wrong xe to a finder function: 515. The client has a width of -4260208, thus the xe is out of bounds. Setting the value to -4260209 (w-1) for now.
Exception: Range check error at line 110 (This is the players SRL file)
Simba Code:
function LoggedIn: Boolean;
var
cx, cy: Integer;
begin
Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492);
end;
Why is Simba telling me the width of the runescape client is -4260208?
Also, when I use the function FindColorSpiralTolerance the mouse just stayed in the top left corner and unless there was a tree there nothing would happen. It seemed to work the same as
Simba Code:
MMouse(x,y,0,0);
if UpText('ree') then
Mouse(x, y, 0, 0);