OGame Redesign: Keyboard Shortcuts

By Vess Last update Dec 14, 2012 — Installed 288,840 times.

Expand/Contract the fleet info

in
Subscribe to Expand/Contract the fleet info 11 posts, 4 voices



la faucille Scriptwright
FirefoxWindows

P Expand/Contract the fleet info

i have trouble with the last fleet in the list, it's not contractable...
something for the look it's append but no complete contract

in my case its a returm of a debris field

 
mohace Scriptwright
FirefoxWindows

Same here.

 
Vess Script's Author
FirefoxWindows

Can't reproduce this; it expands and contracts just fine here.

 
mohace Scriptwright
FirefoxWindows

Try sending recyclers with resources. I see it when sending fleet savings. Antigame fleet movement settings are "show ships number and resources" enabled.

 
Vess Script's Author
FirefoxWindows

Ah! That's the problem - Antigame with expanded fleet contents.

And the problem is in Antigame - not in my script. If, instead of using my hotkey, you click (with the mouse) on the expand/contract button on the page, you'll see how the information shown by Antigame about a recycling flight "flashes". (It doesn't do so with the other types of flights.)

Clearly, Antigame is doing something fishy there. I don't know what and it's too big and complex for me to debug it; talk to its author. I will too, if I can get hold of him.

 
mohace Scriptwright
FirefoxWindows

I think it is not worth at all. Once you close the fleet info with the mouse, your script works fine. I mean that that fleet also opens and closes with the P key.

 
Vess Script's Author
FirefoxWindows

I'm still curious why it happens. When the "p" key is pressed, my script just sends a mouse click to the "expand/collapse all fleets" button. I know that Antigame sets up an onclick event handler there - but I don't see why "p" from my script and actually clicking that button with the mouse have different effects...

 
Vess Script's Author
FirefoxWindows

This doesn't happen only with Recycling fleets. It happens with any kind of fleet that has enough ships and resources in it, to make Antigame expand its box, in order to contain all the text. The problem occurs because, for some reason, Antigame fails to contract the artificially expanded box - but I can't determine why this happens.

 
mohace Scriptwright
FirefoxWindows

It could be possible add a id number to each flight and just expand it with, P + 1, P + 2 and so on, and maybe for all flights Shisft + P or any other key association?

 
Vess Script's Author
FirefoxWindows

No. You can press only one "real" key, plus a combination of modifiers (Alt, Ctrl, Shift). "P+1" is not a keypress - it's two keypresses and trying to detect that is not worth the trouble. Plus, what if you have more than 10 flights flying? I regularly have 18, for instance. ;-)

 
TheSteelMan User
FirefoxWindows

Fantastic this script... What to said...? U are the best Vess!!! I really apreciate how are u doing!!