Ogame Redesign: Resources in Flight

By Vess Last update May 5, 2012 — Installed 121,226 times.

Resources overview

in
Subscribe to Resources overview 3 posts, 3 voices



xnn User
Firefox

When you have time you could put the resources in flight on the event list wich is shown in the overview.

:)

 
Vess Script's Author
FirefoxWindows

No. I don't know how to do it. I mean, I know of no reliable way of determining that the user has just opened the event list. In the previous version of the game, it was on a separate page (well, iframe). But here the code of the page is simply rewritten when the event list was closed but then opened by the user. As far as I know, there is no reliable way of detecting page changes that would work in all browsers. For instance, IE does not support properly the DOMNodeInserted event. And I don't want to set up a function checking the page every half a second via setTimeout(), because this is slow down additionally the already rather slow game.

 
Steven.c User
Chrome

I know it has been a while since you looked into this, but now ogame has the option of displaying the events on all pages in the ogame display options. Would it be possible to have this implemented now? For instance, instead of adding a setInterval() every half second you could possibly add a setTimeout() for a second after the page has loaded to check if the events have loaded, and if so the resources in flight could be calculated and displayed.

Thanks for a really handy script!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel