Code Monkey home page Code Monkey logo

ogame's Introduction

Ogame

A script for Ogame Mainly "Miner" (at least for now)

Installation

It requires Chrome & Tamper Monkey Firefox was tested but the function to use the clipboard wasn't working...

Then, just add the script on Tamper Monkey page.

For the 1st time, you should refresh at least production & resources.

Functions

  • Cleaner It removes elements from the webpage, including the Ogame advertisement (and offer) and officer tag It can be removed by removing the line 70 (clear_screen() on init_page)

  • Compiler 4 buttons are added to compile data about the Empire... I use an Excel file to do more advanced computation for now... For all planets:

  • Resources available & total
  • Production & total (hourly)
  • Fleet
  • Defenses

It navigates through all webpages, then add data to the clipboard.

  • Calculator
  • For defenses/shipyard, it computes the number of elements that can be built with available resources on the planet

  • For Building/Researches, it computes the time before it's possible to run based on available resources and production of all planets

To come:

  • For defenses/Shipyard, it computes how many elements can be built with ALL available resources
  • For fleet, it computes how many transporters are required to move all resources
  • Alert For now, nothing... It just detect that an attack is coming for you. To come: likely a sound

  • Refresh Auto refresh is disabled for now. You can activate it by remove "//" on main function

//setTimeout(reload, rand);

How It Works?

The scripts uses the datastorage of the Browser. It means no data is sent to anyone AND if you change your browser, you won't have the datas like production before using the script again

  • Main function The core function is the 1st one: It init the page (cleans, add buttons, some computation) Check for incoming attacks do the requested action if any reload if requires

  • 1st & 2nd level functionalities in deep

  • utilities some functions used everywhere, for url, numbers, clipboard, ...

  • parsers function that parses webpages Likely ones that need updates in case of Ogame updates

ogame's People

Contributors

jmkebalo avatar

Watchers

Mahmut Hızal avatar  avatar

Forkers

0xe232fe

ogame's Issues

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.