Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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?
-
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
-
Hi Jean,
Any update on this?
Thanks!
-
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
-
Hi,
Just to double check, are you using RandomMatching for the matchmaking mode? else can you try with this mode?
Bye,
Jean
-
Yes it's set to random matchmaking, have you been able to reproduce?
-
Hi Jean,
Bumping this again, thanks for the support
-
Sorry to keep bothering - have you been able to look into this yet?
-
Hi,
yes, don't be sorry, I need the bumps! I'll try to testify this asap.
Bye,
Jean
-
Just a friendly monthly bump, need this action working! :'(
-
Hi,
Thanks :) must get on this!
Bye,
Jean
-
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
-
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
-
you need to give expected properties while creating room while joining room those properties have to match.