jespertheend / splix

MIT License
21 stars 6 forks source link

Server list can be outdated #97

Open splixcord opened 10 months ago

splixcord commented 10 months ago

The client can have a live server list with a websocket to the servermanager, or fetch it every time the player goes back to the title screen The custom ws url should also get updated whenever the window location hash gets added, changed or removed without a refresh

jespertheend commented 10 months ago

I think this gets fixed by #90?

jespertheend commented 10 months ago

Oh sorry, I misinterpreted. A websocket with live player count info would be nice, but could also become an easy attack vector. I think refreshing the servers list every time the player goes back to the title screen would be good enough. It could also be refreshed when a connection to a gameserver fails.