Skip to content
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.

eigenein/epicwar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epic War Bot Build Status

Features

  • 👷 Upgrades buildings.
  • 👷 Cleans up extended areas.
  • 👷 Upgrades units.
  • 🍔 Collects resources from production buildings.
  • 🍬 Sends mana to alliance members.
  • 🍬 Collects mana.
  • 🍬 Activates alliance daily gift.
  • 🍬 Collects alliance daily gift.
  • 🆘 Sends help to alliance members.
  • 🆘 Collects help from alliance members.
  • 👦 Simulates user behavior by making random delays between requests.
  • 🏆 Participates in known bastion battles.
  • 🏆 Participates in PvP battles and uses heroes.
  • 🎲 Spins event roulette.
  • ✔️ Farms Random War tasks.
  • 📨 Sends Telegram notification.

Scripts

File
bot.py Runs the bot once
tools/command-log.py Used to investigate a battle command log
tools/generate-library.py Used to generate static library content

Configuring

Environment variables

Variable
EPIC_WAR_TELEGRAM_TOKEN Telegram bot token
EPIC_WAR_TELEGRAM_CHAT_ID Telegram chat ID

Updating library

Use "Network" tab in a browser to look for a link like https://epicwar.cdnvideo.ru/vk/v0294/lib/lib.json.gz. Then pass it to tools/generate-library.py.

Adding new resource, building and unit types

  • Update corresponding class in epicbot.enums.
  • Remember to update Sets fields.

Releases

No releases published

Packages

No packages published

Languages