Author Topic: Stats - show competitors  (Read 938 times)

dibu

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Stats - show competitors
« on: October 03, 2014, 08:50:37 AM »
There seems to be a small problem with the show competitors feature at the stats page.
If a dedicated server crashes and you restart it within 5 minutes the formerly logged in users are shown connected for ever at the competitors link, even if the server is empty now.
I saw this problem because I'm running watchdog scripts which automaticly restart a crashed dedicated server within a few seconds.

To simulate the problem:
-start a dedicated server
-connect to the server with your mx-bikes client
-kill the (dedicated) mxbikes process with task manager
-restart the dedicated server within 5 minutes (before it disappers from the server list in world/website)
-at the stats page the server shows empty again but your client name is still listed as connected at the competitors link

Workaround after server crash:
-do not restart the dedicated server until it has disappeared from the server list in world/website
-restart the dedicated server, shut it down with the Quit button and restart it again

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 948
    • View Profile
Re: Stats - show competitors
« Reply #1 on: October 03, 2014, 08:52:20 AM »
There seems to be a small problem with the show competitors feature at the stats page.
If a dedicated server crashes and you restart it within 5 minutes the formerly logged in users are shown connected for ever at the competitors link, even if the server is empty now.
I saw this problem because I'm running watchdog scripts which automaticly restart a crashed dedicated server within a few seconds.

To simulate the problem:
-start a dedicated server
-connect to the server with your mx-bikes client
-kill the (dedicated) mxbikes process with task manager
-restart the dedicated server within 5 minutes (before it disappers from the server list in world/website)
-at the stats page the server shows empty again but your client name is still listed as connected at the competitors link

Workaround after server crash:
-do not restart the dedicated server until it has disappeared from the server list in world/website
-restart the dedicated server, shut it down with the Quit button and restart it again

Thank you for the report.