Giter VIP home page Giter VIP logo

og-bot's Introduction

#Ogame-bot

This bot is intended to provide automation for simple tasks in Ogame. At this point the bot should be able to work in all servers. At the beginning the bot could only build defenses, now it can do a variety of tasks

#Usage:

1 - Install the requirements:
pip install -r requirements.txt

2 - Modify the user-sample.cfg file and rename it to user.cfg

3 - The program also accepts two arguments. the first will override the DefaultMode and the second will override DefaultOriginPlanet

The currently supported modes are:

  • overview - logs overview data
  • explore - send expeditions and attack nearby inactive players
  • attack_inactive_planets - attack nearby inactive players
  • auto_build_defenses - build defenses
  • auto_build_defenses_to_planet - build defenses to planet x(must be one of your planets)
  • transport_resources_to_planet - transport resources from all of your planets to planet x(must be one of your planets)
  • transport_resources_to_weaker_planet - transport resources from all of your planets to the planet that has less buldings
  • auto_build_structure_to_weaker_planet - Build structure on the weaker planet
  • auto_build_structures - Build structures on planets / moons, auto repair & collect ships, auto-buy new day item,
  • auto_research - Research on your homeplanet
  • check_hostile_activity : Check for hostile activities & attempt fleet escapes with most resources (slow hostile spy missions are considered as attacks too)

e.g.:

python main.py -m explore - will run the bot on the explorer mode (send expeditions and attack inactive targets)

python main.py -m transport_resources_to_planet planet_name - will transport all resources to the planet_name planet (must be one of your planets)

4 - Have a nice day while the bot takes care of the boring parts =]

#Features:

  • Spend Resources on defenses
  • Transport resources from all of your planets into one of your planets
  • Auto spy inactive players nearby
  • Auto attack inactive players nearby
  • Send Expeditons
  • Overview player info
  • Build structures
  • Research Technologies

#Update

My ogame account has been banned almost 1 month ago due to using a bot. I had been using the bot for more than a year. It was configured to attack inactive planets 6~8 times a day so I was basically asking for someone to report me. I'll likely take a break for now, I don't have the time and motivation required to continue working on the bot. Maybe in the future I will resume the development and work to make the bot smarter, less detectable and support for python 3.

For the players that have used or plan on using the bot: I still don't think that the ogame team has any reliable tool to detect the use of bots. I think they have to rely on someone manually examining the logs. There will always be the risk of other players reporting you, be careful.

#Credits:

Many thanks to Rafał Furmański(http://rafal-furmanski.com/) for letting me use some snippets of his code (https://github.com/r4fek/ogame-bot).
Rafał Furmański's work was crucial for creating the functions to build defenses, send fleets and fetch galaxy's data

og-bot's People

Contributors

dr1s avatar lapinou42 avatar winiciuscota avatar yosh778 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

thehardway15

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.