Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MABManZ on July 27, 2016, 07:50:39 AM

Title: Photon Join Room Expected Properties not working?
Post by: MABManZ on July 27, 2016, 07:50:39 AM
I'm attempting to set up a system to allow players to join/spectate matches that are already in progress.

However, if an in-progress match is joined, the other Photon instantiated players will immediately spawn - but on the wrong map/scene (the lobby scene rather than the arena).

I've looked at the lobby/room example in Playmaker and see that you must pause the message queue immediately upon joining the room, load the appropriate scene, and then resume. But my problem is that this should only happen if the "Spectate" room property is set to true, otherwise the player should sit in the room and wait for the match to start.

It appears that the "Expected room properties" action is ignored when joining a random room, as it will join any open room regardless of the "Spectate" value.

I also found it odd that the property cannot be set to a value, only to a variable. Am I missing something here?

Title: Re: Photon Join Room Expected Properties not working?
Post by: jeanfabre on July 27, 2016, 11:11:06 AM
Hi,

I'll try to repro this,

I'll also clean up the action so that it's not forced to variables, thanks for spotting this,

Bye

Jean
Title: Re: Photon Join Room Expected Properties not working?
Post by: MABManZ on August 06, 2016, 04:14:37 AM
Hi Jean,

Any update on this?

Thanks!
Title: Re: Photon Join Room Expected Properties not working?
Post by: jeanfabre on August 10, 2016, 10:20:37 AM
Hi,

 Not yet sorry, keep getting post pon with all the testing... Hopefully I'll be able to get that out of the door before next week

 Bye,

 Jean
Title: Re: Photon Join Room Expected Properties not working?
Post by: jeanfabre on August 11, 2016, 09:02:00 AM
Hi,

 Just to double check, are you using RandomMatching for the matchmaking mode? else can you try with this mode?

 Bye,

 Jean
Title: Re: Photon Join Room Expected Properties not working?
Post by: MABManZ on August 24, 2016, 08:24:42 PM
Yes it's set to random matchmaking, have you been able to reproduce?
Title: Re: Photon Join Room Expected Properties not working?
Post by: MABManZ on September 06, 2016, 03:06:04 AM
Hi Jean,

Bumping this again, thanks for the support
Title: Re: Photon Join Room Expected Properties not working?
Post by: MABManZ on November 10, 2016, 02:22:55 AM
Sorry to keep bothering - have you been able to look into this yet?
Title: Re: Photon Join Room Expected Properties not working?
Post by: jeanfabre on November 11, 2016, 03:24:53 AM
Hi,

 yes, don't be sorry, I need the bumps! I'll try to testify this asap.

Bye,

 Jean
Title: Re: Photon Join Room Expected Properties not working?
Post by: MABManZ on December 23, 2016, 04:08:07 AM
Just a friendly monthly bump, need this action working!  :'(
Title: Re: Photon Join Room Expected Properties not working?
Post by: jeanfabre on January 09, 2017, 03:06:48 AM
Hi,

 Thanks :) must get on this!

 Bye,

 Jean
Title: Re: Photon Join Room Expected Properties not working?
Post by: jeanfabre on January 11, 2017, 04:17:11 AM
Hi,

 ok, finally got around this and fixed it. Please get the latest version on the Ecosystem and you'll be able to match random rooms using custom properties.

 don't forget to expose these custom properties to the lobby

 Let me know how it goes. Sorry for the delay :)

Bye,

Jean
Title: Re: Photon Join Room Expected Properties not working?
Post by: human890209 on March 31, 2017, 11:30:22 PM
Hi, Jean.
I've noticed my random join problem lately.
How to expose custom room properties to the lobby?

---------------------------------------------
Found it here. First Time to Understand that ;)
http://hutonggames.com/playmakerforum/index.php?topic=4575.15
Title: Re: Photon Join Room Expected Properties not working?
Post by: rik on April 01, 2017, 12:13:10 AM
you need to give expected properties while creating room while joining room those properties have to match.