Detecting if a lobby server goes offline is available via checking the error string when TNLobbyClient.onChange fires...
How do you detect when the lobby server comes back online? If the lobby server has 0 servers TNLobbyClient.onChange doesn't fire and 'errorString' remains "Unable to connect".
In this case: I would expect onChange needs to fire and 'errorString' needs to be cleared.
Everything works fine if there are more than 0 servers connected to the lobby server...
Edit: errorString does not change from "Unable to connect" when 'list' changes from 0 to 1... not that it matters if list.size > 0 -- but still seems wonky that it's not cleared.
Lobby Server Status: online with 0 servers
>>> Pressing play:
TNLobbyClient.onChange:
errorString = ""
isActive = True
>>> Stop remote lobby server:
TNLobbyClient.onChange:
errorString = "Unable to connect"
isActive = True
>>> Start remote lobby server:
TNLobbyClient.onChange: (doesnt fire, vars remain unchanged)
errorString = "Unable to connect"
isActive = True