goider
2009-10-29 12:59:26
So you have a full farm planted, and your sitting on 300k$… no need for useless decorations, trade it all for XP!
This simple script was concocted this morning before school and simply uses CoOrds that have worked for me. Moderately easy setup as I have forgotten how/didn't care to use constants in this script. The first version of this script I made didn't even use procedures so… *Blegh*
Setup is simple, make sure Farmville is set to NON-Fullscreen, use your dibber to get the (x, y) of where you want your plot to be-keep in mind where you have to click in order for that space to plow-I just made a large empty square of grass for ease of use. Then sub those coords into the first procedure named Plot.
If someone wants to sub in my "fill in your stuff inside the procedure" for some constants and even add color finding for reliability (didn't even try because of repeat colors, better luck with DTMs or whatnot).
And if you couldn't tell I have lost any skill I had, but it is a a working script.
This simple script was concocted this morning before school and simply uses CoOrds that have worked for me. Moderately easy setup as I have forgotten how/didn't care to use constants in this script. The first version of this script I made didn't even use procedures so… *Blegh*
Setup is simple, make sure Farmville is set to NON-Fullscreen, use your dibber to get the (x, y) of where you want your plot to be-keep in mind where you have to click in order for that space to plow-I just made a large empty square of grass for ease of use. Then sub those coords into the first procedure named Plot.
program XP_Farmer;
//Hit "S" to stop
procedure Plot;
begin
Wait(500);
MoveMouse(91, 337); //Swap out this set of (x, y); for your plot location
Wait(400);
ClickMouse(91, 337, True); //Swap out this set of (x, y); for your plot location
Wait(700);
end;
procedure Plow;
begin
Wait(500);
MoveMouse(682, 509);
Wait(400);
ClickMouse(682, 509, True);
end;
procedure MarketClick;
begin
Wait(500);
MoveMouse(686, 565);
Wait(400);
ClickMouse(686, 565, True);
Wait(2000);
end;
procedure Soybean;
begin
Wait(500);
MoveMouse(173, 546);
Wait(1500);
ClickMouse(173, 546, True);
Wait(1500);
end;
procedure Shovel;
begin
MoveMouse(733, 498);
Wait(200);
ClickMouse(733, 498, True);
Wait(1500);
end;
procedure Accept;
begin
MoveMouse(293, 390);
Wait(200);
ClickMouse(293, 390, True);
Wait(1500);
end;
begin
Repeat
Plow
Plot
MarketClick
Soybean
Plot
Shovel
Plot
Accept
Until (IsKeyDown('s'))
end.If someone wants to sub in my "fill in your stuff inside the procedure" for some constants and even add color finding for reliability (didn't even try because of repeat colors, better luck with DTMs or whatnot).
And if you couldn't tell I have lost any skill I had, but it is a a working script.
