Jump to content

Recommended Posts

Posted

Ok i think i might have it injecting but im using a old version. With my old version injecting it doesnt even let me delete plots so I think i got the right path?

Looks like theres a new version 6417 out. Not sure how to save/edit it for fast withering. Anyone got tips? thanks!

  • Replies 501
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

ALL YOUR POSTS!

Is it possible, not being skilled at writing code, to alter the action to target only a small block of grid? For instance, if I wanted to continue my regulat 20*20 harvest but reserve 2*2 for soybean delete? This way I can continue with revenue production and only spend my extra coin on delete?

Thanks for all your hard work, and to everyone else who has contributed. I cant help but smile every time I run the script...

Cheers

Posted

thanks for the fiddler idea!...

I really need a way to change the size of the plow tool...

modified FarmGame.5802 click here

use it with fiddler: regex:(?insx)^http://.*FarmGame\.5802\.swf

plow anywhere you want...(i managed to disable the collisioncontrol function...) ;-)

Posted Image

“If I had six hours to chop down a tree, I’d spend the first four of them sharpening my axe”. -- Abraham Lincoln

Hi!Im new here..thnx for your modded farmgame.swf sir..Just wanna ask if how did u manage to recompile the swf file>?I tried it in flash CS4 but bunch of errors..If you could post a modded latest swf sir,it would be a great help! Thank you so much sir..

Posted

Hi!Im new here..thnx for your modded farmgame.swf sir..Just wanna ask if how did u manage to recompile the swf file>?I tried it in flash CS4 but bunch of errors..If you could post a modded latest swf sir,it would be a great help! Thank you so much sir..

He didn't decompile. He hex edited it.

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Posted

Is it possible, not being skilled at writing code, to alter the action to target only a small block of grid? For instance, if I wanted to continue my regulat 20*20 harvest but reserve 2*2 for soybean delete? This way I can continue with revenue production and only spend my extra coin on delete?

I think what you want is to readjust the tool's grid setting -- the settings under the 4 offset numbers. They are spin boxes that go from 1 to 20 rows or columns. Set both to 2 and you should get your desired click area. At this point, you'll have to retrain it if your 2x2 is not at the default home but all you have to do is train the second step so hit:

[HOME]

[ESC]

Hover the mouse over Southmost corner of the the Eastmost plot in your 2x2 grid

[HOME]

[ESC]

[ESC]

And then cancel or accept the delete command.

And that should do it!

Thanks for all your hard work, and to everyone else who has contributed. I cant help but smile every time I run the script...

You're infinitely welcome! :)
Posted

Hi!Im new here..thnx for your modded farmgame.swf sir..Just wanna ask if how did u manage to recompile the swf file>?I tried it in flash CS4 but bunch of errors..If you could post a modded latest swf sir,it would be a great help! Thank you so much sir..

I think you can recompile it with Adobe Flex

Posted

timehorse i have a little problem with ur scrip. plow sometimes it skip plot in the field and it is very hard to make the script click on every plot. it all depend on the initial home plot setting. so where is the best place to click the home plot/starting plot.

do set the mouse at the far left corner of the plot the bottom corner center? that is the only problem i have right now with the script. once i get a perfect home cordinate everything is smooth with the ppw setting.

Posted

timehorse i have a little problem with ur scrip. plow sometimes it skip plot in the field and it is very hard to make the script click on every plot. it all depend on the initial home plot setting. so where is the best place to click the home plot/starting plot.

do set the mouse at the far left corner of the plot the bottom corner center? that is the only problem i have right now with the script. once i get a perfect home cordinate everything is smooth with the ppw setting.

Sorry, I really should change the training help to make this clear. Actually, it's easier to see when you perform step 2 on grass but the general rule of thumb I use is if I'm setting home over a plot that cannot be plowed, I set it in such a way that the red outline of the plow area matches the outline of the plot I would be replacing.

However, this, as you know, doesn't work for Fallow / Withered plots which are generally clickable anywhere. Since the plow area on grass is always set from the southmost corner, that's what you need to use.

Again, set home to the Southmost corner (of the Westmost square) of your target area.

I'll try to make that clearer in a future version of the help.

Posted

Sorry, I really should change the training help to make this clear. Actually, it's easier to see when you perform step 2 on grass but the general rule of thumb I use is if I'm setting home over a plot that cannot be plowed, I set it in such a way that the red outline of the plow area matches the outline of the plot I would be replacing.

However, this, as you know, doesn't work for Fallow / Withered plots which are generally clickable anywhere. Since the plow area on grass is always set from the southmost corner, that's what you need to use.

Again, set home to the Southmost corner (of the Westmost square) of your target area.

I'll try to make that clearer in a future version of the help.

COOl tip now jus one more tweak and ur script is perfect.. it jus have to be able to detect the lvl up pop up. ty for the awsome script
Posted (edited)

Hi guys !

