The Pocked Man
Member
- Joined
- Nov 14, 2009
- Sythe Gold
- 0
- Messages
- 29
First of all, download SCAR from www.freddy1990.com
Always remember, CTRL-ALT-R to run a script, CTRL-ALT-S to stop a script!
Change the settings at the top of the last two scripts to have them work for you!
Click HERE if you need help doing this
FarmVille Auto Friend Helper
Make sure you don't select a client window in SCAR, or if you do, select your browser window, not FarmVille itself.
This will goto your neighbour page and goto the suggested friends farm and help them. Then do it all again.
FarmVille Auto Clicker(Plow,Plant,Harvest)
This one script can be used to plow, plant & harvest.
Just select the right tool and away you go.
This will click the mouse in a Row,Column pattern. So useful if your farm has a square or rectangle layout.
Select your tool/seed first then run.
If you want to run in Fullscreen mode, DO NOT select a Client in SCAR, go Fullscreen and ZOOM OUT all the way but DO NOT MOVE YOUR FARM AT ALL! Going Fullscreen will centre your farm.
Now press CTRL-ALT-P and the color picker icon will appear, move over your topmost field and RIGHT CLICK. SCAR will now pop up. Copy the X & Y position (Down the bottom as "Color 123456 picked at (X,Y)"), type in your Rows and Columns, then press SAVE.
Now go back to FarmVille and go Fullscreen again, ZOOM OUT all the way and DONT move your farm.
If you are going to PLOW select the PLOW tool and press CTRL-ALT-R to start the script.
If you are going to PLANT select the seed you want to plant then press CTRL-ALT-R to start the script.
If you are going to HARVEST select the multi tool (normal arrow) then press CTRL-ALT-R to start the script.
If you DONT want to run in Fullscreen, select FarmVille as the Client in SCAR. ZOOM OUT all the way, press CTRL-ALT-P to bring up the color picker. Right click over the topmost field, copy X&Y into SCAR, enter your Rows & Columns, then the correct tool in FarmVille, then run the script.
** Remember to lock up your farmer to save time. **
FarmVille XP Buyer/Hay Bale Placer & Deleter
Here is a YouTube video showing it in action
This will place hay bales, then delete them. Effectively converting your unused money into XP.
You MUST select the FarmVille window as the Client in SCAR (Use the little target icon).
ZOOM OUT ALL THE WAY.
DO NOT GO FULLSCREEN!
I could have made the pictures smaller but meh.
If you just want to DELETE hay bales in a Row/Column pattern....
Same rules apply, Select FarmVille as Client and ZOOM OUT all the way.
Always remember, CTRL-ALT-R to run a script, CTRL-ALT-S to stop a script!
Change the settings at the top of the last two scripts to have them work for you!
Click HERE if you need help doing this
FarmVille Auto Friend Helper
Make sure you don't select a client window in SCAR, or if you do, select your browser window, not FarmVille itself.
This will goto your neighbour page and goto the suggested friends farm and help them. Then do it all again.
Code:
program FriendHelper;
var
accept,go,x,y,count:integer;
begin
go := BitmapFromString(5, 17, 'beNqbFKEQriHkKw1EXn0hfpMiIGw' +
'gArKHJRfFvwDtbkHx');
accept := BitmapFromString(12, 12, 'beNr7/3/KHkc0NHO/98IjkU' +
'uOxWFKQdCTd+f+w8CFh6sxFcw9GPgfFWy5UIWp7M7LA8hqXny8hqY' +
'AqOs/Bth4rhRZDVAXRPz7r49wNXdeHoIr2H6pHi5+9PbMp+8vwrlY' +
'DQFy917rQlZz4MaEo7dnIBsCFJy61/nvvz8QkeUnUtAc+fbL/Vefb' +
'r78eP3Xn68QkRn7PH78/vwfLwAau+9aNz4VAEOdWBc=');
wait(500);
repeat
keydown(17);keydown(76);keyup(17);keyup(76); //CTRL-L address bar
wait(100);
SendKeys('apps.facebook.com/onthefarm/neighbors.php?ref=tab'+#13);
wait(3000); //enough time to clear current page
count:=0;
While NOT FindBitmapTolerance(go,x,y,10) do
begin
if count=10 then Break; //Waited 10secs, no friend, exit loop
wait(1000);
inc(count);
end;
If FindBitmapTolerance(go,x,y,10) then
begin
clickmouse(x,y,true);
wait(50);
While NOT FindBitmapTolerance(accept,x,y,50) do wait(100);
Clickmouse(x,y,true);
wait(2000);
Clickmouse(x-270,y,true);
wait(200);
end;
until False;
end.
FarmVille Auto Clicker(Plow,Plant,Harvest)
This one script can be used to plow, plant & harvest.
Just select the right tool and away you go.
This will click the mouse in a Row,Column pattern. So useful if your farm has a square or rectangle layout.
Select your tool/seed first then run.
If you want to run in Fullscreen mode, DO NOT select a Client in SCAR, go Fullscreen and ZOOM OUT all the way but DO NOT MOVE YOUR FARM AT ALL! Going Fullscreen will centre your farm.
Now press CTRL-ALT-P and the color picker icon will appear, move over your topmost field and RIGHT CLICK. SCAR will now pop up. Copy the X & Y position (Down the bottom as "Color 123456 picked at (X,Y)"), type in your Rows and Columns, then press SAVE.
Now go back to FarmVille and go Fullscreen again, ZOOM OUT all the way and DONT move your farm.
If you are going to PLOW select the PLOW tool and press CTRL-ALT-R to start the script.
If you are going to PLANT select the seed you want to plant then press CTRL-ALT-R to start the script.
If you are going to HARVEST select the multi tool (normal arrow) then press CTRL-ALT-R to start the script.
If you DONT want to run in Fullscreen, select FarmVille as the Client in SCAR. ZOOM OUT all the way, press CTRL-ALT-P to bring up the color picker. Right click over the topmost field, copy X&Y into SCAR, enter your Rows & Columns, then the correct tool in FarmVille, then run the script.
** Remember to lock up your farmer to save time. **
Code:
program AutoClicker;
var
i,k,x,y,Rows,Columns:integer;
begin
//Change these to suit your farm
//******************************************
x:=726; y:=419; //location of topmost field
Rows:=2; Columns:=3;
//******************************************
for i := 0 to Rows-1 do //rows
for k := 0 to Columns-1 do //columns
begin
if i mod 2 = 0 then
begin
clickmouse(x-k*25+i*25,y+k*12+i*12,true);
wait(25);
end
else
begin
ClickMouse(x-(Columns-1-k-i)*25,y+(Columns-k-1+i)*12,true);
wait(25);
end;
end;
end.
FarmVille XP Buyer/Hay Bale Placer & Deleter
Here is a YouTube video showing it in action
This will place hay bales, then delete them. Effectively converting your unused money into XP.
You MUST select the FarmVille window as the Client in SCAR (Use the little target icon).
ZOOM OUT ALL THE WAY.
DO NOT GO FULLSCREEN!
I could have made the pictures smaller but meh.
Code:
// MUST SELECT FARMVILLE AS SCAR CLIENT WINDOW!
program XPBuyer;
var
x,y,xx,yy,hay,accept,Rows,Columns,i,k,count:integer;
begin
//Change to suit your farm
//*************************************************
x:=322; y:=102; //location first hay bale
Rows:=3; Columns:=5; //How many to place/pattern of placement
//*************************************************
accept := BitmapFromString(10, 19, 'beNrb4zhlD8lo4ZGI5SdS5h' +
'4MRBZcf7bw3qsjf//9+g8DcKlzD1b8xwB4pCCyG84WIYucfbBs9am' +
'suYeCtl6sAco+eHMCLnX8zhxkl0zb6/r//z+I1O+/P2bu90SWBboc' +
'rvHtl/toXtt4rgQu+/DNSTTZVacy8eidc9AfLvvn78+Z+73RFLz4e' +
'A2u4MTdeWiyOy83I/v31L2FS48nAP2y/mwBRMGtF3twhRUE3X6xH4' +
'8sEO252o7sBjRZCJp3KHjlyTRgUANjGV8yAAA0opm2');
hay := BitmapFromString(12, 6, 'beNoLlfqPAV48uFnrr7AwTe7qJP' +
'2Hcwx21ahDxN+9eHh654o9S/sWNSbWekscaNS8PU3r5hRNILo1VWv' +
'b3JaGEI1aD/55KbKr8hS3VaremWEAkb07Q+fBbBB7VoL0lYl6D2br' +
'A9nXJmpsK5VfnCK5MElyT7Xim+XWn9c6vFthc2+GLkQXHN2fpf9or' +
'tnWUrW+YMnZcXL3Zlkiy75dYf14ntHzRWaP5hh82+AMRDemmk0EAM' +
'G8etI=');
repeat
clickmouse(682,561,true); // select market
wait(2000);
clickmouse(431, 113,true); //select decoration
wait(2000);
clickmouse(431, 144,true); //select Hay Bales
wait(2000);
while not findbitmap(hay,xx,yy) do
begin
clickmouse(705, 333,true);
wait(2000);
end; //ClickMouse is location of -> arrow on market
clickmouse(xx,yy+130,true);
wait(1000);
for i := 0 to Rows-1 do
for k := 0 to Columns-1 do
begin
clickmouse(round(x-k*6.25+i*6.25),y+k*3+i*3,true);
wait(200);
end;
wait(2000);
clickmouse(733, 500,true); //Select Delete
wait(50);
for i := 0 to Rows-1 do
for k := 0 to Columns-1 do
begin
count:=0;
clickmouse(round(x-(Columns-1-k)*6.25+(Rows-1-i)*6.25),y+(Columns-1-k)*3+(Rows-1-i)*3,true); //The following command tries to delete the hay bale again if it missed it the first time
repeat wait(100); inc(count); if count mod 100 = 0 then clickmouse(round(x-(Columns-1-k)*6.25+(Rows-1-i)*6.25),y+(Columns-1-k)*3+(Rows-1-i)*3,true); until findbitmap(accept,xx,yy);
clickmouse(xx,yy,true);
wait(1000);
end;
wait(5000);
until False;
end.
If you just want to DELETE hay bales in a Row/Column pattern....
Same rules apply, Select FarmVille as Client and ZOOM OUT all the way.
Code:
// MUST SELECT FARMVILLE AS SCAR CLIENT WINDOW!
program DeleteBales;
var
x,y,xx,yy,hay,accept,Rows,Columns,i,k,count:integer;
begin
//Change to suit your farm
//*************************************************
x:=416; y:=71; //location first hay bale
Rows:=3; Columns:=10; //How many to place/pattern of placement
//*************************************************
accept := BitmapFromString(10, 19, 'beNrb4zhlD8lo4ZGI5SdS5h' +
'4MRBZcf7bw3qsjf//9+g8DcKlzD1b8xwB4pCCyG84WIYucfbBs9am' +
'suYeCtl6sAco+eHMCLnX8zhxkl0zb6/r//z+I1O+/P2bu90SWBboc' +
'rvHtl/toXtt4rgQu+/DNSTTZVacy8eidc9AfLvvn78+Z+73RFLz4e' +
'A2u4MTdeWiyOy83I/v31L2FS48nAP2y/mwBRMGtF3twhRUE3X6xH4' +
'8sEO252o7sBjRZCJp3KHjlyTRgUANjGV8yAAA0opm2');
hay := BitmapFromString(12, 6, 'beNoLlfqPAV48uFnrr7AwTe7qJP' +
'2Hcwx21ahDxN+9eHh654o9S/sWNSbWekscaNS8PU3r5hRNILo1VWv' +
'b3JaGEI1aD/55KbKr8hS3VaremWEAkb07Q+fBbBB7VoL0lYl6D2br' +
'A9nXJmpsK5VfnCK5MElyT7Xim+XWn9c6vFthc2+GLkQXHN2fpf9or' +
'tnWUrW+YMnZcXL3Zlkiy75dYf14ntHzRWaP5hh82+AMRDemmk0EAM' +
'G8etI=');
clickmouse(733, 500,true); //Select Delete
wait(50);
for i := 0 to Rows-1 do
for k := 0 to Columns-1 do
begin
count:=0;
clickmouse(round(x-(Columns-1-k)*6.25+(Rows-1-i)*6.25),y+(Columns-1-k)*3+(Rows-1-i)*3,true); //The following command tries to delete the hay bale again if it missed it the first time
repeat wait(100); inc(count); if count mod 100 = 0 then clickmouse(round(x-(Columns-1-k)*6.25+(Rows-1-i)*6.25),y+(Columns-1-k)*3+(Rows-1-i)*3,true); until findbitmap(accept,xx,yy);
clickmouse(xx,yy,true);
wait(1000);
end;
end.
