eswak / chrome-ogame-ui-extension

A Google Chrome extension that enhances the OGame user interface by adding elements into it.
18 stars 23 forks source link

Not working with OGame Infinity #141

Open Frodonand opened 1 year ago

Frodonand commented 1 year ago

Hey, I am using Ogame Infinity and OGame UI++. The problem is, that UI++ wont get the data right since Ogame Infinity changes the html a bit. This is the error message popping up: Error

I found out, that with OGame Infinity, window.config returns this: with infinity

Without OGame Infinity window.config returns following: without infinity

That's why I assume that the planets are not loaded correctly since the DOM tree changes a bit with OGame Infinity. Ad without the planets, nothing seems to work.

Sadly I'm not into js too much but maybe this is an easy fix. I don't know.

Reinstalling OGame Infinity fixes the problem at first because the data is in the cache but when you colonize a new planet it doesn't work with the new planet anymore. So for every new planet you have to uninstall OGame Infinity, load the DOM Tree once so everything is cached and then you can reinstall Ogame Infinity.