branchsbox/best-hostcancel

14 Commits over 0 Days - ∞cph!

2 Months Ago
Add server tags as LobbyInformation.Data
2 Months Ago
Remove this log
2 Months Ago
Some tidy up, improvements to algo
2 Months Ago
Convar
2 Months Ago
Multiplayer/networking project settings. Add option to change Destroy Lobby When Host Leaves and Auto Switch To Best Host. Defaults can be set in Project Settings but can be overriden via Lobby Config.
2 Months Ago
Some tidy up
2 Months Ago
Tests
2 Months Ago
Some cleanup - store current peer score
2 Months Ago
Fix sequence contains no elements
2 Months Ago
Periodically check if we're the best host candidate based on score - change owner if needed. When we are made the host, but we're still connecting, try to find another host candidate instead - if we can't find one then we can mark the lobby as toxic. Don't include self when trying to find best candidate in some situations. When SteamLobbySocket is disposed (we left or disconnected), try to find another candidate then also.
2 Months Ago
Remove debug stuff and improve host candidate scoring based on average ping and connection quality to other peers
2 Months Ago
Test convars
2 Months Ago
Some logging
2 Months Ago
Initial commit