match:addRandomPlayer( userAlert )

Just to clarify how this works.

I understand it finds a user from the “random match queue” and then creates a match (if it finds a user  of course).

Just to be sure, if now another user triggers match:addRandomPlayer it will not add any of those two players paired before who are in a match now, it will eventually find another user from the queue not in a match yet.

In other words, once a match is created, the users involved in the match are removed from the “random match queue”.

Corona team, please confirm this.

Regards,

Damir.

Hi,

Basically Random match will match the 1st two players that have requested random opponents and add them to the match.

No other players are added to it.

Hope that clarifies it.

Thanks

-Mohamed

Hi Mohamed,

thank you for your reply.

That is exactly what we need, a 1:1 match.

What I can not understand is how you imagined to solve the scenario when a user is put in the "random match queue"

but then never shows up again?

There is no explicit API to remove him from the queue and if he is the creator of the match only he can delete it.

That means he would “forever” act as a false “magnet” to other users.

And as time passes there will be more and more such users.

I hope you have understood what I am talking about, not sure I have described it perfectly.

I have spoken with many developers and they are all agree that there must be a way to remove a user from the “random match queue”.

Regards,

Damir.

The way random opponent works is that at no point in time will there be more than just 1 request for random opponent.

This is because the minute another person requests a random opponent, they are immediately matched up.

-Mohamed

Hi,

Basically Random match will match the 1st two players that have requested random opponents and add them to the match.

No other players are added to it.

Hope that clarifies it.

Thanks

-Mohamed

Hi Mohamed,

thank you for your reply.

That is exactly what we need, a 1:1 match.

What I can not understand is how you imagined to solve the scenario when a user is put in the "random match queue"

but then never shows up again?

There is no explicit API to remove him from the queue and if he is the creator of the match only he can delete it.

That means he would “forever” act as a false “magnet” to other users.

And as time passes there will be more and more such users.

I hope you have understood what I am talking about, not sure I have described it perfectly.

I have spoken with many developers and they are all agree that there must be a way to remove a user from the “random match queue”.

Regards,

Damir.

The way random opponent works is that at no point in time will there be more than just 1 request for random opponent.

This is because the minute another person requests a random opponent, they are immediately matched up.

-Mohamed