FROM THE BLOG

Unconnectable servers no longer displayed in the server browser

Hello all,

The server browser will now no longer list servers which time out upon being joined.  The API will test that a server is connectable before listing it as joinable.  Servers which are not connectable are still listed in the server database, however they are flagged as such and are not sent to the client (the server browser in the client requests only servers which are connectable).  For example:

https://api.kag2d.com/servers/connectable/1/current/1 only lists servers which are active and connectable

https://api.kag2d.com/servers/connectable/0/current/1 only lists servers which are active and not connectable (currently none listed)

The server console currently will not show an error when this happens, however I will work on adding that in an upcoming build

Also while deploying this I cleaned out the server database and minimaps to do some other testing.  Any server owners whose servers are currently missing minimaps in the browser just need to join the server for a minute or restart the server (either one will work).  In general I won’t do this in the future, but I wanted to do it now to test out some new code paths introduced in the API update.

Another thing that will be broken are peoples ‘last played’ – those will not show any recorded action/”last played” until the player is active again.

FliesLikeABrick

Leave a comment

Social Media

Stay up-to-date with our latest news - make sure to follow us on Social Media!