Showing posts with label bot. Show all posts
Showing posts with label bot. Show all posts

Sunday, 6 February 2011

Farmville autoclick for Linux script

And yes, I finally got caught by Farm Ville game from Zynga. It is a very addictive game, no wonder there are millions of player.

Now as a good fan of automation scripts and a Linux operating system user, I have searched around for an existing program to cheat with Farmville to automatically click all the fields and plant or harvest all that huge number of fields without buying fuel from the game.
There are many bots and programs around that can automate these actions, but nothing for Linux.

So I decided to write my own and after a day of hacking around, I now have a working prototype of the bot. It is very work in progress but it is actually useful. You might want to try it and send some feedback or correction or improvement, that would be really appreciated.

I plan to release updates to this tool soon as I already have ideas on how to improve the program but not enough free time to do it right now.

Now to the technical part. This program is a Python script and to use it you have to install the python-xlib and python-gtk modules. If you are using a Debian/Ubuntu distribution, this command will do it for you:
sudo apt-get install python-xlib python-gtk2
You can download the script from this link:

To use it, login to Facebook and point your browser to the Farmville game page. Be sure there are no open dialogs in the game window (like offers, gift from friends, etc..) and select the tool you want to automate (plow or plant, for example). Keep this browser window open and open a new terminal window, change to the directory where you downloaded the bot and execute this command:
sleep 5; python FarmVille-autoclicker.py
Immediately after you run the command, switch to the Farmville browser window and wait. After the five second timeout, the mouse cursor will turn into a cross and will allow you to select a rectangle from the Farmville game window. Click on the Farmville game, keep the button pressed, drag the cursor to define the area you want clicked and release the mouse button when you're done. The autoclicker will click all the selected area for you.

This script is still in its early stages, so you might have to try more than one time to have it working.

Be sure to subscribe to this blog if you want to automatically receive updates when new versions are released. To do so, use the Follow link at the top right part of the blog page.

Feedback, bug fixes, suggestions, whatever are really appreciated.

Mandatory warning: autoclicking is against Farm Ville terms of service and using this cheat might have you banned from the game (although I think it should be pretty difficult to discover). Use at your risk.

This tool might also work with other operating systems such as Windows and Mac Os X as I used standard python modules, but I don't have them at hand and could not test it.

Have fun!!

Friday, 28 January 2011

Fish Wrangler auto fish

Things have changed lately for Fish Wrangler game. Now you have variable fishing interval, depending on what you fish and the bonus you get. Making a bot that is able to read the page and adjust the autofishing timeout accordingly is pretty difficult.

Luckily, there is a very simple but effective trick, that allows you to leave your pc alone for longer periods of time while still fishing for you. You will have to get back to it every now and then to check for the treasure chest (the game captha protection), though. But this is acceptable, and let you enjoy the game while not wasting to much of your time. Especially if you play while working, this could definitely help a lot.

This simple trick is to install an extension that allows your browser to automatically reload the current page at given time interval, such those described in this previous post on CastleAge and Goblin Emporium :
  • Chrome Refresh for Chrome (a new refresh icon will appear on the right of the address bar)
  • ReloadEvery for Firefox. Restart Firefox after installation (this extension adds a menu that actives when you right-click somewhere on the page)

Obviously, if your browser already has an autoreload capability, you can use that one.

Then click on this FishWrangler Game link to go to FishWrangler facebook game. This should have activated the fish action for you and should show the countdown to the next trip. If it didn't, just do whatever the page ask you to (the treasure box question, for example) and then try clicking again on the link.

Now, just set up the auto reload for that page with an interval of one minute and you will cover all the possible time intervals of the game. If the page is reloaded and the time interval has not ended yet, nothing bad will happen. If the time interval is finished, reloading will have you fish again.

Very simple and very effective!!

As usual, I have to warn you that auto fishing, bots and strategies like this one might be considered as cheating from the game developers that could ban you if they catch you using them. You have been warned.

Have fun!

Sunday, 31 October 2010

GhostTrappers autohunt bot fixed (again)

Hello everybody again!

I finally managed to get some free time in this long Halloween weekend to look at the Ghost Trappers auto hunt bookmarklet bot. The old bookmarklet code was broken by the change the GhostTrappers guys made that involved using an iframe to speed up the application (and I think for them is a very good idea).
I have already managed to fix the iMacro Autohunt by using the application directly from their website, effectively bypassing the iframe. Fixing the javascript bookmarklet has been a little trickier as now I have to redirect the initial page to the Ghost Trappers website or else it won't have enough permissions to reach the hunt link in the game.

Here is the new bookmarklet code:

Ghost Trappers Autohunt Bookmarklet


Instructions to use it are the same: bookmark the link, click on the bookmark to get redirected to the app site, click on the bookmark again to have the bookmarklet start, choose your cooldown time and click start; a new tab will open and do the auto hunt for you. You have to keep both the tabs open. I know that this is a bit annoying but there aren't other ways to make it work. Best way of using it is opening a new browser window, have both tabs open there and reduce this browser window to icon so that you can use your browser without any troubles.

Have fun!

Saturday, 9 October 2010

Fixed iMacro autohunt bot for Ghost Trappers

UPDATE: Some people reported that this iMacro is now broken. The one made for Chrome will work without problems with Firefox too. You can find it here: Fixed iChrome for Firefox and Chrome


Hello.

As many people have told me in the past couple of days, the Ghost Trappers guy changed their game in a way that broke the autohunt bots, both the iMacro and the bookmarklet version.
As there are people urging me to release a fixed version (thanks! It's good to know that people actually use the tools you make!), I am releasing an early fixed version, with very limited testing, so that you will have something to use with Ghost Trappers. More will come as I manage to put more time on it.
The fastest fix I was able to do is for iMacros for Firefox. I used iMacro version 7.0.0 that seems to work quite well with the iframe the Ghost Trappers guys introduced in the game. You can find the iMacro extension here.

To use the fixed iMacro autohunt,activate the iMacros extension and record a new dummy macro by clicking the Record button and then clicking anywhere on the page.
Then stop the recording. This iMacro won't work. You need to change the code to have it working. Go to the macro list and click Edit Macro. Keep the first line (that should start with the VERSION command) and delete all the other lines. then insert these lines after the VERSION one:
URL GOTO=http://apps.facebook.com/ghost-trappers/
FRAME F=1
TAG POS=1 TYPE=IMG ATTR=SRC:http://www.ghost-trappers.com/fb/res/lets_hunt_on.jpg
WAIT SECONDS=900
This macro will autohunt every 900 seconds (that is 15 minutes). If you have a different cooldown time, just insert the appropriate number of seconds in place of 900.

I don't know if this macro will work on Google Chrome too, but I fear not, because the Chrome extension is a much lower version than the Firefox one. However I'll do more tests soon and hopefully I will be able to release a more compatible bookmarklet version too.

Have fun, and please report if it works for you or not, thanks!