Ogame Redesign: Resources in Flight

By Vess Last update Nov 30, 2011 — Installed 100,084 times.

ajax loading

in
Subscribe to ajax loading 4 posts, 3 voices



Black Cat Scriptwright
FirefoxX11

This script works only on the "Fleet movement" page. I couldn't figure out how to get the information about the cargo of the various flights in the EventList window. Probably because it uses this crappy AJAX technology and the information simply isn't there until the mouse is hovered over one of the triangles representing the fleets - in which case the information about that particular fleet is queried from the server. If I'm wrong and there is a way to obtain this information in the script - I'm open to suggestions...

You can load the informations quite easily using jQuery
Have a look to a script I made: http://userscripts.org/scripts/show/55751

It should help ;)

 
Vess Script's Author
FirefoxWindows

Yeah, but doing so would put the script in the "forbidden" category. The rules forbid scripts that increase the traffic with the server by making automated requests to it.

I solved a similar AJAX-related idiocy in a script that processes the Statistics page (which is also being done using AJAX - why, oh, why?!). There I register an event for DOMNodeInserted and wait until the AJAX crap creates the element I'm interested in. However, the Statistics page is always drawn in whole. The contents of the fleets on in the event list is obtained from the server only if the user hovers the mouse over a fleet - and even then, information is obtained only for that particular fleet. :(

 
Black Cat Scriptwright
FirefoxX11

it's not possible to do a legal script =(

in the statistic page the request is automatic
here it requires an action from the user

 
la faucille Scriptwright
FirefoxWindows

have you some suggest to solve this problem of increase traffic (and than = illegal) ?

its not possible to go in the "fleet movement" view to "parse" the info, memorised it and than show it after in few views (like overview) ?
i thing the request is not illegal...

in fact we need to go sometimes in the fleet movement to "register" the total resources and refresh it in the different other view ...
what do you thing about this ?

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