• Log in or sign up for an account here: https://www.sythe.org/login

Scar Help, Auto Clicke/Finder!

Chasel

Newcomer
Joined
Oct 1, 2007
Sythe Gold
0
Messages
14
I'm currently working on a auto click/finder.. It will be a auto trainer for a game called Conquer Online, but I have no clue where to start.. I looks at tutorials but non help much..

I just need somethign to get me started.. Like

1.) Search The Whole Game Screen For A Color
2.) Click that color(Attack) until there is no more of that color (Killed)
3.) Keep searching for that color.

Thats it! If you could help id love it! Thankx!
 
Code:
begin
  repeat
    if (FindColor(x, y, Color, BoxStartX, BoxStartY, BoxEndX, BoxEndY)) then
    begin
      MoveMouse(x, y);
      ClickMouse(x, y, true);
    end;
  until (false);
end.

That's pretty much it.
 
Code:
begin
  repeat
    if (FindColor(x, y, Color, BoxStartX, BoxStartY, BoxEndX, BoxEndY)) then
    begin
      MoveMouse(x, y);
      ClickMouse(x, y, true);
    end;
  until (false);
end.

That's pretty much it.

but x,y what do I enter there if I dont know where the monster will be? if he moves alot?
and do I ened BoxStartx do I need to replace x or y with anyting?
 
The color, the 4 and the two corners of the box to look in (x and y for each) you will need to fill in. The first x and y you need to leave how they are.
 
Those are the coordinates of the corners of the box to look in.
 
Do I fill them in?

Also I jsut go down to cornor of the game screen.. but do I put

if (FindColor(x, y, 4811408, BoxStart1, BoxStart1, BoxEnd660, BoxEnd660)) then

like that?
 
if (FindColor(x, y, 4811408, 1, 1, 660, 660)) then
 
begin
repeat
if (FindColor(x, y, 4811408, 1, 797, 598, -19)) then
begin
MoveMouse(x, y);
ClickMouse(x, y, true);
end;
until (false);
end.



Line 4: [Error] (4:15): Unknown identifier 'x' in script
Failed when compiling
Line 4: [Error] (4:15): Unknown identifier 'x' in script

there is no x on line 4..
 
Code:
var
x, y: Integer;

begin
repeat
if (FindColor(x, y, 4811408, 1, 797, 598, -19)) then
begin
MoveMouse(x, y);
ClickMouse(x, y, true);
end;
until (false);
end.
 
Now
[Runtime Error] : Exception: Canvas does not allow drawing in line 8 in script

Lol??
 
if (FindColor(x, y, 4811408, 1, 1, 598, 797)) then

Select a larger window as your client using the crosshair, then fix your coordinates to that window. First of all, you made the first y greater than the second y, second of all you had a negative number.
 
I did use the scope icon to find my window
and with the x, and y I have no clue what im doing at all..

I go left side and its (1, 253), then i got to far right side and its (799, 236)

then I go top and its (379, -19), then I go bottom and its (701, 598)
 
Drag the 'scope' onto your desktop, then.
 
Hey Town Thanks For Helping! I just got a few more questions.

1.) How can I search for Muti-Colors?
2.) How can I make if it if does not find that color click somewhere esle on the map to search it?

Thanks, Chase!
 
if (not (FindColor(etc))) then

That will result true if it does not find the color.

You can't really search for multiple colors in the same procedure, what are you trying to do?
 
Well theres 2 different colors of monsters, Green & Brown.. and I need to attack both not just one or the other b/c the other will kill me if I keep letting it attack me =p!

Thanks Town!
 

Similar threads

Runescape Gamblingrunescape gambling
Back
Top