source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Matchmaking disabled for SDK 2013, (Lobbies system)

Open caposguanatos opened this issue 12 years ago • 3 comments

So.. i'm getting a k_EResultAccessDenied when trying to create a lobby with the appid of SDK 2013 (this is working if i use the appid 480 of spacewar but i get the overlay title of spacewar..)

http://steamcommunity.com/groups/steamworks/discussions/5/35219681689864174/

I hope this got fixed soon :)

Thank you

caposguanatos avatar Aug 03 '14 02:08 caposguanatos

I would guess that the SDK would need a special implementation for mod based lobbies instead of per AppID ones like steamworks usually does things, remember: It's not a good idea to make mods interfere with each other, be it cloud, workshop or matchmaking.

I think something like that was discussed briefly on the steamworks forums or even here.

It's possible to do it but is probably quite some work on valve's side to get it going, so expect some waiting on that.

neico avatar Aug 03 '14 04:08 neico

Is not hard to make a filter, just a few lines, you only need set a keydata per lobby and later using this key to filrer, for example:

steamapicontext->SteamMatchmaking()->AddRequestLobbyListStringFilter("mod", "mymoddir", k_ELobbyComparisonEqual);
SteamAPICall_t hSteamAPICall = steamapicontext->SteamMatchmaking()->RequestLobbyList();

OnLobbyCreated(LobbyCreated_t *pLobby, bool bIOFailure) { Msg("OnLobbyCreated = %d\n", pLobby->m_eResult);

steamapicontext->SteamMatchmaking()->SetLobbyData(pLobby->m_ulSteamIDLobby, "mod", "mymoddir");
steamapicontext->SteamMatchmaking()->SetLobbyData(pLobby->m_ulSteamIDLobby, "name", steamapicontext->SteamFriends()->GetPersonaName());

}

easy..

caposguanatos avatar Aug 05 '14 20:08 caposguanatos

I get the same error

bmk10 avatar Aug 30 '14 04:08 bmk10