OGame: Resources in Flight

By Vess Last update Feb 15, 2010 — Installed 8,570 times.

don`t remember state

in
Subscribe to don`t remember state 4 posts, 3 voices



ironwit User
FirefoxWindows

привет
то что сверху стало это круто реально :)
но - я его развернул, потом обновил обзор и оно свернулось. Можно ли добавить запоминание положения?

заранее спс

 
Vess Script's Author
FirefoxWindows

In order to make it remember its state (open or closed), I have to store this value somewhere between screen refreshes (i.e., between different invocations of the script). There are basically two ways to do that: by using GM_SetValue (but then the script will stop working under Opera) and a cookie (but then the script will be detectable and, in general, if you have too many OGame site-related cookies, the game will start logging you out with an "invalid session" message). So, I don't like either solution.

However, you can configure how the script starts (i.e., always open or always closed) by modifying the "expanded" variable near the beginning. I've set it to "false", so the script starts closed. If you set it to "true" (no quotes), it will start expanded. Of course, clicking the title ("Resources in flight") will still toggle the state of the script.

 
ironwit User
FirefoxWindows

Thank you for your answer.
but still did not want script to work in one mode (open or closed). Sometimes I just need to the amount of resources in flight, but sometimes I want to watch the result to something planned. and after a successful attack, when updating an overview (key F5), have yet to touch the mouse to expand the data.

P.S.
sorry about my eng.

 
mohace Scriptwright
FirefoxWindows

Hi Vess, your work is very good.
I think that you could add a shortcut keyboard for expand/collapse resources in fligth information (RIF) while you are in fleet movement page. You know very well how to do this!! xD. Also could you add a shortcut to call fleet movement page with RIF information open, from any other page.
I don't know if it is possible that shortcuts script detects RIF script and then add those functions also.
Regards.

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