Other Ogame Resource Ticker

By Oliver Jensen Last update Jul 20, 2009 — Installed 858 times.

Trying to implement a small improvement

in
Subscribe to Trying to implement a small improvement 2 posts, 1 voice



Vess Scriptwright
OperaWindows

Any reason why you changed the moon detection logic? :)

Anyway, what I wanted to ask is this. I'm trying to implement a small imrpovement - add a line at the end of the main table in Overview, that displays the daily resource production (as 3 numbers - Metal+Crystal+Deuterium) of the whole empire. I know how to add a line to the table. I know that the hourly production of each planet is stored in cookies by this script. But I'm having trouble figuring out how to parse the cookies and extract this information. The script does it for the current planet - could you suggest how to do it for all of them?

 
Vess Scriptwright
OperaWindows

Never mind, solved it. Ended up writing my own function to read a cookie by name, though - your logic was confusing me. ;)

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