Skip to content

onmatchmakermatched not triggered with matchMakerParty #207

@Laguigue

Description

@Laguigue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions