alwinchan / cocloolector

CoC Loot Collector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clash of Clans Loot Collector

How to pronounce cocloolector?

What it does?

This program will launch the game based on auto discover connected Android devices or emulators/simulators (such as Genymotion) that have com.supercell.clashofclans installed, and start collecting loot into storage periodically with random interval.

Notes: Tested running one instance of cocloolector that discovered and collecting loots from 2 connected Android phone and 4 genymotion simulator simulteneously on Mac with Intel Core i7 2Ghz, 8GB ram.

Basic Installation

You can install cocloolector via the command-line with either curl or wget.

via curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/alwinchan/cocloolector/master/install.sh)"

via wget

sh -c "$(wget https://raw.githubusercontent.com/alwinchan/cocloolector/master/install.sh -O -)"

How to start?

cd cocloolector
python autoDiscover.py

How to stop?

killall node

Limitations

It has only been tested on device and simulator with 1280x720 as resolution, running on Mac OS X Yosemite 10.10.5

Roadmap

  • Replay Uploader
  • Auto Upgrade Building, Troops, Spells

Dependencies

brew install python
brew tap homebrew/science
brew install opencv
brew install pip
brew install node
brew install tesseract
nodejs
npm install -g appium
npm install -g wd
python
pip install Pillow
pip install matplotlib
pip install numpy
pip install Appium-Python-Client
pip install pytesseract

License

cocloolector is released under the Apache License 2.0.

About

CoC Loot Collector

License:Apache License 2.0


Languages

Language:Python 86.9%Language:Shell 13.1%