An autoclicker for Plants vs. Zombies survival endless.
WIP! Does not work well yet as I still need to test and tune more
Cob cannon automation for PvZ SE. It is difficult to time cannons perfectly by hand and it is also easy to misclick, hence this autoclicker. Here is what it looks like:
This script is written and tested on Ubuntu 20.04 LTS with X11 windowing system. Currently relies on libxdo so probably will not work on other windowing systems. In addition, it only works with a very specific 8-cannon setup at the moment (read below), though I may expand it in the future.
- Install Origin and Plants vs. Zombies using Wine. You can install it any way you want as long as it works. I used Lutris which has scripts that set up Wine environment automatically.
- Try launching the game, then in settings uncheck "Full screen".
- Set up the 8-cannon formation by following this. Ladders are required to avoid damage from Imp zombies as cannons cannot kill those mid air. Alternatively, I have uploaded my survival endless savefile so feel free to use that too.
- Install libxdo by running
sudo apt install libxdo-dev
. - Build the clicker script and run it:
make && ./pvzclicker
, then select your game window when prompted. - Voila!