Code Monkey home page Code Monkey logo

foei's Introduction

FoEI (Forge of Empires Inspector)

Build Status Coverage Status

Browser extension that helps you playing Forge of Empires, saving your time and (thereby) giving you an advantage over other players.

FoEI plunder screen FoEI rewards screen FoEI great buildings screen

Safe

I believe FoEI is safe enough to be (virtually) undetectable by the game servers. Mostly, because FoEI does not send anything to the game servers, it only listens to the incoming traffic. Thus making it (nearly) impossible to detect!

Only two possibilities I see how it can detected are:

  • Game code gets changed to detect the 'listening code' that FoEI inserts into the native Javascript (it is not messing with the game code itself!). This would be possible but pretty hard, and probably not so robust to implement into the game while supporting different browsers and platforms.
  • Game tracks player behaviour and notices changes (behaviour becomes more efficient that before). This could be mitigated by the player by not changing behaviour too fast but more gradually over time.

Nonetheless, I take no responsibility for lost accounts or any other loss that might or might not be caused by this extension: USE AT OWN RISK

Beta

FoEI has been tested by a select few players for a couple of months running on different servers, showing it works and it is great aid. Now it is time to present it to the public and polish it some more:

  • I made some quick & dirty UI... I like it good enough
  • Lacking much experience I also made a quick & dirty Javascript implementation Meh... it works, who casres ๐Ÿ˜›
  • Fix MacOS support, for some reason intercepting the incoming traffic does not seem to work..?? (can people confirm/deny in issue #7?)
  • more...

Installation

As long as FoEI is in Beta, I won't put it in the Chrome webstore, you either need to download the extension file or build it yourself.

Installation instructions can be found on the FoEI website.

Contributing

As stated the UI and implementation itself can use some polishing. MacOS support should be figured out and fixed (#7). Also there are lots of other features that can be added to the extension using the readily available game information.

So feel free to send bug reports, pull requests and questions. But be aware to use an anonymous account or at least one that cannot be traced to your game account if you are afraid of getting banned.

I do this because of my personal interest/hobby, so my goal is not to make a profit out of this, but if you really, really enjoy FoEI, feel free to send me a small token of appreciation (which I will convert to game diamonds ๐Ÿ˜‰ ):

Donate with PayPal

(Note that I cannot accept game diamonds, strategy points or any other donations in-game, as I wish to be anonymous and not get banned.)

On this notice, please don't bother players with a same/similar (account)name to ask questions or support, it is not me ๐Ÿ˜›.

foei's People

Contributors

dependabot[bot] avatar veger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

foei's Issues

Guild Tab

My wife and i are currently running a guild with 80 Members. I was wondering if you ever considered adding a guild tab to FoEi for details regarding guild members.

We are constantly updating spreadsheets to help keep track of which players are in what era. How many HoFs they have, and what our GE cost will be to unlock all levels of of GE.

Keep track of people you sniped

Copied from #10 :

A list of members you've previously sniped and how much profit you take in total from that person and from that day/week?

Should this be a public project?

Seems plunder info has been removed from JSON (or my tool is bugged), also GB last donation was removed from JSON data of FOE ... I believe this project is the reason behind it, you should consider making this a more closed project and not so public before Inno creates a way to detect things like this, as I am pretty sure Inno is aware of this project, and they are removing any data that can be used to gain advantage ... we had something similar, but we kept it to a closed circle of people and top secret, then we found this, and Inno stopped dropping features

Images of goods in function processRawGoodsPlunderData

function processRawGoodsPlunderData (raw) {
  let list = []
  for (let goodName in raw) {
    if (raw.hasOwnProperty(goodName)) {
      list.push(raw[goodName] + ' <img src="https://foeen.innogamescdn.com/assets/shared/icons/'+goodName+'.png">')
    }
  }
  return list.join(', ')
}

code not checking for the existence of armyDetails.battles

I always see this message on chrome extension Error details for FoEI 0.6.0:

Error handling response: TypeError: Cannot read property 'details' of undefined

on this line of code:

let details = armyDetails.battles.details.pop()

And here is the presented stack trace:

background/battle_field.js:171 (anonymous function)
background/storage.js:133 (anonymous function)

MacOS support

I have heard that MacOS is not working properly. I don't have it available to test (and fix), so I need some help... ๐Ÿ˜‰

Can people confirm/deny with some additional details like OS version and browser (version)?

Not storing enemy army/fight info

I can see enemy units when I attack, but when I revisit there is no battle info/previous encounters. I could see those in previous releases, I believe it is the case since foe updated to latest version.

Extension in chrome gets disabled

Hi, i tried to install the extension, added it in developer mode, but chrome immediately disabled it saying its not an official extension from the store and i cant enable it developer mode or not. Any solution?

Mac

Didnโ€™t see to work on Mac

Grab building and unit info from game

So it is not needed to create a list of building and unit ids anymore and they can be localized in the games language (easier to recognize the buildings)

Version 1.158 does not have `last_spend` available

Even after updating to 0.4.0 it will show you the message "A new version of FoEI is available: 0.4.0"

All great buildings now show " Invalid date " , but this was also broken in the previous release after the update of this morning ( 1.158 ).

As improvement:
A list of members you've previously sniped and how much profit you take in total from that person and from that day/week?

Make attack/defense boost more clean

Already mentioned on #2 (comment) attack/defense boost uses some format I used when manually writing defense information (a shorthand to save me some time).

In FoEI this doesn't make sense, and needs fixing

QUOTA_BYTES_PER_ITEM

When read a lot of GE of a player in console tab flash this message:
QUOTA_BYTES_PER_ITEM quota exceeded
(anonymous) @ storage.js:123
I change syncSet and syncGet by localSet and localGet to fix it.

Any bans reported yet?

Hi, this definitely looks promising, however since I have already got multiple bans on my account for trying out various other helper solutions, am a little hesitant on using it.

Want to understand if you have got any reports of people getting banned because of this yet? It would be also good to know if you are personally using it on your main account successfully?

Show owned goods when plundering

It would be nice to show the amount of goods the player already owns when plundering.
This helps choosing which building to plunder.

Hi there,

Are you available? Need some help regarding foe and wanted to connect with you

Fix/improve Boost information

Boost information only works if the boost is 'prefect' no-one puts sp in there except the boosters and the owner...

This needs to be fixed so it represents the actual situation with all sp put in the GB

Show/hide Arc profits in GB tab

Would it be possible to show a list of a players productions and when they will be finished, for plundering purposes, If there is nothing to plunder currently, we would know when to return and collect.

Also Under Great Buildings tab, in boost information it shows that a specific reward spot will give 11 (blueprints icon) + 10 (gold pig icon). would it be possible to combine these two items so that it would display as 21 (blueprint icon) instead of two separate items.

Thank you for working on this tool, its been great.

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.