Author Topic: Incoreect coloring of the alliance names in the Statistics  (Read 2617 times)

Offline bontchev

  • ****
  • Posts: 408
    • View Profile
Noticed this in version 4.9; don't know if it existed in the previous ones.

1) I look at the Statistics page. What is shown is the statistics of the players. Some of these players belong to my alliance, so they are colored in magenta.

2) I switch to the Alliance Stats. Bug: Some of the alliances there are colored in magenta too. They are at the same places in the stats, where the players colored in magenta were.

It seems that you are not re-coloring the table cells when the user switches tabs.

Offline Omar Hawk

  • Administrator
  • ****
  • Posts: 900
    • View Profile
Re: Incoreect coloring of the alliance names in the Statistics
« Reply #1 on: 14 December 2011, 20:02:51 »
Thanks for reporting, I created an entry in the bugtracker:
http://bugs.galaxytool.eu/view.php?id=574

Offline eX0du5

  • Administrator
  • ****
  • Posts: 560
    • View Profile
Re: Incoreect coloring of the alliance names in the Statistics
« Reply #2 on: 14 December 2011, 23:37:44 »
Thanks for reporting.
This has been a copy and paste error for the OGame 3.0 version. If you choosed the old OGame version, it took the correct values to define the status.
I fixed this in my hosting environment and re-uploaded 4.9 to the server with this minor bug fix.
Affected files:
secret/includes/stats.inc.php
secret/javascript/stats.js