MX Bikes Official Forum

General Category => Bug Reports => Topic started by: dibu on October 03, 2014, 10:50:37 AM

Title: Stats - show competitors
Post by: dibu on October 03, 2014, 10: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
Title: Re: Stats - show competitors
Post by: PiBoSo on October 03, 2014, 10:52:20 AM
Quote from: dibu on October 03, 2014, 10: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

Thank you for the report.