Hi,
We’re currently using the bucketId in our Lobby sessions.
So far we’re setting the bucketId when we create the lobby session:
EOS_Lobby_CreateLobbyOptions Options = { 0 };
// only showing the bucketId setting, for simplicity.
Options.BucketId = "1234567x0"; // hardcoded value, just as an example.
Later, when we search for lobbies, everything works as expected if we match a single bucketId by using the EOS_CO_EQUAL operator.
On the other hand, if we try to match the bucketId against a list by using the EOS_CO_ANYOF operator, we’re getting no matches at all.
I’m adding a snippet of the Lobby Search Parameter Option used during the search ( with hardcoded values, just for simplification ).
EOS_LobbySearch_SetParameterOptions Option = { };
Option.ApiVersion = EOS_LOBBYSEARCH_SETPARAMETER_API_LATEST;
Option.Parameter.ApiVersion = EOS_LOBBY_ATTRIBUTEDATA_API_LATEST;
Option.Parameter.Key = EOS_LOBBY_SEARCH_BUCKET_ID;
Option.Parameter.Value.AsUtf8 = "1234567x0;1234567x1;1234567x2;1234567x3;1234567x4;1234567x5";
Option.Parameter.ValueType = EOS_AT_STRING;
Option.ComparisonOp = EOS_CO_ANYOF;
EOS_EResult RetVal = EOS_LobbySearch_SetParameter(LobbySearchHandle, &Option);
According to https://dev.epicgames.com/docs/epic-online-services/multiplayer/lobbies-and-sessions/lobby-interface/search-for-a-lobby, the delimiter for “EOS_CO_ANYOF” is semicolon, so that should not be the problem.
My guess is that someone bucketId attribute doesn’t allows EOS_CO_ANYOF for some reason, but I can’t find any information that can confirm that.
Additionally, I tried to do a search with “EOS_CO_ANYOF” but targeting just “1234567x0” ( instead of multiple bucketIds ) which doesn’t returns any match either.
We’re using EOS SDK 1.18.0.4.
Thanks in advance,
Alvaro