• Welcome to MX Bikes Official Forum. Please login or sign up.
 
April 21, 2019, 10:20:10 am

News:

MX Bikes beta10c available! :)


Stats - show competitors

Started by dibu, October 03, 2014, 10:50:37 am

Previous topic - Next topic

dibu

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

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.