Git Product home page Git Product logo

pokubot's Introduction

This project is not maintained anymore, use it at your own risk

PokuBot

An open source Clash of Clans bot. Read FAQ for most common issues.

Features

  • Auto train troops(all troops)
  • Auto opponent finder matching gold, elixir, dark elixir criterias
  • Auto attack with different attack strategies
  • Attack with Barb King/Archer Queen and use the ability.
  • Or you can just use it to find opponents, be notified when there is a match, and attack manually.
  • Detect empty collectors
  • Disconnect detector. You cannot run game for more than 6 hours at a time, you will be disconnected after that for 5 min, it will reload you again. Or in case something goes wrong and bot dies, you will get disconnected from inactivity, and it will log you back in and start again.
  • Background mode

Requirements

  • Windows OS
  • [BlueStacks] (http://www.bluestacks.com/) (Tutorial here)
  • [Java 8 JRE] (http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)
  • Bot uses down arrow key to zoom up, make sure that key zooms up for you as well.
  • Do not click CTRL key when bot is running, if you make a ctrl and mouse click, you will see BlueStacks is zooming(If not you are lucky, mine does). It will interfere with bot's clicks.
  • Make sure your display&pc never goes to sleep.(power settings)
  • You need to have at least level 4 barracks(it should have boost and boost all options because bot will click train button according to that. It will not boost it for you automatically.)
  • Run the game in English, some users reported errors in other languages.

Instructions

Download the latest version of PokuBot from releases page and run the .jar file.

Make sure you are running it with java 8, not with an older version of Java. Right click to .jar file, Properties -> Open with -> Change -> Browse. Then choose javaw.exe in your jre8 or jdk8 installation path, ex: C:\Program Files\Java\jre1.8.0_25\bin\javaw.exe

BlueStacks must run in 860x720 resolution, it will automatically set that up, but in case it fails, you have to do it manually.

After PokuBot is opened, click start to go through setup, write down your settings and hit save. You can change the values while bot is running too, just don't forget to click save.

All settings are saved under %appdata%/PokuBot/config.properties. In case barracks configuration went wrong and you want to reset it, you can delete this file.

Recommended Settings

  • At least 170k for resources, so you increase the chance of getting a base with full collectors.
  • Auto Attack: Attack 4 Side Parallel 2 Half Wave
  • Detect empty collectors: true
  • Rax 1: Barb
  • Rax 2: Barb
  • Rax 3: Archer
  • Rax 4: Archer

*If one or more of your barracks are upgrading, you need to set remaining ones to "No Unit"

Issues

If there are bugs/suggestions, create an issue and attach the log file.

FAQ

  • Stuck in StateIdle

    Your resolution is not right. If bot fails to automatically change it, you need to manually change values from registry. Google how to change resolution for bluestacks. You need to restart your BlueStacks(from system tray icon) after you change resolution. If it still looks wrong, restart your pc.

  • Not attacking, bot dies after first opponent.

    Change your in-game language to English.

  • Barracks are scrolling to dark barracks/spells instead of next barracks

    Your first barracks was improperly configured. All settings are saved under %appdata%/PokuBot/config.properties. Delete this file and reconfigure.

pokubot's People

Contributors

jarredhawkins avatar norecha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.