Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Some QOL functions, steam_lobby_list_remove_filter, lobby_kick, lobby_ban #102

Open
RoyallGuards opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@RoyallGuards
Copy link

RoyallGuards commented Oct 30, 2024

Matchmaking
In my time using steam extension and testing out patterns, i've noticed that we can't remove filters, we can add them with the steam_lobby_list_add_*_filter functions but we can't remove them, only when we call steam_lobby_list_request(), our filters got removed after the request, so i'm doing some work around, request to remove filters, and then request again to make a no filter request, an way to remove those filters without needing to do a double request would be great!

Lobby
With my last issue, about adding the lobby_chat_update to the docs, i've noticed that there are a few more flags that can happen, that i didn't know.

1 for new connection on lobby, 2 for disconnect, 4 if the user disconnected without leaving the lobby first, 8 if the user has been kicked, 16 if the user has been kicked and banned.

====EDIT
On steamworks sdk they say that kick/ban are currently unused, so maybe we should add some kind of (Not implemented yet) for the other tags?

with my tests FLAG 1 for new connection and FLAG 2 for disconnect worked fine, but i didn't manage to get others FLAGS to work, and also we don't have a function to use the FLAG 8 and 16, so we can't kick someone from a lobby right? we need to send some sort of package requesting they to do a steam_lobby_leave(), the same thing with ban, IDK if this is something that has to be implemented here on the extension, or if this is something lacking in steam itself, but some functions like steam_lobby_kick(user_id) and steam_lobby_ban(user_id), and if we got bans, can we somehow unban someone? something like steam_lobby_ban_list() that returns an list of banned user_ids and steam_lobby_unban(user_id).
==========EDIT
as i look into steamworks sdk documentation, they lack the option to kick and ban someone, and they suggest to send a lobby chat message requesting user to leave, this kinda annoying but i think there's nothing we can do?

LobbyKicked_t
Currently unused! If you want to implement kicking at this time then do it with a special packet sent with ISteamMatchmaking::SendLobbyChatMsg, when the user gets the packet they should call ISteamMatchmaking::LeaveLobby.

we can make it all by ourselves, but still would be cool to have some sort of shortcut functions to do so, not necessary but would be cool :)
thanks for all the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants