psrkallez06
2024-04-08 13:38:49
Hello, I haven't made scripts on osrs for a few years, many things have changed, I'm using the latest SRL-Development.
https://villavu.github.io/SRL-Development/mainscreen.html#mainscreen
I have read though that many times, but i cant seem to get on to actually click on a color.. for example:
I just get Don't know which overloaded method to call with params
So could anyone just write some small code for me on how i actually click/move the mouse on TCTS2 color?
Been trying for hours and It's driving me crazy.
Best Regards!
https://villavu.github.io/SRL-Development/mainscreen.html#mainscreen
I have read though that many times, but i cant seem to get on to actually click on a color.. for example:
procedure Clickspot();
var
Fishspot: TCTS2Color;
begin
writeln ('Should Click Spot!');
Fishspot.Color := 14137239;
Fishspot.Tolerance := 10;
Fishspot.HueMod := 0.15;
Fishspot.SatMod := 2.26;
MainScreen.FindObject(Fishspot, 'spot', MOUSE_LEFT); // this is the line where the overload thing comes in. I just get Don't know which overloaded method to call with params
So could anyone just write some small code for me on how i actually click/move the mouse on TCTS2 color?
Been trying for hours and It's driving me crazy.
Best Regards!