Jump to content
Se7eN

Clan Tree Wood Chopper

Recommended Posts

ok so while the name isn't super intuitive, it performs as advertised. i made this script to run with vanilla scar, no osi, no pheonix, no srl. so you will have to spend zero hours explaining how to install it to your less than intelligent clan mates. download and install scar, copy, paste, run. keep in mind because the goal was functional simplicity this script doesn't do randoms, and its mouse movements are not as undetectable as i would like. however as long as you don't run this for days on end you should have no issues.

 

//simple clan tree cutter no includes required... courtesy of Se7eN

const
//SET COLORS HERE//
c1 = 2440012;    //
c2 = 2176067;    //
c3 = 2308167;   //
///////////////////
var x, y, w, h: Integer;

procedure FindTarget;
Begin
 GetClientDimensions(w, h);
 x := -1; y := -1;
 if FindColorSpiral(x, y, c1, 0, 0, w - 1, h - 1) then //find first color
       WriteLn('Found Target A color at ' + IntToStr(x) + ', ' + IntToStr(y));
       Wait(200 + Random(300));
 if FindColorSpiral(x, y, c2, 0, 0, w - 1, h - 1) then //find second color
   WriteLn('Found Target B color at ' + IntToStr(x) + ', ' + IntToStr(y));
       Wait(200 + Random(300));
 if FindColorSpiral(x, y, c3, 0, 0, w - 1, h - 1) then //find third color
   WriteLn('Found Target C color at ' + IntToStr(x) + ', ' + IntToStr(y));
       Wait(200 + Random(300));
end;

procedure ClickTarget;
 begin
   MoveMouseSmoothEx(x, y, 1, 10, 100, 2, 2);  // move mouse and click on target
   ClickMouse(x, y, true);
   Wait(6200 + Random(2200)); // Wait time after clicking
 end;

begin
repeat
   FindTarget;
   ClickTarget;
 until False;
end.

 

feel free to use, update, or edit as you see fit. also thank you to freddy for fixing my inability to notice the need for "[woodcutting]" in the title.

 

-Se7eN

Edited by Se7eN
Link to comment
Share on other sites

what settings are you using? this requires lowest settings and max brightness. this works for me and my clan mates, so theoretically it should work for you as well. but feel free to tweak the colors until it works for you. and truthfully this isn't a script you should use unless you cant figure out how to get the normal includes to work via the include manager. the mouse movements are about as undetectable as i can make them without either spending more time than its worth for such a simple script, or using OSI or SRL.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...