There is a way of not losing money by planting and deleting seeds, when seeds are withered ?

I want to win XP, but I ran out of money !

There isn't a way. Might also want to format your question as a question and not as a statement and then just slap a '?' at the end. It just doesn't work? <--- See what I mean?

Edited by Skrip

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Posted

There isn't a way. Might also want to format your question as a question and not as a statement and then just slap a '?' at the end. It just doesn't work? <--- See what I mean?

Sorry ... of course, it's a question ...

sorry again :-(

Posted (edited)

Anyone else getting the "saving your farm" interrupting window? I get it every time I run the script...

Edited by Maxson
Posted

Anyone else getting the "saving your farm" interrupting window? I get it every time I run the script...

Yes, a lot of people got it. Although this is off topic, in the FarmVille formums, I pointed out that it typically only happened at peak hours (like evenings) and we all believe it's a replacement for the annoying game out of sync messages.

Posted

NOTE: skip to the underlined portion to get to the actual error, minus how I got there

Hello AutoIt peoples!!!

I just started using TimeHorse's script today and i am having a weird error. Let me outline exactly what I am doing. I compiled the latest code i could find into a .exe and ran it. Next, i selected in the options a 1x1 grid, 10 repetitions, the "plow plant delete" method and mouse speed of 10. Next I hit hotkey "HOME" in order to start training. After this I set farmville to fullscreen and zoomed all the way out and hit home while mousing over the correct things in the correct order (i have tried this many times). After training I hit "SHIFT+INSERT" to begin repetition farming. The automator plows, then opens market window, but it gets stuck when trying to buy the seed. For specificity's sake I am trying to buy soybeans. Some background info to help anyone trying to help me, I have a 19" widescreen (1680x1050) monitor. Also, I am very well versed in Java but extremely bad at coding in AutoIt (started today :) )

Thanks to TimeHorse for providing great, open-source code and thanks to anyone willing to help me out!!!

Posted

Could someone explain to me how I could go about doing the Soybeans plow/plant/delete thing while using TimeHorse's script?

Well, first, download AutoIt, if you havent already and install it.

Also, nice to download Fiddler2 as you can find earlier in this thread some instructions about customizing gameSettings.xml which I won't re-iterate here though may make a short how-to later.

Now, download the latest public version of my script. Then edit that script where it says:

Global $zoom = 0.33

Set it to:

Global $zoom = 0.5

(If you figured out the Fiddler step, instead of changing the zoom value I personally recommend editing the defaultZoom value in the XML to be 0.33 rather than 2.00)

Once you've made the change, right-click the script and select Run script from the menu.

You're now ready to start using the clicker.

Open Farmville on Facebook. We're now going to train the clicker to do its thing.

Once FarmVille is finished loading, press the {HOME} button. This activates the trainer.

Move your mouse over the multi tool (white arrow control) in the game and press {HOME} again. Your first position has been learned.

Next, this is the tricky part, move your mouse to the southmost corner of the leftmost square in your click grid. See my previous post about how best to align this. Once aligned, click {HOME} again. You're half-way done with training now.

You'll notice that the bot has now opened the seed selection dialog. Since you want to PPD (Plow, Plant, Delete) Soybeans, place your mouse over the buy button for that crop (the far right crop as of now) and again press {HOME}. Now, I do think this bug was reported before and if you see it here is a temporary solution. You may see the mouse jumping back and forth between the buy button and the lower-right hand corner of the screen (where the market button usually is). If this happens, just move the mouse away from the buy button and it should buy the crop and attempt to plant it in your leftmost selected square. Now the final training step...

The tool will now attempt to delete your crop. The "Accept" dialog appears and what you need to do is place the mouse over the "Accept" button and press {HOME} one final time. That will end the training session and the dialog will indicate all the points it saved. The delete dialog will still be on your screen; the bot leaves it up to you to decide whether to actually delete your crop or cancel. Please make your decision and continue to the next step.

Now we need to configure the dialog for your needs. Most important are the size settings. Decide how many rows and how many columns you want to act upon. The click area is always a rectangle and there is not way to have it skip any points at the moment. Also, see the combo box next to the help button. Make sure that reads "North-East" if you have obstructions in your grid area and are planning to reap or delete; otherwise you should be able to choose any of the 3 click patterns, though Eastward looks to be buggy for non-square areas (rows and columns reversed).

The click speed is more for show than anything else and is more a legacy feature so you needn't concern yourself with it. Personally, I usually set the speed to 3.

I'm guessing, though, that the repeater is of the keenest interest to you. The repeater is pretty simple to use: Select the repeat pattern. You said you want to PPD, so select "Plow, Plant, Delete" from the combo box. Then enter a the number of times you want him to repeat for the count.

Now all we need to do is activate the bot, sit back and hope you don't get any of those "Saving Game Settings" messages. So, here are some useful commands:

{INSERT} Plow (on a grass surface)

{SHIFT}+{END} Replow (a previously plowed area that is either Withered or Fallow)

{END} Plant the selected Seed (in your case, Soybeans)

{PGDN} Reap (Harvest your crop)

{PGUP} Click the grid with the currently selected tool (useful if you need to plant a seed not on the first page)

{DELETE} Delete all crop squares in the grid

{SHIFT}+{INSERT} Begin repeat sequence (I'm guessing this will be your favourite command!)

And finally, you can hit {PAUSE} to pause the clicker at any time or {ESC} to stop the current action and move onto the next. {PAUSE} is handy if you see the saving message to allow you to pause the clicker, let the message pass, resume, pause again to clean up what was missed due to the dialog and continue again to finish off. {ESC} is very useful at the end of plowing and planting because there are inbuilt timeouts at the end of each of those actions which allow the game to perform the requested action since the clicker is often faster then the game. Hitting {ESC} while it's ending a run will automatically skip you to the next step. It's also useful during training, specifically retraining, where you may want to keep some click points but change others. Hit {ESC} instead of {HOME} to skip a step in the training and use the old value.

Finally, I'm not sure if the current version supports this -- I think it does, but if not later versions will: {SHIFT}+{ESC} will cause the tool to stop whatever it's doing and return to idle. It even kills a repeat sequence. It's especially useful if you see the tool's about to delete the wrong thing!

Posted

NOTE: skip to the underlined portion to get to the actual error, minus how I got there

Hello AutoIt peoples!!!

I just started using TimeHorse's script today and i am having a weird error. Let me outline exactly what I am doing. I compiled the latest code i could find into a .exe and ran it. Next, i selected in the options a 1x1 grid, 10 repetitions, the "plow plant delete" method and mouse speed of 10. Next I hit hotkey "HOME" in order to start training. After this I set farmville to fullscreen and zoomed all the way out and hit home while mousing over the correct things in the correct order (i have tried this many times). After training I hit "SHIFT+INSERT" to begin repetition farming. The automator plows, then opens market window, but it gets stuck when trying to buy the seed. For specificity's sake I am trying to buy soybeans. Some background info to help anyone trying to help me, I have a 19" widescreen (1680x1050) monitor. Also, I am very well versed in Java but extremely bad at coding in AutoIt (started today :) )

Thanks to TimeHorse for providing great, open-source code and thanks to anyone willing to help me out!!!

Hi, Titus!

You're not the first one to report an error similar to this one and I actually just described a temporary fix but I need to look into a more permanent one.

Well, to be sure, there are a number of things that could cause it to fail to buy seeds and the main issue is PixelChecksum but I won't get into that but I will say that the problem I have observed has to do with the mouse's starting position. You see, when the tool tries to click something, it always remembers where it was before it tried to click and returns to that position afterward. If that "original position" was near the buy button in the first place, then it gets confused. It may be that it's going to the buy button, and then forgetting it's already at the buy button. And then it repeats. Moving the mouse does seem to move it out of this conundrum. I think the issue is actually due to the buy button changing it's shape when the mouse is over it; this change may cause it to not detect the button even though we humans can see it clearly. Believe me, computer vision is my worst enemy and I'd have had arbitrary seed selection done by now if it weren't so hard to get a reliable PixelChecksum. Unfortunately, this bug can cause the clicker to time out, nocking you out of the repeater!

Anyway, the long and short of it is, jiggle the mouse. That should set it straight. I wish the fix wasn't so labour intensive, but until I can track down the specifics, that's the best I can offer. Sorry.

Posted (edited)

Hello Again! the issue actually is that as soon as my cursor clicks on the market button for the first time, the window opens up and the cursor just stops. Perhaps I must wait for >2 mins? lol I'm gonna try that now. But the cursor, after plowing, just stops there

EDIT:: very interesting... I found a work around (sort of) If I dont use "SHIFT+INSERT" for repeater and I just press INSERT followed by END, the plots will plow, and the market window will open wwith cursor staying still as usual. however if, at this point, I click on soybeans and then press "SHIFT+ESC" the FVclicker will plant the seeds. I can follow this with hitting DEL for delete, which works perfectly fine

Edited by Titus
Posted (edited)

Oh, now I see! Did not know that it was SHIFT+Insert, thought it was just insert from the help dialog. I kept thinking to myself "man, why does it only plow and do nothing else?". Haha.

Now that I see this, this script will be much more useful, sweet.

Edit: Now I must ask, how much room do you guys suggest using for the Soybean XP method? I was thinking maybe just a small 2x2 plot, seeing as money is really of no problem to me (over 680k coins). Don't want to take over too much of a space, but 2x2 seems like it will go a little faster than my 1x1 that I had been doing with my own personal script (which was nothing compared with this script, just used x,y values and had to keep tinkering with the wait times in between clicks, got annoying because it wouldn't load the seed window once and it screwed it up pretty bad because of it).

Edited by AlextheGreat
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...