SRL Archive - OSR Help

Color clicker script help


omgbeans

2011-01-09 16:13:39

I'm trying to make a script where it searches for a color and clicks it. Any ideas how to do this? Its for this game called world of tanks. I am using SCAR.

This is what I have but its not working

program Colour;

var
x, y : integer;
begin
If FindColor(x, y, 59751, 0, 0, 1276, 776) Then
begin
movemouse(x, y);
clickmouse(x, y, true);
end;
end.


any thoughts? I want it to click on this red "battle" button.


**BANNED The Man

2011-01-09 16:16:43

Dude.. I already gave you a script…

omgbeans

2011-01-09 16:17:35

that script was wrong. It didnt work at all.

This is what I want it to do its simple:

1. Search for color
2. find color
3. when found left click

**BANNED The Man

2011-01-09 16:18:47

From: omgbeans
that script was wrong. It didnt work at all.


Right… Can I take a guess you were at RSBot before this?

omgbeans

2011-01-09 16:20:26

no i dont even know what rsbot it. All i am looking for is help with this!

Frement

2011-01-09 16:20:30

Do NOT make multiple thread about the subject.

3Garrett3

2011-01-09 16:45:00

So much hostility.

Look, if the colour you picked is right then there have been multiple scripts posted which will work. If you have picked an incorrect colour, it will do nothing.

Solution 1:
Make sure you've picked the correct colour and fit it into the script you were given.
Solution 2:
Using the same colour you've picked, you may use the following code instead:
program Colour;
{.include SRL/SRL.scar}
var
x, y : integer;
begin
If FindColorTolerance(x, y, 59751, 0, 0, 1276, 776, 5) Then
Mouse(x, y, 1, 1, True);
end.

Tell me which one works, if nothing works then PM me and I'll give you my MSN and we can work something else out.

Capricorn

2011-01-09 16:59:17

Does this game run an anti-cheat engine?