Skip to content

Fix lobbies always being discoverable by everyone briefly after lobby creation#850

Open
Fobri wants to merge 1 commit intoFacepunch:masterfrom
Fobri:master
Open

Fix lobbies always being discoverable by everyone briefly after lobby creation#850
Fobri wants to merge 1 commit intoFacepunch:masterfrom
Fobri:master

Conversation

@Fobri
Copy link
Copy Markdown

@Fobri Fobri commented Mar 29, 2026

I recently had an issue in my game where random people were able to join friends only lobbies uninvited.

This caused various issues, most notably someone made an automatic bot which would join any possible lobbies with a modded client to cause all sorts of issues, griefing random players' games.

The issue is, if you set the lobby type to invisible, it can still be seen by search queries, as is apparent in Steamworks docs:
k_ELobbyTypeInvisible: Returned by search, but not visible to other friends.

Even if you instantly change the lobby type after creation, it will still show up in search queries for a few seconds. This means that for any malicious party it is trivial to just keep spamming the search query and collect a list of all lobbies that have been created, and since friends only lobbies are joinable by anyone with the lobby id, this creates an issue.

After changing the lobby type to private on creation as per this commit, the issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant