# FindMatch Same Time

**URL:** <https://forum.heroiclabs.com/t/findmatch-same-time/2874>\
**Category:** Runtime Framework\
**Tags:** server-framework, golang\
**Created:** [July 29, 2022, 10:05am UTC](https://forum.heroiclabs.com/t/findmatch-same-time/2874 "2022-07-29T10:05:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![b-thanapat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/b-thanapat/32/758_2.png) [@b-thanapat](https://forum.heroiclabs.com/u/b-thanapat)\
**Post date:** [July 29, 2022, 10:05am UTC](https://forum.heroiclabs.com/t/findmatch-same-time/2874/1 "2022-07-29T10:05:56Z")

</div>

Hi

I have some question about find match. find match rpc is implement to prevent player join room together. It also have a random matchId. so my problem is when two player call rpc find match in the same time together and then two player got same matchid cuz of this rpc does’t still know another player join room.

Please share your idea for me.

---

<div class="post-metadata">

**Author:** ![b-thanapat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/b-thanapat/32/758_2.png) [@b-thanapat](https://forum.heroiclabs.com/u/b-thanapat)\
**Post date:** [July 29, 2022, 12:27pm UTC](https://forum.heroiclabs.com/t/findmatch-same-time/2874/2 "2022-07-29T12:27:21Z")

</div>

I mean in situation of two players join the match simultaneously and they got a same match id. So, Do you have some suggestion for separate them to difference match id?

---

<div class="post-metadata">

**Author:** ![ftkg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/ftkg/32/1180_2.png) [@ftkg](https://forum.heroiclabs.com/u/ftkg)\
**Post date:** [July 29, 2022, 1:10pm UTC](https://forum.heroiclabs.com/t/findmatch-same-time/2874/3 "2022-07-29T13:10:51Z")

</div>

Hi @b-thanapat, can you clarify your use case and post your function code?  
Are you using client relayed or authoritative multiplayer? Are you creating the match manually or using the matchmaker?
