Doesn't seen to work as intended
![]() ![]() |
Sorry, my written French sucks, so I'm going to write in English. :) Feel free to respond in either language, though. If I understood the description correctly, the script is supposed to display in real time the estimated amount of resources gathered on all planets. Well, this isn't happening - not in real time, I mean. I visited the Resources page of each planet. The script displays how much resources I have on each planet. However, this number is static. It changes only if I refresh the Overview of a particular planet - and it changes for that planet only. It doesn't seem to compute how the resources have increased on the other planets between two refreshes. Also, it is not clear what the Start/Stop button is for. The "floating window" format, while cute, is actually annoying, because no matter where I move the fully expanded window, it always overlays something important. Perhaps a simpler solution would be better - just a static table at the bottom of the Overview? Or just get rid of the "Total" column - then the window can fit in the unused screen space to the left or to the right of the central table in most views. Also, expand/contract the window in the opposite direction. I mean, as it is now, when contracting the window downwards, you move the upper end down. When contracting its width, you move the left end to the right. It should be the opposite - move the lower end up and the right end to the left, so that the coordinates of the upper left corner remain constant. P.S. OK, I found what the problem is. The strings "Heure du serveur", "Capacité des dépôts" and "Total:" are language-dependent. As they currently are, the script will work as intended only on the French servers. For the English servers, these strings are "Server time", "Storage Capacity" and "Total:". They are something different on the other language severs. The script must determine the language of the server and must pick the right set of strings. Also, J.tR.Lang seems to be designed with multi-language support in mind - but currently only French is used. Even if other languages are added, the program doesn't try to determine the language of the server and to use the right set of strings. |
![]() ![]() |
I was working on it! :) I guess you are the same jess than for my other script showing transported resources ? As I started the script 3 days ago, it is still not fully compatible with all servers.
|
![]() ![]() |
It should work on english server, but I couldn't make it working for bg servers... I don't know why, I might look at it later. |
![]() ![]() |
Yes, I'm the same Vess. :) I hadn't noticed that you're the same author as the one who wrote one of my favorite scripts. :) Speaking of which, I really have to review that one - it seems that you have added many new features and the Bulgarian translation hasn't kept up with them... Unfortunately, I'm on vacation now. I use an old notebook with very little memory and Firefox is practically unusable on it (I need 4-6 minutes just to lift the fleet and resources from a single planet - most of the time is spent waiting for the screen to refresh). I'm playing OGame via Opera - but most GreaseMonkey scripts don't work under Opera. :( That, unfortunately, includes your "transported resources" script, so fixing the Bulgarian part of it will have to wait until I get back from my vacation in September. I'll try this script and if it works under Opera, I'll try to figure out why it doesn't work on the Bulgarian server. The Bulgarian word for "Moon" is "Луна", BTW - but this is unlikely to be the cause of the problem; the other texts are correct. I'll also see if I can arrange a Russian translation. |
![]() ![]() |
I am sorry, but I couldn't make this version work at all. It doesn't do anything under Opera, which is not surprising, although I do have emulation for the GM-specific functions like GM_getValue, GM_setValue and GM_xmlhttpRequest. I made an effort and logged into my accounts with Firefox and your script installed. However, it doesn't do anything there, either - I mean, no window is displayed, neither on the Bulgarian server, nor on the English one. :-( Unfortunately, your rather interesting (object-oriented?) programming style is waaay above my head and I am unable to find the problem. Heck, I'm not even able to follow the logic of your program - like, you know, where it starts and how it proceeds. :-( You'll have to fix it yourself, sorry. I can only report that it doesn't work on the English and Bulgarian servers. P.S. After playing with the script under Opera (don't have the parience to repeat the exercise under the torturingly slow Firefox), it seems that the first line that fails is
in J.tR.start. I mean, and alert() statement before that line shows the alert, but one after it doesn't. |
![]() ![]() |
I am going to take a look at bulgarian server, I didn't check recently, after a lot of improvement (Same thing for my other script).
|
![]() ![]() |
I have fixed few things, then now it is also working on servers using accents in planet names :)
|
![]() ![]() |
I lost track as to which of your comments applies to which particular script - but I definitely cannot make this one do anything useful under Opera - neither on the English, nor on the Bulgarian server. The difference from before is that now the window *is* displayed (on both servers) - but in collapsed state. Any attempt to expand it leads to bizarre results, like the window jumping all over the screen. Any attempt to move it also leads to bizarre results, although different ones - e.g., on the English server I lost the ability to click on any links (e.g., Overview). I give up; I can't use this script anywhere under Opera. I'll give it one more try in September, when I return to a computer on which I can use Firefox without pulling my hair off. As I said, I have a script for Opera which emulates the GM_ functions. It's too big to post here - contact me by e-mail and I'll send it to you. One more thing - you might want to change the title of the script (or the description) to contain "ogame" - so that it is found when one looks for this string using the search function here. ;-) |
![]() ![]() |
You are totally right, I didn't put "ogame" anywhere :p
|


