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.
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.
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
Re: Bug in galaxy
Cool.
Problem solved, I close this topic.
Problem solved, I close this topic.
Software is like sex, it's better when it's free. (Linus Torvald)