Bug in galaxy
Bug in galaxy
There is a bug in galaxy - the rank of players and alliances is not displayed when there is a destroyed planet in the system. I think the bug concerns every language version because I play english (ogame.org) and my native (ogame.pl).
Re: Bug in galaxy
Well, I've found the problem. (Thanks for the source code.)
If you want to solve it quickly, search in OperaGame_Core this line in operaGame_Galaxy_Rank() function :And replace it by this one :
Otherwise, it will be fixed in the next release - but I don't know when I'll release it.
Thanks for the bug report.![Clin d’œil ;)](./images/smilies/icon_e_wink.gif)
If you want to solve it quickly, search in OperaGame_Core this line in operaGame_Galaxy_Rank() function :
Code: Select all
if ((row.childNodes.length < 7) || (row.childNodes[5].childNodes.length < 2) || (row.childNodes[5].name == 'Player')) continue;
Code: Select all
if ((row.childNodes.length < 7) || (row.childNodes[5].childNodes.length < 2) || (row.childNodes[5].getElementsByTagName('a').length < 1) || (row.childNodes[5].name == 'Player')) continue;
Thanks for the bug report.
![Clin d’œil ;)](./images/smilies/icon_e_wink.gif)
![Image](http://perso.cedricpc.net/images/userbar.png)
Software is like sex, it's better when it's free. (Linus Torvald)
Re: Bug in galaxy
Thanks. I've found it and corrected - now everything is fine ![Sourit :-)](./images/smilies/icon_e_smile.gif)
![Sourit :-)](./images/smilies/icon_e_smile.gif)
Re: Bug in galaxy
Cool. ![Sourit :)](./images/smilies/icon_e_smile.gif)
Problem solved, I close this topic.
![Sourit :)](./images/smilies/icon_e_smile.gif)
Problem solved, I close this topic.
![Image](http://perso.cedricpc.net/images/userbar.png)
Software is like sex, it's better when it's free. (Linus Torvald)