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

onmatchmakermatched not triggered with matchMakerParty #207

Open
Laguigue opened this issue Oct 28, 2024 · 1 comment
Open

onmatchmakermatched not triggered with matchMakerParty #207

Laguigue opened this issue Oct 28, 2024 · 1 comment

Comments

@Laguigue
Copy link

I have one user that created a party and an other one that joins it.

The two users register to onmatchmakermatched hook:
socket.onmatchmakermatched = async (matched) => { const match = await socket.joinMatch(undefined, matched.token); };

The leader of the party add the matchMakerParty:

socket.addMatchmakerParty( party.party_id, *, 2, 2 );

The onmatchmakermatched (registered before calling addMatchmakerParty) is never triggered, so my two players can't join the match in that case. If i try without a party context with addMatchmaker, it works as expected.

(onpartymatchmakerticket is fired and gives the non-leader player a ticket, but i'm not sure how it's useful here)

I don't see any errors in the log of nakama server.. I'm running out of ideas

I use nakama server version 3.24.0 and nakama-js version 2.8.0

Copy link

linear bot commented Oct 28, 2024

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

No branches or pull requests

1 participant