A bot for the FarmVille game. It works on both X11 (Unix/Linux) and Windows.
It uses the X11 XTEST extension to control the mouse, so you will need to
install python-xlib
.
It uses the AutoIt COM to control the mouse. You will need to install the following:
- Python 2.6 or later for Windows
- Python win32 extensions
- AutoIt
To harvest, plow or plant an area of 7 rows x 10 columns:
./main.py --debug --zoom 1 --delay 0.7 7 10
To collect from the animals or harvest the trees from an area of 3 rows and 8 columns:
./main.py --debug --zoom 1 --delay 0.7 --collect 3 8
A screencast is also available.